Back to Browse

BCPExportImport

40 views
Jun 26, 2025
21:42

Using BCP to export imprt data. Scripts Set NoCount ON select 'bcp [' +schema_name(SCHEMA_ID) + '].[' + name + '] out d:\scripts\bcp\' + name + '.txt -n -d stackoverflow2013 -S .\SQLEC -T' from sys.tables where is_ms_shipped=0 ------------------- osql -S .\SQLEC -E -d stackoverflow2013 -i"D:\scripts\bcp\bcpcreate.sql" -o "D:\scripts\bcp\bcpRun.bat" -n -h-1 -w120

Download

1 formats

Video Formats

360pmp430.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

BCPExportImport | NatokHD