🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #64

index creation & SIZE

#64
From: kdtc
Date: Thu, 01 Apr 1999 00:00
38 lines
1375 bytes
It's been some time since I've posted here.

Anyway...

I have datafiles that have the field name "SIZE".  
I used the CREATE TABLE command as follows:-

CREATE TABLE "STOCK" {;
      STOCKNUM    CHAR(6),;
      SIZE        NUMERIC(5,2),;
      ....[and other fields...]..)

     After that command, I issue the following commands:-

CREATE INDEX STOCKNUM ON "STOCK" (STOCKNUM)
CREATE INDEX SIZE ON "STOCK" (SIZE)
[...etc..]

It then gave me an Invalid keyword usage "SIZE".

I know for sure it's complaining about the "SIZE" keyword.
Even when I tried the following:-

CREATE INDEX "STOCK"."SIZE" ON "STOCK" (SIZE)

It still won't work.  

Can someone point out why it's complaining about the SIZE field,
and how I might be able to create an index for the "SIZE" field?

Any help appreciated.

Edmund



-- 
email : kdtc@netfront.net
Technical Details
Message-ID: <37030948.725A@netfront.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,2667815dbaeee323,start
X-Google-Attributes: gidff5a1,public
From: kdtc <kdtc@netfront.net>
Subject: index creation & SIZE
Date: 1999/04/01
Message-ID: <37030948.725A@netfront.net>
X-Deja-AN: 461447089
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: kdtc@netfront.nospam.net
Newsgroups: borland.public.vdbase.data.sql