Viewing 15 posts - 1 through 15 (of 15 total)
thanks, but that just returns 0 as the result
any more ideas
thanks
simon
November 9, 2011 at 9:30 am
Hi Jeff
thanks for your reply
i would want the data stored in seperate tables
thanks
Simon
November 11, 2009 at 1:52 am
Hi
Sorry for the delay
I have attached 3 sample files, its possible each one of these may be used
If the files were the same size each time i could do...
November 10, 2009 at 7:35 pm
Hi thanks for that
unfortunately i still get the same error
sorry if im missing something here
can you help?
thank you
simon
November 6, 2009 at 10:52 am
Hi
i have tried using BULK INSERT
using
set @string ='BULK INSERT CSVTest FROM ''\\10.1.2.107\rp_uploaded_files\'+@file+''' WITH (FIELDTERMINATOR = '','',ROWTERMINATOR = '''')'
exec (@string)
but this requires the destintation table to have the same number...
November 6, 2009 at 2:23 am
Hi
yes im using a 64bit sever
im having trouble locating to odbc drivers for this and can only find 32bit
can you point me in the right direction
thanks
simon
November 6, 2009 at 2:21 am
Thanks for that
i seem to be getting this error
OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver...
November 5, 2009 at 8:28 am
Hi thanks for that
i have tried
SELECT * into Mytable
FROM OPENROWSET (BULK '\\10.1.2.107\rp_uploaded_files\file.csv', SINGLE_CLOB) MyFile
but this puts all the data into one column and one row
what i need it for...
November 5, 2009 at 7:55 am
Hi
I think i had the wrong data like you suggested
i have changed it to
bcp "select fileoutput from [new_db]..[Invoice_Table] order by roworder" queryout c:\invoice\template\customer.html -c -T -SSQLCLUSTER -o c:\invoice\template\bcpOutput.txt
and it...
September 4, 2008 at 8:25 am
Hi
I tried as you suggested using
bcp "select fileoutput from [new_db]..[Invoice_Table] order by roworder" queryout c:\invoice\template\customer.html -c -T -SSQLCLUSTER\SSQLSERVER -o c:\invoice\template\bcpOutput.txt
but i now get the error
SQLState = 08001, NativeError =...
September 4, 2008 at 7:46 am
Hi
i have tried adding
-T
bcp "select fileoutput from [new_db]..[Invoice_Table] order by roworder" queryout c:\invoice\template\customer.html -c -o -T -SSQLCLUSTER\SSQLSERVER c:\invoice\template\bcpOutput.txt
but then i get the error
bcp: no output file specified: No...
September 4, 2008 at 5:49 am
Viewing 15 posts - 1 through 15 (of 15 total)