-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Oracle Database 21 and higher objects to its own schema file for
ease of maintenance.
- Loading branch information
1 parent
1c0f626
commit 325f108
Showing
4 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/*----------------------------------------------------------------------------- | ||
* Copyright 2023, Oracle and/or its affiliates. | ||
* | ||
* This software is dual-licensed to you under the Universal Permissive License | ||
* (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License | ||
* 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose | ||
* either license.* | ||
* | ||
* If you elect to accept the software under the Apache License, Version 2.0, | ||
* the following applies: | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*---------------------------------------------------------------------------*/ | ||
|
||
/*----------------------------------------------------------------------------- | ||
* create_schema.sql | ||
* | ||
* Performs the actual work of creating and populating the schemas with the | ||
* database objects used by the python-oracledb samples. An edition is also | ||
* created for the demonstration of PL/SQL editioning. It is executed by the | ||
* Python script create_schema.py. | ||
*---------------------------------------------------------------------------*/ | ||
|
||
create table &main_user..CustomersAsJson ( | ||
id number(9) not null primary key, | ||
json_data json | ||
) | ||
/ |