Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Misleading error report
Sun, Jan 29 2006 9:13 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

I typed

CREATE INDEX IF NOT EXISTS "Name" ON "Memory\tmpfile" (_List;_Name);

ie with a ; rather than a ,

The error generated says there's a missing bracket

Roy Lambert
Sun, Jan 29 2006 7:12 PMPermanent Link

"Clive"
I assume thats because it thinks the end of the SQL statment was after
_List; , therefore it says missing bracket and it assumed ,_Name) was a new
SQL statement.

I reckon the error message is correct Smile


"Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message
news:A7407760-6BF4-4490-8115-BDE9389246CA@news.elevatesoft.com...
> Tim
>
> I typed
>
> CREATE INDEX IF NOT EXISTS "Name" ON "Memory\tmpfile" (_List;_Name);
>
> ie with a ; rather than a ,
>
> The error generated says there's a missing bracket
>
> Roy Lambert

Mon, Jan 30 2006 3:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Clive


Correct it may be - misleading it certainly is Smiley

Took me ages trying to find the missing ) and it wasn't until I tried in DBSys I figured out what was wrong

Roy Lambert
Mon, Jan 30 2006 8:00 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I typed

CREATE INDEX IF NOT EXISTS "Name" ON "Memory\tmpfile" (_List;_Name);

ie with a ; rather than a ,

The error generated says there's a missing bracket >>

Actually, it says that the right parentheses is missing, which is correct -
the semicolon is a statement termination character, hence it thinks that it
has reached the end of the statement without a closing parentheses for the
columns list.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jan 30 2006 9:18 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

OK I' defeated SmileyI forgot ; was the end of statement character. I wonder why Borland decided to have ; separated index field names? Answers on the back (or front) of used £20 notes to me please!


Roy Lambert
Image