Hello folks,I have very unusual situation in one column so if you could assist it would be great.First of all, I have linked server and I've used this command to get linked server:[code="sql"]EXEC sp_addlinkedserver @server = 'ExcelServer2', @srvproduct = 'Excel', @provider = 'Microsoft.ACE.OLEDB.12.0', @datasrc = 'C:\Test\excel-sql-server.xlsx', @provstr = 'Excel 12.0;IMEX=1;HDR=YES;'[/code]and it works!Now, one column has e.g. in first 120 rows number data and after that it has text data.Every time when I start some query in this column for text data I got "NULL".I have tried couple things and it seems that only solution is to manually put some letters in front of the numbers in excel file.But, if I need to put something manually what is the purpose of linked server? :-DAny idea how to resolve this?This is how column looks like:110110122105105106CALLCALLDATDATNAWand for text data I got "NULL" after any query.Thank you in advance.
↧