56"; 给我12,000,而我只想显示该查询的前100个 谢谢 最佳答案 st-6ren">
gpt4 book ai didi

c# - 仅显示一个选择的100个结果

转载 作者:太空宇宙 更新时间:2023-11-03 17:57:09 25 4
gpt4 key购买 nike

假设我只想显示一个sql查询的结果100

string str="select * tableA where id > 56";


给我12,000,而我只想显示该查询的前100个

谢谢

最佳答案

string str="select top 100 * tableA where id > 56";

关于c# - 仅显示一个选择的100个结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8145553/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com