Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.38/5 (4 votes)
Sometime that does work...
Sometime i did same but can't work.
I have no idea why.
please help me. how to query without an error...
thank you ^ ^
An error like this bellow..
<img src="http://www.uppic.org/thumb-BC2E_533D7862.jpg" border="0">
Posted
Updated 3-Apr-14 5:06am
v2
Comments
Andrius Leonavicius 3-Apr-14 11:18am    
SELECT * FROM Account; gives you this error: "Invalid object name 'log'"???
terzasek 3-Apr-14 11:20am    
yes! why is that?
sometime that does work.
Andrius Leonavicius 3-Apr-14 11:34am    
Advice regarding comments here: Next time use a "Reply" button to respond to a comment.

This is strange. SELECT * FROM log could cause such error because Log is the name of mathematical function. Maybe you were selecting data from a table "log" before? Anyway, try to enclose with square brackets:
SELECT * FROM [dbo].[Account];
SELECT * FROM [dbo].[log];
terzasek 4-Apr-14 7:26am    
Hi..my problem has been solved. because I tried same your suggest. Thank you very much ^ ^

1 solution

Have a look here: Error 208 (sql)[^]
 
Share this answer
 
Comments
terzasek 4-Apr-14 7:27am    
Thank you very much. The problem has been solved.
Maciej Los 4-Apr-14 10:25am    
You're welcome. Call back again ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900