Difference between revisions of "Ns dbquotename"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 546)
 
m (category link fixup)
 
Line 27: Line 27:
 
: [[ns_dbquotevalue]]
 
: [[ns_dbquotevalue]]
  
----
+
[[Category:Documentation]]
 
+
[[Category:Core Tcl API]]
[[Category Documentation]] - [[Category Core Tcl API]]
 

Latest revision as of 17:33, 7 October 2005

Man page: http://aolserver.com/docs/tcl/ns_dbquotename.html


NAME

ns_dbquotename - Surround a name with double quotes if it contains a space.

SYNOPSIS

ns_dbquotename name

DESCRIPTION

This command surrounds name with double quotes if it contains a space. The resulting name can then be used in SQL statements for names of database objects such as tables or columns.

EXAMPLES

   % ns_dbquotevalue ColumnName
   ColumnName
   % ns_dbquotevalue "Column Name"
   "Column Name"

SEE ALSO

ns_dbquotevalue