~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/odbc/doc/src/odbc.xml

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<erlref>
5
5
  <header>
6
6
    <copyright>
7
 
      <year>1999</year><year>2010</year>
 
7
      <year>1999</year><year>2011</year>
8
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
9
9
    </copyright>
10
10
    <legalnotice>
102
102
      {sql_decimal, precision(), scale()} |
103
103
      {sql_numeric, precision(), scale()} |
104
104
      {sql_char, size()} | {sql_wchar, size()} | {sql_varchar, size()} | {sql_wvarchar, size()}| {sql_float, precision()} |
105
 
      {sql_float, precision()} | sql_real | sql_double | sql_bit | atom()
 
105
      {sql_wlongvarchar, size()} | {sql_float, precision()} | sql_real | sql_double | sql_bit | atom()
106
106
    </code>
107
107
    <code type="none">
108
108
 precision() = integer()    </code>
138
138
      <fsummary>Opens a connection to the database. </fsummary>
139
139
      <type>
140
140
        <v>ConnectStr = string()</v>
141
 
        <d>An example of a connection string:<c>"DSN=sql-server;UID=aladdin;PWD=sesame"</c>where DSN is your ODBC Data Source Name, UID is a database user id and PWD is the password for that user. These are usually the attributes required in the connection string, but some drivers have other driver specific attributes, for example<c>"DSN=Oracle8;DBQ=gandalf;UID=aladdin;PWD=sesame"</c>where DBQ is your TNSNAMES.ORA entry name e.g. some Oracle specific configuration attribute.</d>
 
141
        <d>An example of a connection string: <c>"DSN=sql-server;UID=aladdin;PWD=sesame"</c> where DSN is your ODBC Data Source Name, UID is a database user id and PWD is the password for that user. These are usually the attributes required in the connection string, but some drivers have other driver specific attributes, for example <c>"DSN=Oracle8;DBQ=gandalf;UID=aladdin;PWD=sesame"</c> where DBQ is your TNSNAMES.ORA entry name e.g. some Oracle specific configuration attribute.</d>
142
142
        <v>Options = [] | [option()]</v>
143
143
        <d>All options has default values. </d>
144
144
        <v>option() = {auto_commit, on | off} | {timeout, milliseconds()}
432
432
      <desc>
433
433
        <p>Selects <c>N</c> consecutive rows of the result set. If
434
434
          <c>Position</c> is <c>next</c> it is semantically equivalent
435
 
          of calling <c>next/[1,2]</c><c>N</c> times. If
 
435
          of calling <c>next/[1,2]</c> <c>N</c> times. If
436
436
          <c>Position</c> is <c>{relative, Pos}</c>, <c>Pos</c> will be
437
437
          used as an offset from the current cursor position to
438
438
          determine the first selected row. If <c>Position</c> is