Changeset vendor,10
- Timestamp:
- 11/05/2008 08:42:21 PM (18 years ago)
- revision id:
- svn-v3-trunk1:1c22b0a8-4d0b-0410-a296-af6a2e6f35e3:plain-odbc%2Ftrunk:16
- File:
-
- 1 edited
-
vendor/doc/notes.html (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/doc/notes.html
r9 r10 7 7 <h3>Notes</h3> 8 8 <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> 11 11 <h4> driver-connect </h4> 12 12 Using driver-connect one does not have to create an ODBC datasource for every … … 21 21 <li> using an Oracle Driver "DRIVER=Oracle in oracl92;UID=SCOTT;PWD=tiger;server=ltrav1" 22 22 </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, 24 25 25 26 … … 203 204 Query OK, 0 rows affected (0.00 sec) 204 205 205 MySQL >desc bla2;206 MySQL> desc bla2; 206 207 +-------+----------+------+-----+---------+-------+ 207 208 | Field | Type | Null | Key | Default | Extra | … … 307 308 Another option is to select the parameters directly in the stored procedure. 308 309 Thus 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 parameters310 return values as a result set. Note that <tt>exec-query</tt> accepts parameters 310 311 and can return more than one result set. One example, assume 311 312 <tt>*con*</tt> is a MySQL connection. … … 343 344 Error while executing the query, error code 7, State: 42704. 344 345 </pre> 345 According to the documentation one has to run lo.sql from the contrib section. 346 According to the documentation one has to run lo.sql from the contrib section. 347 Blobs Columns have to be declared as of type <tt>lo</tt>. 346 348 <h5> SQL Parser</h5> 347 349 The parser is buggy. … … 373 375 374 376 375 <h5> P G SQL</h5>377 <h5> PostgreSQL, 8.3</h5> 376 378 Creating a function like 377 379 <pre> … … 385 387 same as the name of the parameter. This is a well known feature. 386 388 <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 389 Out parameter will be returned as out parameters. But a function with 390 out parameters must have as a return type record and the return values are 391 returned as a result set with just one row. 391 392 </body> 392 393 </html>
Note: See TracChangeset
for help on using the changeset viewer.
