我需要有选择地(行和列)将大约 2000 万行从一个表导出到另一个表。这是我尝试过的:
--Run this in batch:
INSERT INTO Table 2
Select A, B from Table1
where A > a and B < b
---Table1 have columns A, B....Z and got around 50 million records.
大约需要 12 个小时才能完成。我不认为sybase 允许bcp out 与Table1 中的选择性列和行以及bcp in 到Table2。是否有可以使用的替代快速方法?如果能在 4 小时内完成,我会很高兴。
感谢您阅读。