Ns dbquotename

From AOLserver Wiki
Revision as of 17:33, 7 October 2005 by Dossy (talk | contribs) (category link fixup)
(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