SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
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  

Starting Member

12 Posts

Posted - 07/11/2013 :  12:35:26  Show Profile  Reply with Quote

I need help with this SQL code:

select *
from Hotel
where city = `Dublin`

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

Patron Saint of Lost Yaks

30408 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