Here is what I found, names "message" and "options" are reserved words in SQLAnywhere. In order to use them in the SQL as column names you must enclose them in double quotes To create the pipe table use the following syntax CREATE TABLE dbmail.pipe( id NUMERIC(8, 0) IDENTITY NOT NULL, message_type VARCHAR(50) DEFAULT 'EMAIL' NULL, recipients VARCHAR(255) NULL, subject VARCHAR(255) NULL, "message" text null , "options" VARCHAR(255) NULL, reply_to VARCHAR(255) NULL, content_type VARCHAR(50) DEFAULT 'text/plain' NULL, priority SMALLINT DEFAULT 0 NULL, attachment_id NUMERIC NULL, PRIMARY KEY (id) ); After you create this table you can verify if its working by executing the following SQL INSERT INTO dbmail.pipe(message_type, recipients, subject, "message", reply_to) VALUE ('EMAIL', 'put your email here', 'test subject', 'test message', 'put your email here'); : Tomaz, : I will check with support and get back to you.
|