SQL Server Bulk Insert

后端 未结 7 1439
说谎
说谎 2021-01-19 05:54

I want to import a one column text file into one of my sql tables. The file is just a list of swear words.

I\'ve written the following TSQL to do this



        
7条回答
  •  逝去的感伤
    2021-01-19 06:22

    You could remove the identity column and put it back when you're done. Alternatively, if that breaks your database relationships, you could do the import using DTS or SSIS if it's a once off import -- more granular control of fiddling with columns

提交回复
热议问题