In most cases, you can
use table names and column names that contain special characters,
including blank characters. When you use a column in your data query,
the data builder applies the n-literal syntax, such as 'table
name'n.'column name'n
, so that SAS can
use the column.
Rules for SAS names
apply. For more information, see “Names in the SAS Language”
in SAS Language Reference: Concepts.
The data builder does
not apply the n-literal syntax to code that you enter manually on
the Where tab or Having tab
or in column expressions. For example, if your table has a column
that is named quantity ordered
, then
you must add the n-literal syntax (similar to the following example):
AVG(table.'quantity ordered'n)