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
 General SQL Server Forums
 New to SQL Server Programming
 SQL Problem

Author  Topic 

aboyse
Starting Member

12 Posts

Posted - 2013-07-11 : 12:35:26
Guys,

I need help with this SQL code:

select *
from Hotel
where city = `Dublin`

It says that there is an error where Dublin should be...

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2013-07-11 : 12:58:55
Use other quotes designed for Microsoft SQL Server.

select * from Hotel where city = 'Dublin'



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -