dp_sql_struct_execute

one of the documented procedures in this installation of the ACS
Usage:
dp_sql_struct_execute   db   sql_struct   table_name   db_op   { where_clause "" }
What it does:
Given a dp_sql_struct and a database operation (db_opp), performs the SQL. Currently, db_op is one of [ update | insert | update_or_insert ]
Defined in: /web/philip/tcl/data-pipeline-defs.tcl

Source code:


    switch -exact $db_op {
	update {
	    return [dp_sql_struct_do_update  $db $sql_struct $table_name $where_clause]
	}
	insert {
	    return [dp_sql_struct_do_insert  $db $sql_struct $table_name]
	}
	update_or_insert {
	    return [dp_sql_struct_do_update_or_insert  $db $sql_struct $table_name $where_clause]	    
	}
    }


philg@mit.edu