Re: business users services
Posted by:
Rick James
Date: September 25, 2014 04:07PM
I always CREATE TABLE _without_ giving a width for INT. SHOW CREATE TABLE always comes back _with_ a width.
I believe the only reason for explicitly saying a width is if you also say ZEROFILL, which is a rarely used option.
DECIMAL needs the width and precision.
FLOAT/DOUBLE have an optional precision, but almost always it should _not_ be specified.
VARCHAR/VARBINARY require a width.
Those that require it, use it to specify the encoding in the rows. Those that should not have it, use it for other purposes.
Subject
Written By
Posted
September 03, 2014 01:55AM
September 05, 2014 01:22PM
September 22, 2014 11:43AM
Re: business users services
September 25, 2014 04:07PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.