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 security

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-03-05 : 10:41:51
Bakr writes "Hi

I'm using bcp inside a sql server stored procedure. this bcp command is using login ID and password to connect to the database and copy some rows into a file.

I would like to know if it is possible to hide the login ID and password. I don't want to hard code them in the stored procedure.

Thank you for your help

Bakr Ben Ayad"

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-03-05 : 11:33:09
use trusted security.
-T parameter

Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -