My Files
table has 3 columns:
ID int, FileName varchar(100), File varbinary(max)
I am trying to load a locally stored Excel file output.xlsx
into this Files
table using the BCP utility.
When I use the following command:
bcp TEST.dbo.files in C:\Users\Desktop\SampleTestFiles\OutputXULELogFiles\Test.xlsx -T -c
I get this error:
SQLState = S0002, NativeError = 208
Error = [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid object name 'TEST.dbo.files'.
SQLState = 37000, NativeError = 11529
Error = [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The metadata could not be determined because every code path results in an error; see previous errors for some of these.