读书人

又来有关问题了,关于Select top 变量的

发布时间: 2012-02-05 12:07:14 作者: rapoo

又来问题了,关于Select top 变量的问题
chaxunnumber 是字符串

sql="Select top "+QuotedStr(chaxunnumber)+" * from TABLE1";
// sql="Select top 2 * from TABLE1";
上面的语句里应该怎么改?

[解决办法]

探讨
chaxunnumber 是字符串

读书人网 >C++ Builder

热点推荐