开发者

SQL Server Table Dump - Not All Columns

I'm trying to do an SQL Server dump of a couple of tables in a database (Microsoft SQL Server). We don't have write access to the DB, so we can't do what I was originally thinking (create temp db, copy tables (minus the columns we don't want into the temp db, and then dump that db). I really can't figure out a way to do this.

A csv export doesn't work (it's almost impossible to p开发者_运维百科ut the data in the correct fields b/c of newlines).

Any tips?


Bulk Copy is your friend


Either bulk copy, or create a DTS (or SSIS) package that exports to a MS Access database. In access, all the line breaks will be preserved within their corresponding text fields.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜