Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle Table : Cluster for Jentrata DB #48

Open
urspraveen2001 opened this issue Apr 27, 2018 · 2 comments
Open

Oracle Table : Cluster for Jentrata DB #48

urspraveen2001 opened this issue Apr 27, 2018 · 2 comments

Comments

@urspraveen2001
Copy link

Hi Team,

We are trying to test Jentrata with the Oracle DB and trying to create the schema using script "https://github.com/jentrata/jentrata-msh/blob/master/Dist/src/main/scripts/sql/oracle_ebms.sql" there was a table "Cluster" which is actually a reserved keyword in Oracle and we couldn't create a table with that. Can you please let us know how to proceed further using Jentrata with Oracle DB. We have a hard requirement to use Oracle alone.

Much appreciate your response here.

Thanks
Praveen Kalagarla

@aaronwalker
Copy link
Member

@urspraveen2001 have you tried putting the table name in in double quotes?

CREATE TABLE "cluster" (
	hostname varchar2(255),
	status varchar2(12),
	timestamp number,
	PRIMARY KEY (hostname)
);

@kumarkshiva
Copy link

All reserved words of Oracle can be seen in the Oracle view V$RESERVED_WORDS
for more information: https://docs.oracle.com/cd/B28359_01/appdev.111/b31231/appb.htm#CJHIIICD

Putting the table name in double quotes is the best option if you can not change the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants