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

又来问题了,关于Select top 变量的问题chaxunnumber 是字符串sqlSelect top +QuotedStr(chaxunnumber)+

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

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

[解决办法]

探讨
chaxunnumber 是字符串