Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对这种事情很陌生。我正在做一个学校项目,需要能够从 sql 获取计数结果到变量。我正在使用 ADOQuery 来访问数据库。
用于计数的代码是:
qryDatabase.SQL.Text := 'COUNT * FROM tblKandidate';
但我不知道如何将此值分配给 Integer 变量。请。尝试坚持基础知识,因为我还不是很有经验。
谢谢你,罗宾