Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 BCP error

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-12-01 : 08:33:33
Brundaban writes "I want to trap the BCP execution status value.it should return some value upon successful execution of bcp command otherwise some other value"

jezemine
Master Smack Fu Yak Hacker

2886 Posts

Posted - 2006-12-01 : 10:43:21
from a batch file, you can check the ERRORLEVEL returned by bcp.exe.


SqlSpec: a fast and comprehensive data dictionary generator for
SQL Server 2000/2005, Analysis Server 2005, Access 97/2000/XP/2003
http://www.elsasoft.org
Go to Top of Page
   

- Advertisement -