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
 Works in Management Studio but not Toad
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MattC
Starting Member

USA
9 Posts

Posted - 12/20/2012 :  10:11:21  Show Profile  Reply with Quote
I have a simple query:

SELECT timezone_id,city_id,state_id
FROM city
WHERE (city_id = 'ANCHORAGE' AND state_id = 'AK')

in MS SQL Server Management Studio it returns:

timezone_id city_id state_id
US/Alaska, ANCHORAGE, AK

But in Toad it returns:

timezone_id city_id state_id
{null}, ANCHORAGE, AK

Notice that Toad returns a timezone value of "{null}" but Mgnt Studio return the correct value "US/Alaska"

Any ideas or suggestions?

Thanks in advance,
Matt

robvolk
Most Valuable Yak

USA
15688 Posts

Posted - 12/20/2012 :  10:31:07  Show Profile  Visit robvolk's Homepage  Reply with Quote
Are you sure they're both connected to the same database on the same server with the same login credentials? If so then you'd have to contact Quest and file a bug report.
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