1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Fix examples: SQLServer demo SQL gave a warning about inserting ids on an identify column

This commit is contained in:
Allan Jardine 2014-09-22 10:50:24 +01:00
parent a8ce572cb3
commit e0a08d511b
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1 @@
85573b1022d367672c407eaa868dbe9dde73bf81
c521c1e280f5b0630cde0a6367c973438380d08c

View File

@ -18,6 +18,8 @@ CREATE TABLE datatables_demo (
PRIMARY KEY (id)
);
SET IDENTITY_INSERT datatables_demo ON;
INSERT INTO datatables_demo
( id, first_name, last_name, age, position, salary, start_date, extn, email, office )
VALUES
@ -77,4 +79,6 @@ INSERT INTO datatables_demo
( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ),
( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ),
( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ),
( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' );
( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' );
SET IDENTITY_INSERT datatables_demo OFF;