mirror of
https://github.com/dg/dibi.git
synced 2025-08-23 14:14:01 +02:00
SqlsrvDriver::applyLimit(): fixed limit and offset behaviour for odbc 11+
SqlsrvReflector: changed constrains metadata loading from INFORMATION_SCHEMA to sys schema to get complete list of all constraints, not PK only
This commit is contained in:
@@ -8,6 +8,7 @@ CREATE TABLE products (
|
||||
title varchar(50) NOT NULL,
|
||||
PRIMARY KEY(product_id)
|
||||
);
|
||||
CREATE INDEX [title] ON [dbo].[products] ([title]);
|
||||
|
||||
SET IDENTITY_INSERT products ON;
|
||||
INSERT INTO products (product_id, title) VALUES (1, 'Chair');
|
||||
|
Reference in New Issue
Block a user