All the table-definitions are held in tables: to view all objects:
select * from <db_name>..sysobjects where type = 'U'
Note, types: U = user-defined tables,
S = System Tables
V = Views
P = Stored procedures
To view information about each objects:
sp_help <object name>
for stored procedures,
sp_helptext <sp_name> extracts the full code behind the procedure.
Main Topics
Browse All Topics





by: TC2Posted on 2003-08-27 at 04:59:06ID: 9231530
on UNIX do
isql -U<userid> -P<password> -S<server> -D<database>
here are some other isql options:
X or EX=extract metadata
A=extract all metadata
E=echo
M=merge stderr with stdout
NOW=don't display warnings (from the engine)
NOA=no autocommit
O <ofile>=output file
I <ifile>=input file
T <term>=set terminator
D <db>=database name
PAG <len>=set page length
P <pw>=password
U <usr>=user
R <role>=role=> I found a bug here, the role is always uppercased
C <cache>=cache buffers
Q=quiet operations
Z=display version
S <dialect>=set SQL dialect