dbTalk Databases Forums  

Automatic Document SQL query

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Automatic Document SQL query in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marco R.
 
Posts: n/a

Default Automatic Document SQL query - 01-12-2010 , 09:06 AM






Is There a Microsoft product for create an automatic "graphical report" by a
source code SQL, to rectify query and to view the fields and tables used by
query???

Thanks

Reply With Quote
  #2  
Old   
Rick Byham, MSFT
 
Posts: n/a

Default Re: Automatic Document SQL query - 01-12-2010 , 10:16 AM






I'm not entirely sure what you want, but I think you want this:
1. In SQL Server Management Studio, connect Object Explorer, expand your
server, expand Databases, expand your database, right-click Views, and then
click New View.
2. Either build your view (query), or if you have a query you want to see,
past the query into the third of the 4 panes (the SQL pane). When you move
out of the SQL pane your graphical query will show (if it doesn't have any
errors).
If you don't see the SQL pane, right-click anywhere, point to Pane, and then
click SQL.
--
Rick Byham, MSFT
(Implies no warranty or rights)


"Marco R." <Marco R. (AT) discussions (DOT) microsoft.com> wrote

Quote:
Is There a Microsoft product for create an automatic "graphical report" by
a
source code SQL, to rectify query and to view the fields and tables used
by
query???

Thanks

Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Automatic Document SQL query - 01-12-2010 , 04:01 PM



Marco R. (Marco R. (AT) discussions (DOT) microsoft.com) writes:
Quote:
Is There a Microsoft product for create an automatic "graphical report"
by a source code SQL, to rectify query and to view the fields and tables
used by query???
There is the Query Designer that Rick pointed to. But permit me to say
that this is a piece of crap. There is a lot of SQL syntax that it does
not support. There is all reason to stay away from it.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #4  
Old   
Marco Rossi
 
Posts: n/a

Default Re: Automatic Document SQL query - 01-13-2010 , 03:28 AM



It's not exactly what I want...
For example I would like the possibility of write comments in the objects,
I'd like to see the real result of query and not only the list of tables,
fields and links by them...I'd like use a standard SQL ambient and not SQL
server...
I have got a MSDN Premium License, Is there a product in this suite with
these funtions???

Thanks in advance.


"Erland Sommarskog" wrote:

Quote:
Marco R. (Marco R. (AT) discussions (DOT) microsoft.com) writes:
Is There a Microsoft product for create an automatic "graphical report"
by a source code SQL, to rectify query and to view the fields and tables
used by query???

There is the Query Designer that Rick pointed to. But permit me to say
that this is a piece of crap. There is a lot of SQL syntax that it does
not support. There is all reason to stay away from it.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

.

Reply With Quote
  #5  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Automatic Document SQL query - 01-13-2010 , 03:22 PM



Marco Rossi (MarcoRossi (AT) discussions (DOT) microsoft.com) writes:
Quote:
It's not exactly what I want...
For example I would like the possibility of write comments in the objects,
I'd like to see the real result of query and not only the list of tables,
fields and links by them...I'd like use a standard SQL ambient and not SQL
server...
I have got a MSDN Premium License, Is there a product in this suite with
these funtions???
Not that I know of.

As for writing comments into objects, SQL Server has a feature that
is called extended properties, where you can store comments about
tables, columns etc. But view all that data in a query? No.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.