From 87bd1e8987ba216cb66f680094939cae333f2077 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Thu, 1 Apr 2010 09:29:21 +0000 Subject: OTP-8511 Timestamps in ODBC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now supports SQL_TYPE_TIMESTAMP on the format {{YY, MM, DD}, {HH, MM, SS}}. Thanks to Juhani Ränkimies. --- lib/odbc/doc/src/databases.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/odbc/doc/src/databases.xml') diff --git a/lib/odbc/doc/src/databases.xml b/lib/odbc/doc/src/databases.xml index 2c1b932084..9776736909 100644 --- a/lib/odbc/doc/src/databases.xml +++ b/lib/odbc/doc/src/databases.xml @@ -99,7 +99,7 @@

Note that when the value of the data to input is a string, it has to be quoted with '. Example:

-\011odbc:sql_query(Ref, "INSERT INTO EMPLOYEE VALUES(1, 'Jane', 'Doe', 'F')"). +odbc:sql_query(Ref, "INSERT INTO EMPLOYEE VALUES(1, 'Jane', 'Doe', 'F')").

You may also input data using param_query/[3,4] and then @@ -198,7 +198,7 @@ when p >= 16 SQL_TYPE_TIMESTAMP - String + {{YY, MM, DD}, {HH, MM, SS}} SQL_LONGVARCHAR @@ -262,8 +262,8 @@ when p >= 16 customers of that department.

CREATE PROCEDURE DepartmentInfo (@DepartmentID INT) AS -\011SELECT * FROM Employee WHERE department = @DepartmentID -\011SELECT * FROM Customers WHERE department = @DepartmentID + SELECT * FROM Employee WHERE department = @DepartmentID + SELECT * FROM Customers WHERE department = @DepartmentID -- cgit v1.2.3