L
libaoliang
Unregistered / Unconfirmed
GUEST, unregistred user!
用insert into 语句向SQL 数据表中插入记录时,如何让其按照插入时的顺序排列?<br>如下面的代码:<br>adoquery1.close;<br>adoquery1.sql.clear;<br>adoquery1.sql.add('insert into bb1 select bm,xm,js from b1');<br>adoquery1.execsql;<br>adoquery1.close;<br>adoquery1.sql.clear;<br>adoquery1.sql.add('insert into bb1 select bm,xm,js from b2');<br>adoquery1.execsql;<br>adoquery1.close;<br>adoquery1.sql.clear;<br>adoquery1.sql.add('insert into bb1 select bm,xm,js from b3');<br>adoquery1.execsql;<br>实际上查看bb1中的数据记录时,其顺序并没有按照程序执行时的顺序排列,<br>或者说,其顺序有些混乱,怎样才能按照插入时的顺序排列?