Solved

table definition

Posted on 2006-11-28
1
1,034 Views
Last Modified: 2012-05-05
Hi

This is a noob question:
is there an equivalent of the sp_help sp in SQL that I can use on AS400? or anything like the sysobjects tables in SQL?
I am interested of a quick way of querying the table definitions from a query tool (like the SQL Scripts tool under ISeries navigator)

Cheers
Dani
0
Comment
Question by:daniel_balla
1 Comment
 
LVL 18

Accepted Solution

by:
daveslash earned 250 total points
ID: 18038313

SysTables holds high-level table information
SysColumns holds column-definition information for the tables
SysConstraints holds (as you would expect) constraint information'
SysRoutines holds info about stored procedures and functions

There are other SYS tables, but those are the one I use the most.

Alternately, if you have access to a command-line, you can use the old stand-by command DspFD.

HTH,
DaveSlash
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Start QSH command from CL 19 999
Where do I find forms on "Priniter' line in 36 proc?  ex: FORMSNO-30DY 2 99
DB2 CONCAT FAILING 4 107
Catalog Index 9 119
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now