This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes oracle syntax Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "oracle syntax" Watch "oracle syntax" New topic
Author

oracle syntax

Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I am new to oracle and sql in general, I received an oracle create schema that needs to be converted using non-oracle syntax.

What does the following syntax mean?



Any information would be greatly appreciated.

Thanks.
Martin Vajsar
Bartender

Joined: Aug 22, 2010
Posts: 2329
    
    2

Post the whole command. Oracle's syntax is pretty rich and this excerpt doesn't look just right to me. You might also want to consult the documentation.
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
NUM_ACTION_CODES(1:5) char(20) NULL




Martin Vajsar
Bartender

Joined: Aug 22, 2010
Posts: 2329
    
    2

I'm sorry, I won't be able to help. It is giving syntax error to me (version 10g) and I can't find anything like it in the documentation, not even in 11g.

Are you absolutely sure this was successfully run on Oracle sometime? As far as I know, all Oracle features are documented, even those that are optional, and I don't see place for parenthesized numbers delimited by colon between the column name and data type in any of the syntax diagrams.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

It looks like some kind of check constraints (just guessing), but in Oracle the notation is different:


I've never seen your notation.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: oracle syntax
 
Similar Threads
LockMode.UPGRADE produces false sql ?
[ODBC driver for Oracle][Oracle]ORA-00907 Error
getting the last inserted value
modifying table
Pagination