Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prg to increase the size of Numeric column
Message
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Prg to increase the size of Numeric column
Divers
Thread ID:
01687723
Message ID:
01687723
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform