试过:
string sql="export to staff.ixf of ixf select * from userid.staff";
comm=new OleDbCommand(sql,conn);
comm.ExecuteNonQuery();
但执行报错,说“export to 之后发现意外记号”…………
但这个语句放在DB2命令行处理器执行是毫无问题的。。
那应该怎么写?
...全文
1405打赏收藏
如何在程序中执行DB2数据导出?
试过: string sql="export to staff.ixf of ixf select * from userid.staff"; comm=new OleDbCommand(sql,conn); comm.ExecuteNonQuery(); 但执行报错,说“export to 之后发现意外记号”………… 但这个语句放在DB2命令行处理器执行是毫无问题的。。 那应该怎么写?