Check your IDQUOTES setting.
Albert

MDRD wrote:
Sorry to be so dense today.....
I created the 3 column index on a test DB
Unload the structure of that table
Copy and paste the Index code to run on the live DB
CREATE     INDEX SxTC ON `TravCard` +
(`TxDate` ASC , +
`sympt1` ASC , +
`Subjx` ASC )

Syntax error, how is that possible, when I cut and pasted it from the Unload Structure output?
Marc


--------------------------------------------------
From: "Albert Berry" <[email protected]>
Sent: Wednesday, July 14, 2010 11:05 AM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - Re: How to make this Delete command faster

Try putting a compound index on the table.

CREATE INDEX travcarddelete ON travcard (txDate, sympt1, subx)

Albert

MDRD wrote:
Hi
This command takes too long when we run it from a workstation but I can not think of any way to speed it up.
 txdate is Indexed
symptom is Text 150 no Index  we will not search on this column
subjx is Varchar no Index and we will not search on this column either
 DELETE ROWS FROM travcard +
 WHERE txdate = .#DATE AND sympt1 IS NULL AND subjx IS NULL
any suggestions?
 Thanks
Marc








Reply via email to