xo::db::require proc not_null (public)
xo::db::requirenot_null [ -table table ] [ -col col ]
Defined in /var/www/openacs/packages/xotcl-core/tcl/05-db-procs.tcl
Add a NOT NULL constraint if the column does not already have one.
- Switches:
- -table (optional)
- Table to alter.
- -col (optional)
- Column name.
- Testcases:
- xotcl_core_tutorial_2
![[i]](/resources/acs-subsite/ZoomIn16.gif)