summaryrefslogtreecommitdiff
path: root/libodbcpp/unittests/odbcschema.sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:04:15 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:06:07 +0100
commit274adf39c78bf9050ed34815a3472e9e418dd165 (patch)
tree4f45327778fefee7ceb849def04c3fdd66a7b297 /libodbcpp/unittests/odbcschema.sql
parentConnector compatibility fix (diff)
downloadlibdbpp-odbc-274adf39c78bf9050ed34815a3472e9e418dd165.tar.bz2
libdbpp-odbc-274adf39c78bf9050ed34815a3472e9e418dd165.tar.xz
libdbpp-odbc-274adf39c78bf9050ed34815a3472e9e418dd165.zip
ODBC mocking and tests from Project2
Diffstat (limited to 'libodbcpp/unittests/odbcschema.sql')
-rw-r--r--libodbcpp/unittests/odbcschema.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/libodbcpp/unittests/odbcschema.sql b/libodbcpp/unittests/odbcschema.sql
new file mode 100644
index 0000000..96848eb
--- /dev/null
+++ b/libodbcpp/unittests/odbcschema.sql
@@ -0,0 +1,8 @@
+CREATE TABLE test(
+ id int,
+ fl numeric(5,2),
+ string text,
+ boolean bool,
+ dt timestamp without time zone,
+ ts interval);
+INSERT INTO test VALUES(4, 123.45, 'some text', true, '2015-04-27 23:06:03', '1 day 14:13:12');