From 87bd1e8987ba216cb66f680094939cae333f2077 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin Note that when the value of the data to input is a string, it
has to be quoted with You may also input data using
-\011odbc:sql_query(Ref, "INSERT INTO EMPLOYEE VALUES(1, 'Jane', 'Doe', 'F')").
+odbc:sql_query(Ref, "INSERT INTO EMPLOYEE VALUES(1, 'Jane', 'Doe', 'F')").
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
diff --git a/lib/odbc/doc/src/getting_started.xml b/lib/odbc/doc/src/getting_started.xml
index 864c3a7b65..d543ef64d6 100644
--- a/lib/odbc/doc/src/getting_started.xml
+++ b/lib/odbc/doc/src/getting_started.xml
@@ -4,7 +4,7 @@
6 > odbc:param_query(Ref,"INSERT INTO EMPLOYEE (NR, FIRSTNAME, "
-\011 "LASTNAME, GENDER) VALUES(?, ?, ?, ?)",
-\011 [{sql_integer,[2,3,4,5,6,7,8]},
-\011 {{sql_varchar, 20},
+ "LASTNAME, GENDER) VALUES(?, ?, ?, ?)",
+ [{sql_integer,[2,3,4,5,6,7,8]},
+ {{sql_varchar, 20},
["John", "Monica", "Ross", "Rachel",
"Piper", "Prue", "Louise"]},
-\011 {{sql_varchar, 20},
+ {{sql_varchar, 20},
["Doe","Geller","Geller", "Green",
"Halliwell", "Halliwell", "Lane"]},
-\011 {{sql_char, 1}, ["M","F","M","F","F","F","F"]}]).
+ {{sql_char, 1}, ["M","F","M","F","F","F","F"]}]).
{updated, 7}
Fetch all data in the table employee
diff --git a/lib/odbc/doc/src/notes.xml b/lib/odbc/doc/src/notes.xml index 29fed0e286..09d78c3248 100644 --- a/lib/odbc/doc/src/notes.xml +++ b/lib/odbc/doc/src/notes.xml @@ -20,7 +20,7 @@ under the License. - +This document describes the changes made to the odbc application.
- +- ODBC now handles the types SQL_WCHAR and SQL_WVARCHAR. - ODBC also has a new connection option to return all - strings as binaries and also expect strings to be - binaries in the param_query function. This provides some - but not a full unicode support.
+ ODBC now handles the types SQL_WCHAR and SQL_WVARCHAR. + Thanks to Juhani Ränkimies. ODBC also has a new + connection option to return all strings as binaries and + also expect strings to be binaries in the param_query + function. These changes provides some unicode support.- Own Id: OTP-7452
+ Own Id: OTP-7452- The odbc application can now be compiled on FreeBSD. - (Thanks to Kenji Rikitake.)
+ Now supports SQL_TYPE_TIMESTAMP on the format {{YY, MM, + DD}, {HH, MM, SS}}. Thanks to Juhani Ränkimies. ++ *** POTENTIAL INCOMPATIBILITY ***
- Own Id: OTP-8444
+ Own Id: OTP-8511+ The odbc application can now be compiled on FreeBSD. + (Thanks to Kenji Rikitake.)
++ Own Id: OTP-8444
+