Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prg to increase the size of Numeric column
Message
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
Prg to increase the size of Numeric column
Miscellaneous
Thread ID:
01687723
Message ID:
01687723
Views:
36
Hi,
I have a table 'TableName' and column 'ColumnName' which is set in the DB as numeric(7,2).
When I run this query:
select * from INFORMATION_SCHEMA.columns where table_name = 'TableName' and column_name = 'ColumnName' 
I see all columns in the INFORMATION_SCHEMA. I am trying to determine which columns indicate the value (7,2).
The closest I find are NUMERIC_PRECISION which shows 7 and NUMERIC_SCALE is 2.

Are the above column actually show the value 7,2?

I am trying to run a PRG which will increase the column size to 12,2 and hence have this question.

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform