Viewing 7 posts - 1 through 7 (of 7 total)
In the end I got it to work. You were right, it was an issue with permissions on the c:\ but just simply not specifying a path didn't help.
I ended...
January 12, 2010 at 2:49 pm
actually i ran
EXEC master.dbo.xp_cmdshell 'bcp "SELECT FirstName, LastName FROM AdventureWorks.Person.Contact ORDER BY LastName, Firstname" queryout Contacts.txt -c -T -Usa -Ppw -S[TECH-01]'
and i am getting
SQLState = 08001, NativeError = 53
Error...
January 12, 2010 at 12:55 pm
Lowell (1/12/2010)
ok...how about the hyphen in the server name? wrap it in brackets?-TECH-01 to -[TECH-01]
Back to the original error. I think my settings are failing me.
January 12, 2010 at 12:51 pm
eliminating the c:\ still gives me the same error, I am however getting a new error when i run this:
Execute master.dbo.xp_cmdshell 'bcp "SELECT FirstName, LastName FROM AdventureWorks.Person.Contact ORDER BY LastName,...
January 12, 2010 at 12:43 pm
I was asking about why I needed to break the bulk insert as an output string of another SP.
also thanks for the correction in code 🙂
January 6, 2010 at 12:04 pm
Got it working after some research and effort it looks like this.
this is the SP that will be executed by the application
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[updateFingerPrints]
@bulkFile VARCHAR(MAX)
AS
drop table...
January 6, 2010 at 11:28 am
Viewing 7 posts - 1 through 7 (of 7 total)