Red Gate forums :: View topic - Confused Results
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Multi Script 1
SQL Multi Script 1 forum

Confused Results

Search in SQL Multi Script 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
JDS



Joined: 27 Oct 2006
Posts: 18

PostPosted: Wed Sep 10, 2008 9:25 pm    Post subject: Confused Results Reply with quote

Not sure if there is anything can be done about this but if the following query is executed

IF db_name() = '10063'
select 4,5,6

select 1,2,3

I get these results back
Results 1
DBCLUS1VSQL1\PROD01 10048 1 2 3
DBCLUS1VSQL1\PROD01 master 1 2 3
DBCLUS1VSQL2\PROD02 10063 4 5 6

Results2
DBCLUS1VSQL2\PROD02 10063 1 2 3
Back to top
View user's profile Send private message
dlkj



Joined: 14 Aug 2007
Posts: 151
Location: Red Gate Software, Cambridge

PostPosted: Thu Sep 11, 2008 9:44 am    Post subject: Reply with quote

Hi JDS,

I've run this script in both SQL Multi Script and SMMS. Both return the result you stated.

What results were you expecting to see?

Cheers,
--
Daniel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group