SQL Statement Syntax

This topic summarizes the rules for using SQL statements.

SQL Naming Conventions

Table names and field names must contain a leading alphanumeric character. The following table shows the SQL naming conventions used in ADO for Windows CE.


Convention
Field and index names
Table names
Character length of name Between 1 and 64 characters Between 1 and 31 characters
Alphanumeric Yes Yes
Control characters (ASCII values 0 through 31) No No
Disallowed characters in name `. ! ’ [ ] " * ? `. ! ’ [ ] " * ?
Explicitly allowed characters None _ - + = , ; @ # $
Leading or trailing white space or periods No No
Interior spaces Yes Yes
Interior periods No No

Statement Form

String Use

White Space

Other Rules And Limits Of ADO CE