diff options
author | Ingela Anderton Andin <[email protected]> | 2010-04-01 09:29:21 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-04-01 11:31:32 +0200 |
commit | 87bd1e8987ba216cb66f680094939cae333f2077 (patch) | |
tree | e57c313b198621a5f6c415f2208537816a79ac03 /lib/odbc/doc/src/getting_started.xml | |
parent | 71238dc853d1e56b34b883b233d99d4480f6bffa (diff) | |
download | otp-87bd1e8987ba216cb66f680094939cae333f2077.tar.gz otp-87bd1e8987ba216cb66f680094939cae333f2077.tar.bz2 otp-87bd1e8987ba216cb66f680094939cae333f2077.zip |
OTP-8511 Timestamps in ODBC
Now supports SQL_TYPE_TIMESTAMP on the format {{YY, MM, DD}, {HH, MM, SS}}.
Thanks to Juhani Ränkimies.
Diffstat (limited to 'lib/odbc/doc/src/getting_started.xml')
-rw-r--r-- | lib/odbc/doc/src/getting_started.xml | 16 |
1 files changed, 8 insertions, 8 deletions
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 @@ <chapter> <header> <copyright> - <year>2002</year><year>2009</year> + <year>2002</year><year>2010</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -13,12 +13,12 @@ compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. - + Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - + </legalnotice> <title>Getting started</title> @@ -108,15 +108,15 @@ to insert many rows in one go. </p> <code type="none"> 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} </code> <p>Fetch all data in the table employee </p> |