Solved

table definition

Posted on 2006-11-28
1
1,041 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
Dave Ford 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Gain an elementary understanding of Blockchain technology.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seveā€¦
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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