J jt11 Unregistered / Unconfirmed GUEST, unregistred user! 2008-06-12 #1 临时数据集怎样写入SQL Server2000的一个表中,有代码吗
H hanpengshan_00 Unregistered / Unconfirmed GUEST, unregistred user! 2008-06-12 #2 tmp1: TDataSet; <br>ds: TDataSet; //连接server2000中某一个表,并打开<br>tmp1.First;<br>while not tmp1.Eof do<br>begin<br> ds.append;<br> //把tmp1当前记录相关信息复制到ds中,ok<br> ds.post;<br> tmp1.next;<br>end;
tmp1: TDataSet; <br>ds: TDataSet; //连接server2000中某一个表,并打开<br>tmp1.First;<br>while not tmp1.Eof do<br>begin<br> ds.append;<br> //把tmp1当前记录相关信息复制到ds中,ok<br> ds.post;<br> tmp1.next;<br>end;
W ww0219 Unregistered / Unconfirmed GUEST, unregistred user! 2008-06-12 #3 将临时数据集的每条记录解析成一条Insert语句,批量提交至SQLServer2000。