db_quote (public, deprecated)

 db_quote string

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Quotes a string value to be placed in a SQL statement. Use the built-in ns_dbquotevalue instead, which cares also about the surrounding quotes.

Parameters:
string (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) db_quote db_quote db_quote->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc db_quote
    regsub -all -- {'} "$string" {''} result
    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: