Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 Error: unexpected $end

Author  Topic 

andrew_sql
Starting Member

1 Post

Posted - 2008-11-26 : 11:10:22
Im trying to run this code:


select Catgory, Build_Name, Model_Category, Status
from Assets join categories using (CatID)
join Location using (Loc_ID)
join ModelLookup using (Asset_ModID)
join Status using (StatID)
group by Serial_Number;


and it returns the error:

"syntax error, unexpected $end, expecting BETWEEN or IN or SQL_TOKEN_LIKE"

Is there something wrong with my code?

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-12-03 : 05:10:44
Are you using MS SQL Server?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -