Skip to content
Prev Previous commit
Next Next commit
Added a comment explaining this is a 12.1 script and a suggestion for…
… older versions.
  • Loading branch information
OsBlaineOra committed May 25, 2017
commit b4d4685fed5c1ae354882cd12c9305d2de456823
2 changes: 2 additions & 0 deletions python/CRUD-examples/createDBObjects.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# code Sample from the tutorial at https://learncodeshare.net/2015/06/02/basic-crud-operations-using-cx_oracle/
# The following creates and populates the tables used for the tutorial
# These scripts use identity columns available in Oracle 12.1. If you are using an older version you will need
# to add your own trigger/sequence functionality to generate the id values.

CREATE TABLE lcs_people (
id NUMBER GENERATED BY DEFAULT AS identity,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhere in the code base point out that the SQL scripts need Oracle DB 12.1 and/or show how to change them to work with 11.2

Expand Down