Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

raise error in bulk insert

Status
Not open for further replies.

hkung

Programmer
Jan 9, 2001
19
0
0
MY
hi all,

can bulk insert return a value to indicate whether it is executed successfully? do i have to use sp_executesql instead of just a simple calling by 'exec bulk insert...'?
i need to do something like raising an error in case bulk insert fail. can anyone provide me some guidance? thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top