473,554 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Table Documentor

I am sort of new to SQL. I use MS-Access most of the time so I do not know
if you can do this, but...

In MS-Access there was a tool called documenter that would list out the
table def's such as fields, sizes, data types, etc. Is there such a thing in
SQL?

I am using MS-SQL 2000 server.

Mike
m charney at dunlap hospital dot org
Oct 20 '05 #1
3 1885
Mike wrote:
I am sort of new to SQL. I use MS-Access most of the time so I do not know
if you can do this, but...

In MS-Access there was a tool called documenter that would list out the
table def's such as fields, sizes, data types, etc. Is there such a thing in
SQL?

I am using MS-SQL 2000 server.

Mike
m charney at dunlap hospital dot org


Check out the various INFORMATION_SCH EMA views, i.e., select * from
INFORMATION_SCH EMA.TABLES

Oct 20 '05 #2

"corey lawson" <co**********@a yeteatea.net> wrote in message
news:11******** *****@corp.supe rnews.com...
Mike wrote:
I am sort of new to SQL. I use MS-Access most of the time so I do not
know if you can do this, but...

In MS-Access there was a tool called documenter that would list out the
table def's such as fields, sizes, data types, etc. Is there such a thing
in SQL?

I am using MS-SQL 2000 server.

Mike
m charney at dunlap hospital dot org


Check out the various INFORMATION_SCH EMA views, i.e., select * from
INFORMATION_SCH EMA.TABLES


Using the following:

Select *
From INFORMATION_SCH EMA.TABLES

I only get the the table listings. I dont get the field names, sizes, etc.

How would I get those?

Mike
Oct 20 '05 #3
Mike (no***@forgetit .com) writes:
I am sort of new to SQL. I use MS-Access most of the time so I do not know
if you can do this, but...

In MS-Access there was a tool called documenter that would list out the
table def's such as fields, sizes, data types, etc. Is there such a
thing in SQL?

I am using MS-SQL 2000 server.
In Enterprise Manager there are some graphical utilities, you can start
looking for Diagrams.
Using the following:

Select *
From INFORMATION_SCH EMA.TABLES

I only get the the table listings. I dont get the field names, sizes, etc.

How would I get those?


These are in INFORMATION_SCH EMA.COLUMNS. The INFORMATION_SCH EMA views
are documented in Books Online.

Personally, I am more fond of using the system tables directly, as
INFORMATION_SCH EMA does not have all information, for instance,
there is no information about indexes.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

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

Oct 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2650
by: Xah Lee | last post by:
Here's the belated Java solution. import java.util.List; import java.util.ArrayList; import java.lang.Math; class math { public static List range(double n) { return range(1,n,1); }
5
33615
by: Jim Garrison | last post by:
Scenario: 1) Create a GLOBAL TEMPORARY table and populate it with one (1) row. 2) Join that table to another with about 1 million rows. The join condition selects a few hundred rows. Performance: 4 seconds, the system is doing a full-table scan of the second table, and the Explain Plan output
1
2203
by: jan | last post by:
Hello, I am new to this list and would appreciate some help with Access 2000 and Access 2003. I need to export our access database table statements by access database to place into our database model repository. We have several different relational databases, of which access is one, so we want to keep all of the SQL that creates tables in a...
2
1409
by: netcommander | last post by:
Hi, anyone used a 3rd party documentor that will extract the XML Comments from a ASP.NET 2.0 C# project into standalone documentation, e.g. in MSDN style format? You can't do it from within VS2005 for a web project :( Any links to the 3rd party sites etc would be appreciated. -- Go easy... I'm new in here.
7
4804
by: Kamal | last post by:
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the expandable row, the hidden row is made visible with css. The problem is when i sort the rows, the hidden rows get sorted as well which i don't want and want...
1
1622
by: infocaptor | last post by:
Hi Everybody, Using the show commands and information_schema tables, I have designed a dashboard for MySQL and that can also be used as a documentor for all MySQL objects. Its been tested only on the Sakila database. I would like some feedback from real databases. <link removed> Please send any feedback to <email removed> Thanks Nilesh
5
3825
by: wugon.net | last post by:
question: db2 LUW V8 UNION ALL with table function month() have bad query performance Env: db2 LUW V8 + FP14 Problem : We have history data from 2005/01/01 ~ 2007/05/xx in single big table, we try separate this big table into twelve tables and create a view
2
1442
by: Alex Eiswirth | last post by:
Hi, the Website of PHP Documentor seems to be down. It's been down for at least a week now. Anyone have idea what's going on? Thanks Alex Eiswirth http://www.eiswirth.de
5
4912
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums there are, it crashes. There are currently 6 columns, and I only want 4. How do I remove the last two (discount and date)? Here is a link:...
0
7812
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8051
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7574
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7894
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5162
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3579
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2026
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1145
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.