Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 INNER JOIN

Author  Topic 

Jillsy
Starting Member

20 Posts

Posted - 2006-01-30 : 13:54:13
Hello again, just a quicky - Are the results of an INNER JOIN stored anywhere permanently or is the definition stored in the system tables like a VIEW?

Jill

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-01-30 : 13:59:22
The results go to the client, which would be your application, Query Analyzer, or whatever. They are not stored anywhere else. The definition is not stored anywhere else unless you have the query in a view or a stored procedure.

Tara Kizer
aka tduggan
Go to Top of Page

Jillsy
Starting Member

20 Posts

Posted - 2006-01-30 : 14:07:33
Ta

Jill
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2006-01-30 : 14:09:33
Well, that's the right answer that Jill is looking for, however that's not true.

Dynamic SQL may end up having it's plan stored if it's executed enough times, and that data may end up residing in cache, such that if you did re-run the query it would appeared to have run "faster".

But Tara gave you what you were really looking for.



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page
   

- Advertisement -