Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database info

Status
Not open for further replies.

minoad

Programmer
Mar 28, 2001
138
US
Should be an easy one.
I am currently working with an SQL 7.0 DB. I have fallen into the "Evils" of enterprise manager, but i know need to access some info without the manager. In particular i need to get at the 'Precision' and 'Scale' properties of field y in Database x. Any ideas would be greatly appreciated.

Thanks
Micah A. Norman
 
look at the information_schema.columns view

the fields you are interested in are

table_name,
column_name,
numeric_precision,
numeric_scale.

BTW you will be alot better off asking this type of database specific quesiton in the Microsoft SQL Server forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top