1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-30 23:52:11 +01:00

DEV updated oracle stuff so create valid syntax for 12.2.0.1

This commit is contained in:
Allan Jardine 2019-10-01 12:57:41 +00:00
parent 45a6b4e04f
commit d3d68f7e85
3 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
17d5e5b443f5dc70b746b2b25541546b82813cec
ff9cb8106ac92b1b797f2730d63cb57f53f59366

View File

@ -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,

View File

@ -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 );