Hi,
I want to query in an excel file but first headlines has dot. So column names with dots and I couldnt get search anything, it is getting erro. How may use these column names in sql query?
SELECT * FROM [Sheet1$A:W] WHERE ([Sheet1$].[column.1] LIKE '%" + textBox1.Text + "%')
Loading
NitRiX ReloadedPosted Oct 2, 2012, 8:46 AM
Under score is a valid syntax. But '.' typically we use it to distinguish between two [schema].[table].[column] like that.
Suggest renaming the excel columns.