Subject | SCRIPT ERROR |
---|---|
Author | nico_callewaert@pandora.be |
Post date | 2004-03-31T13:06:15Z |
Hi,
I don't know what's wrong with this script, but it generates a "Invalid CREATE, CONNECT or DROP DATABASE syntax" :
IF (SELECT RDB$RELATION_NAME
FROM RDB$RELATIONS
WHERE RDB$RELATION_NAME = 'TYPES') IS NULL THEN
CREATE TABLE TYPES (
T_CODE VARCHAR( 5 ) NOT NULL PRIMARY KEY,
T_OMSCHR VARCHAR( 40 ))
Any idea ?
Thanks a lot,
Nico
I don't know what's wrong with this script, but it generates a "Invalid CREATE, CONNECT or DROP DATABASE syntax" :
IF (SELECT RDB$RELATION_NAME
FROM RDB$RELATIONS
WHERE RDB$RELATION_NAME = 'TYPES') IS NULL THEN
CREATE TABLE TYPES (
T_CODE VARCHAR( 5 ) NOT NULL PRIMARY KEY,
T_OMSCHR VARCHAR( 40 ))
Any idea ?
Thanks a lot,
Nico