db_get_quote_indices (private)
db_get_quote_indices sql
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
Given a piece of SQL, return the indices of single quotes. This is useful when we do bind var substitution because we should not attempt bind var substitution inside quotes. Examples:
sql return value {'a'} {0 2} {'a''} {} {'a'a'a'} {0 2 4 6} {a'b'c'd'} {1 3 5 7}
- Parameters:
- sql (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- db_get_quote_indices