Viewing 8 posts - 1 through 9 (of 9 total)
ffs, I did google!
stop responding back each time saying "did google them".
if you got nothing decent to say, I rather you don't respond!!!!
February 26, 2019 at 2:19 pm
ok so I managed to get it working by changing the directory from C: to D:
But still don't understand why it does not work with C:?
February 21, 2019 at 1:13 pm
did that and it still does not work.
same error Error = [Microsoft][ODBC Driver 13 for SQL Server]Unable to open BCP host data-file
February 21, 2019 at 1:08 pm
So I guess no one here knows the solution to my problem.
I am a newbie so I wouldn’t know but it’s sad to see no one can help.
February 20, 2019 at 4:41 pm
thanks Lowell for your detailed reply but unfortunately, it still not working.
Maybe I am doing something wrong but I tried moving the file into C:\Data but no luck.
February 19, 2019 at 2:51 pm
the link you included in your previous message I read already before I posted my query on here.
I didn't find that link useful to help me solve my problem,...
February 19, 2019 at 2:14 pm
I try executing the following declare @sql varchar(8000)
select @sql = 'bcp [sample].[dbo].[fams] out C:\Users\mp88_\OneDrive\Desktop\samplefile.txt -c -t, -T -S' + @@servername
exec master..xp_cmdshell @sql
but I...
February 19, 2019 at 1:57 pm
well obviously I did google it thank you very much before posting it on here!
February 19, 2019 at 1:44 pm
Viewing 8 posts - 1 through 9 (of 9 total)