Unix Technical Forum

Just being curious

This is a discussion on Just being curious within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi Group It's a rainy day and because of pure boredom have right-clicked a row in EM and selected ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 08:51 AM
theintrepidfox@hotmail.com
 
Posts: n/a
Default Just being curious


Hi Group

It's a rainy day and because of pure boredom have right-clicked a row
in EM and selected 'Properties'.

Just being curious what the dialog coming up is all about (call me
ignorant!) and where I can find more information (Keyword?)in BOL?

One thing I wonder however and maybe someone can answer this question
is that this dialog suggests that a table is nothing more than a query
and not a physical representation of data? I'm not an SQL expert and
thought data is stored in 'pages' and that those pages are the actual
tables? I got this idea as on the 'Query' tab, the table name is listed
as 'Query Name'.
However, if it's a query, I should be able to just type the table name
in Query Analyzer (like calling a system sp) and execution should
return the table data which it doesn't but says it's a table object?
But then again, the table object must be based on a query?

Just wondered.

Thanks for your thoughts!

Martin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 08:51 AM
Erland Sommarskog
 
Posts: n/a
Default Re: Just being curious

(theintrepidfox@hotmail.com) writes:
> It's a rainy day and because of pure boredom have right-clicked a row
> in EM and selected 'Properties'.
>
> Just being curious what the dialog coming up is all about (call me
> ignorant!) and where I can find more information (Keyword?)in BOL?


You clicked which row? There are many Properties dialogs in Enterprise
Manager.

> One thing I wonder however and maybe someone can answer this question
> is that this dialog suggests that a table is nothing more than a query
> and not a physical representation of data?


A table is not a query. But there is some funny command in EM "Open
Table" where you can view, insert and update data without typing
any queries yourself. EM will create those queries for you.




--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 08:51 AM
theintrepidfox@hotmail.com
 
Posts: n/a
Default Re: Just being curious

Hello Erland

Thanks for your answer and sorrry to everyone for posting twice.
Accident.
I clicked any row . SQL 2000. And as I noticed, there's a Help button
that explains some of the features. Feeling pretty stupid now.

But still, is a table object just a query which displays data in some
logical (to the user) format and if yes, where are the queries stored
that underlay the table object? Just being curious. Is there any
reading you can recommend on that topic?
Thanks by the way for the very good information on your website,
dynamic SQL in specific. Very helpful.

Martin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 08:51 AM
Stu
 
Posts: n/a
Default Re: Just being curious

Martin,

When you open a table in Enterprise Manager, you are actually opening a
query against that table in the Enterprise Manager Query Designer. A
table is a a table; there are no queries underlying a table object.
What the properties refer to in this scenario is the query being run
against the table in the Enterprise Manager.

Hope that helps clarify the confusion.
Stu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-29-2008, 08:51 AM
theintrepidfox@hotmail.com
 
Posts: n/a
Default Re: Just being curious

Thanks Stu!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com