Red Gate forums :: View topic - Bug: Cross-database queries change "current" DB
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 5 EAP
SQL Prompt 5 EAP forum

Bug: Cross-database queries change "current" DB

Search in SQL Prompt 5 EAP forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
paschott



Joined: 10 May 2006
Posts: 61

PostPosted: Fri Aug 27, 2010 12:40 am    Post subject: Bug: Cross-database queries change "current" DB Reply with quote

Looks like when we do cross-database queries, SQL Prompt 5 loses some of the information or switches its DB context. When trying something like:

select *
from dbo.TableA as a
JOIN NotCurrentDB.dbo.TableB as b
ON a.ID = b.TableAID

SQL Prompt acts as if I'm currently using NotCurrentDB instead of whatever my current database actually is.

Running on SQL 2008 R2 SSMS - no updates / service packs
Server == SQL 2005 SP3
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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