index already exists
- From: Dave Brown <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Jul 2005 09:44:10 +0100
Hi All,
I'm not sure whether i'm running into a problem with hsqldb or more simply my understanding of SQL indexes is to pot.
I've got a number of table in a hsqldb, i.e DIVES, LOCATIONS
My Locations table as a column called Location_ID which is its primary key. The DIVES table also has a column called Location_ID, so I know at which location the Dives was at.
I want to create an index of the Location_ID in the dives table but when I do a "CREATE INDEX Location_ID on DIVES(Location_ID)"
I get back an "index already exists" error, it definately is NOT an index in the DIVES table. This is confusing me completely. I'm using DBVIsualizer as a GUI to maintain my HSQLDB tables.
Can anyone shed any light on why I'm getting this message back ?
Thanks,
Dave. .
- Follow-Ups:
- Re: index already exists
- From: Bjorn Abelli
- Re: index already exists
- Prev by Date: Re: [JDBC] Connection pooling
- Next by Date: Re: index already exists
- Previous by thread: metadata for Storedprocedure
- Next by thread: Re: index already exists
- Index(es):