www.fromthevalley.com.au

Setting Column Defaults

How to add a default value to a column within a table.

 

alter table <TABLE NAME> alter column  <COLUMN NAME>  set default '<VALUE>';

HOME |  AJAX |  APACHE |  Bizphone |  CSS |  DNS |  General |  Graphics |  HTML |  Hardware |  Javascript |  Linux |  MAC |  MS SQL |  Mail |  Microsoft |  OFFICE 365 |  Perl |  Postgres |  SEO |  Social Media |  VMware |  Windows 10