Changeset vendor,10


Ignore:
Timestamp:
11/05/2008 08:42:21 PM (18 years ago)
Author:
raverkamp
revision id:
svn-v3-trunk1:1c22b0a8-4d0b-0410-a296-af6a2e6f35e3:plain-odbc%2Ftrunk:16
Message:

small changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/doc/notes.html

    r9 r10  
    77    <h3>Notes</h3>
    88    <p> This documents contains some observations and pitfalls encountered
    9         when using different drivers and databases.
    10     </p>
     9      when using different drivers and databases. Of course this list is not complete.
     10      Also some of these problems might have vanished in the mean time. </p>
    1111    <h4> driver-connect </h4>
    1212    Using driver-connect one does not have to create an ODBC datasource for every
     
    2121      <li> using an Oracle Driver "DRIVER=Oracle in oracl92;UID=SCOTT;PWD=tiger;server=ltrav1"
    2222    </ul>
    23     One way to get a connection string is to create a file dsn and have a look at its contants, note that userid and password are encrypted in this file,
     23    One way to get a connection string is to create a file dsn and have a look at its contants,
     24    note that userid and password are encrypted in this file,
    2425   
    2526   
     
    203204Query OK, 0 rows affected (0.00 sec)
    204205
    205 MySQL> desc bla2;
     206MySQL&gt; desc bla2;
    206207+-------+----------+------+-----+---------+-------+
    207208| Field | Type     | Null | Key | Default | Extra |
     
    307308Another option is to select the parameters directly in the stored procedure.
    308309Thus instead of having out or in/out parameters, the procedure returns
    309 return values as a result set. Note that <tt>exec-query<tt> accepts parameters
     310return values as a result set. Note that <tt>exec-query</tt> accepts parameters
    310311and can return more than one result set. One example, assume
    311312<tt>*con*</tt> is a MySQL connection.
     
    343344      Error while executing the query, error code 7, State: 42704.
    344345</pre>
    345 According to the documentation one has to run lo.sql from the contrib section.
     346According to the documentation one has to run lo.sql from the contrib section.
     347Blobs Columns have to be declared as of type <tt>lo</tt>.
    346348<h5> SQL Parser</h5>
    347349The parser is buggy.
     
    373375
    374376
    375 <h5> PG SQL</h5>
     377<h5> PostgreSQL, 8.3</h5>
    376378Creating a function like
    377379<pre>
     
    385387same as the name of the parameter. This is a well known feature.
    386388<h5> Out Parameters </h5>
    387 Out parameter will be returned will normaly as out parameters. But the
    388 function needs to have return type record and the return values are
    389 returned result set with just row.
    390 
     389Out parameter will be returned as out parameters. But a function with
     390out parameters must have as a return type record and the return values are
     391returned as a result set with just one row.
    391392</body>
    392393</html>
Note: See TracChangeset for help on using the changeset viewer.