| Home | About FairCom | Products | Support | Sales | Contact Info | Site Map | Download | Newsletter |

Company Overview
History
Our Customers
Success Stories
Contact Information
Why FairCom
FairCom Logos
Press Releases
Customer Quotes
Site Map
Read the Dr. Dobb's Journal article on cross-platform database Programming
Read HP WORLD's article on the c-tree Server
Read the Linux Journal review on c-tree Plus
FairCom Brochure
 
 

Quotable Tip for c-treeSQL Reserved Words

Many times a c-treeSQL application developer chooses a logically apt column name, however, this name just happens to collide with a c-treeSQL reserved word. What should you do?

Quote them! Surrounding any c-treeSQL identifier in double quotes ensures they are properly interpreted as a table name, column name, or other identifier.

Example:

CREATE TABLE "version" ("character" VARCHAR(10), "hour" VARCHAR(10));
 
INSERT INTO "version" VALUES ("Cinderella", "midnight");
 
SELECT "character", "hour" FROM "version";

To ensure your application is always prepared for future versions of c-treeSQL it could be considered prudent to always quote identifiers, thus avoiding issues with future reserved words.

Here's a complete list of Version 8.14 c-treeSQL Reserved Words.


 
Thanks for your assistance through out the year. Faircom as a company has an exceptional culture that I've never seen any where else.

Alan Taylor
Manager, Altor Software

 
WEB COMMENTS
Copyright 2006 FairCom Corporation. All rights reserved.