July 19, 2010 at 4:45 pm
Hi everyone,
nothing happens when I run this in command prompt:
bcp CRIS_IST.dbo.Blaze69Repository in blazerepo.cris.bcp -T -c -SLUWZD5584 -Uroger -Proger
the table isn't getting loaded with the data which is in blazerepo.cris.bcp.
How do i resolve this?
Thanks.
July 19, 2010 at 4:50 pm
Never mind...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2010 at 4:52 pm
sunny.tjk (7/19/2010)
Hi everyone,nothing happens when I run this in command prompt:
bcp CRIS_IST.dbo.Blaze69Repository in blazerepo.cris.bcp -T -c -SLUWZD5584 -Uroger -Proger
the table isn't getting loaded with the data which is in blazerepo.cris.bcp.
How do i resolve this?
Thanks.
What are the message(s) you receive?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2010 at 4:55 pm
Nothing. A window flashes for a milli sec..I'm not able to find what the exact error is...
Does the command look ok to you?
July 19, 2010 at 4:58 pm
What happens if you just enter:
bcp -v
July 19, 2010 at 8:42 pm
Provide complete path for the input file under double quotes.
bcp CRIS_IST.dbo.Blaze69Repository in "c:\...\...\blazerepo.cris.bcp" -T -c -SLUWZD5584 -Uroger -Proger
July 20, 2010 at 7:27 am
you can use -o to write to an output file and -e to write to an error file. This will give you some idea as to what is happening. You can also run the BCP command from a command line instead of a batch file, then you can see some of what is going on as well. Finally, you are using -T which is for a trusted connection, but then you are passing UserID and Password paramters. You don't need the -U and -P parms if the Trusted Connection is good
For better, quicker answers, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 20, 2010 at 9:05 pm
Both Sumit and Mike have some good pointers for getting this working.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply