muthukkumaran Kaliyamoorthy
SSCoach
Points: 19026
More actions
May 24, 2011 at 2:30 am
#1328877
river1 (5/24/2011)Hi,I have imported data from excel to SQL Server. SQL created a table named sheet1$ and now i can't make the select from it.It seems that i can not select from tables where name like $.Can you please help?Thank you
river1 (5/24/2011)
I have imported data from excel to SQL Server. SQL created a table named sheet1$ and now i can't make the select from it.
It seems that i can not select from tables where name like $.
Can you please help?
Thank you
try using square bracket [sheet1$]
Muthukkumaran Kaliyamoorthyhttps://www.sqlserverblogforum.com/
homebrew01
SSC Guru
Points: 55566
May 24, 2011 at 11:01 am
#1329257
You could rename the table to something more useful.
And next time you import from Excel, you get an opportunity in the wizard to give the table a proper name.
Viewing 2 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply