Create table invalid syntax [message #194760] |
Mon, 25 September 2006 03:01 |
tores
Messages: 4 Registered: September 2006
|
Junior Member |
|
|
create table "abundance"
(
"abundanceID" Counter not null ,
"sampleID" LongInteger default 0 not null ,
"mesh" Double ,
"opening" Double ,
"filteredWater" Double ,
"depthFrom" Double ,
"depthTo" Double ,
"icefloraRadiation" Double default 0 ,
"icefLoraIceThickness" Double default 0 ,
"analysisDate" LongInteger default 0 ,
"analysisTime" LongInteger default 0 ,
"comment" Memo ,
primary key "abundanceID"
);
"mesh" Double ,
ORA-00905: missing keyword
What keyword is missing?
|
|
|
|
|
Re: Create table invalid syntax [message #194775 is a reply to message #194765] |
Mon, 25 September 2006 04:36 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Perhaps it is supposed to do what you've said, but, obviously, it does not. This is NOT a valid Oracle CREATE TABLE syntax, and that's it.
This is Oracle Create table command syntax, while this document talks about Oracle data types.
Just a tip: there's no data type like "counter" in Oracle - you'll have to simulate it using a sequence and a database trigger.
|
|
|