db_write_clob (public)
db_write_clob [ -dbn dbn ] statement_name sql [ args... ]
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
- Switches:
- -dbn (optional)
- The database name to use. If empty_string, uses the default database.
- Parameters:
- statement_name (required)
- sql (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_arg_parser { bind } $args set proc_name {db_write_clob} set driverkey [db_driverkey $dbn] # TODO: Below, is db_qd_get_fullname necessary? Why this # difference between Oracle and Postgres code? # --atp@piskorski.com, 2003/04/09 10:00 EDT switch -- $driverkey { oracle { set full_statement_name [db_qd_get_fullname $statement_name] db_with_handle -dbn $dbn db { db_exec write_clob $db $full_statement_name $sql } } postgresql { db_with_handle -dbn $dbn db { db_exec write_clob $db $statement_name $sql } } nsodbc - default { error "$proc_name is not supported for this database." } }XQL Not present: Generic, PostgreSQL, Oracle