Solved

Easy BCP question

Posted on 2002-03-21
4
683 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
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 UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now