bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Mon Apr 05, 2004 9:31 am Post subject: |
|
|
Hi,
YEAR for example is an reserved word in DB2. If you have an table with a column YEAR you should code for example
INSERT INTO <tablename> "YEAR", FIELD1, FIELD2.... VALUES ('2004', '...........)
Use the double quote to specify the fields names in SELECT. UPDATE, INSERT .... statements. |
|