SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aboyse
Starting Member

12 Posts

Posted - 07/11/2013 :  12:35:26  Show Profile  Reply with Quote
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

Sweden
30101 Posts

Posted - 07/11/2013 :  12:58:55  Show Profile  Visit SwePeso's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000