Solved

Easy BCP question

Posted on 2002-03-21
4
688 Views
Last Modified: 2012-05-04
I just can't seem to remember the correct way to do BCP using trusted connection (NT Authentication).  I checked BOL and all the examples I ever see always have -U and -P.  Does anyone have the syntax?  Do I just exclude them (this doesn't seem to work for me).

Thanks
0
Comment
Question by:dtomyn
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
trouta earned 50 total points
ID: 6888947
I believe it is -T for a trusted connection, if unsure just type 'bcp /?' at the command line and it will display the command line parameters.
0
 
LVL 5

Author Comment

by:dtomyn
ID: 6888965
no, that's not it... -T is [text or image size]
0
 
LVL 4

Expert Comment

by:aponcealbuerne
ID: 6889116
bcp DataBase..Table out filename.dat -c -T

(-T) definitively is Trusted Connection at least in MS SQL 7.0

hope helps
0
 
LVL 5

Author Comment

by:dtomyn
ID: 6889421
I'm on SQL 2000... I'm just going by what the command prompt says when I type it in...

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Whats wrong in this query - Select * from tableA,tableA 11 31
Find results from sql within a time span 11 32
SQL Error - Query 6 26
access query to sql server 3 20
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question