aboutsummaryrefslogtreecommitdiff
path: root/bulk/mssql/auto/person.sql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-14 09:37:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:29:50 +0200
commit0d0e4b23176f0b55d7948ffef9b9ffdad6a95973 (patch)
treeb72d34281441dbd959fe48ec1d60117a17b29e37 /bulk/mssql/auto/person.sql
parent51a01cfebf933d270bf7b7fadb0fb3ca3b7a4cd5 (diff)
Draft implementation for INSERT
Diffstat (limited to 'bulk/mssql/auto/person.sql')
-rw-r--r--bulk/mssql/auto/person.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/bulk/mssql/auto/person.sql b/bulk/mssql/auto/person.sql
new file mode 100644
index 0000000..784d449
--- /dev/null
+++ b/bulk/mssql/auto/person.sql
@@ -0,0 +1,15 @@
+/* This file was generated by ODB, object-relational mapping (ORM)
+ * compiler for C++.
+ */
+
+
+IF OBJECT_ID('person', 'U') IS NOT NULL
+ DROP TABLE [person];
+GO
+
+
+CREATE TABLE [person] (
+ [id] BIGINT NOT NULL PRIMARY KEY IDENTITY,
+ [num] INT NOT NULL UNIQUE,
+ [str] VARCHAR(max) NOT NULL);
+GO