Ns dbquotename

From AOLserver Wiki
Revision as of 04:35, 22 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 546)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Category Documentation - Category Core Tcl API