attribute::datatype_to_sql_type (private)

 attribute::datatype_to_sql_type [ -default default ] table column \
    datatype

Defined in packages/acs-subsite/tcl/attribute-procs.tcl

Returns the appropriate sql type for a table definition based on the table, column, datatype, and default value. Note that for default values, this proc automatically generates appropriate constraint names as well.

Switches:
-default
(optional)
If specified, we add a default clause to the SQL statement
Parameters:
table
column
datatype
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000

Partial Call Graph (max 5 caller/called nodes):
%3 attribute::add attribute::add (public) attribute::datatype_to_sql_type attribute::datatype_to_sql_type attribute::add->attribute::datatype_to_sql_type plsql_utility::generate_constraint_name plsql_utility::generate_constraint_name (public) attribute::datatype_to_sql_type->plsql_utility::generate_constraint_name

Testcases:
No testcase defined.
[ show source ]
Show another procedure: