Ns dbquotename

From AOLserver Wiki
Jump to: navigation, 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