R
R
Rinat Bakiev2014-12-23 14:53:26
MySQL
Rinat Bakiev, 2014-12-23 14:53:26

How to change field type decimal?

Hello!
There is a table with a field whose type is decimal(8,2). Can you please tell me how to change it to type decimal(14,2)? Level of knowledge: none. The programmer sleeps off, but the problem needs to be solved :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2014-12-23
@bakiev

ALTER TABLE `tablename` CHANGE `fieldname` `fieldname` DECIMAL( 14, 2 ) NOT NULL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question