DEFAULT(col_name) : DEFAULT : Miscellaneous Functions MySQL TUTORIALS


MySQL TUTORIALS » Miscellaneous Functions » DEFAULT »

 

DEFAULT(col_name)


Returns the default value for a table column.

UPDATE t SET i = DEFAULT(i)+WHERE id < 100;



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Miscellaneous Functions
» DEFAULT