From d3d68f7e858dcdfcbd9b2cb2ece03e3294875545 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Tue, 1 Oct 2019 12:57:41 +0000 Subject: [PATCH] DEV updated oracle stuff so create valid syntax for 12.2.0.1 --- .datatables-commit-sync | 2 +- examples/server_side/scripts/firebird.sql | 2 +- examples/server_side/scripts/oracle.sql | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index b9443d75..f3d8fc90 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -17d5e5b443f5dc70b746b2b25541546b82813cec +ff9cb8106ac92b1b797f2730d63cb57f53f59366 diff --git a/examples/server_side/scripts/firebird.sql b/examples/server_side/scripts/firebird.sql index b352b401..50c9bc21 100644 --- a/examples/server_side/scripts/firebird.sql +++ b/examples/server_side/scripts/firebird.sql @@ -1,5 +1,5 @@ -- - -- DataTables Ajax and server-side processing database (Oracle) + -- DataTables Ajax and server-side processing database (Firebird 3) -- CREATE TABLE "datatables_demo" ( "id" integer generated by default as identity primary key, diff --git a/examples/server_side/scripts/oracle.sql b/examples/server_side/scripts/oracle.sql index 7c3d44de..4406a2f1 100644 --- a/examples/server_side/scripts/oracle.sql +++ b/examples/server_side/scripts/oracle.sql @@ -5,6 +5,7 @@ BEGIN EditorDelObject('datatables_demo', 'TABLE'); EditorDelObject('datatables_demo_seq', 'SEQUENCE'); END; +/ CREATE TABLE datatables_demo ( id INT PRIMARY KEY NOT NULL, @@ -30,6 +31,7 @@ CREATE OR REPLACE TRIGGER datatables_demo_on_insert INTO :new.id FROM dual; END; + / INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Tiger', 'Nixon', 61, 'System Architect', 320800, '25-Apr-2011', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ); INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Garrett', 'Winters', 63, 'Accountant', 170750, '25-Jul-2011', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ); INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '12-Jan-2009', 1562, 'a.cox@datatables.net', 'San Francisco', 6 );