Module reference
bcp Import Exercise: Model Answer
bcp accounting.dbo.employees in "C:\data\emp.txt" -S SRV1 -T -cRun this in a Windows terminal with bcp installed. The input path belongs to that machine. The target table must already exist and match the file layout. -T selects integrated authentication; -c selects character format.
- Correct target: accounting.dbo.employees (4 points).
- Import direction and quoted file path (4 points).
- SRV1 selected with -S (4 points).
- -T and -c options (4 points).
- Check process status, rejected rows, and destination data before accepting or retrying the load (4 points).
No completion credit is automatically recorded. Return to the exercise.