odbc functions
| From: | Richard Black | Date: | Mon, 04 Feb 2002 15:36:18 +0000 |
| Subject: | odbc functions | ||
| Groups: | php.db php.general php.windows | ||
| Request: | Send a blank email to php-db+get-16488@lists.php.net to get a copy of this message | ||
Does anyone have experience of using odbc_primarykeys???
I'm writing a script to let me port a database from Access to MySQL without
having to write all the table definitions by hand. But I can't get
odbc_primarykeys to work - it comes back with:
Warning: SQL error: , SQL state 00000 in SQLPrimaryKeys
I don't really know what the modifier and owner parameters should do, and
suspect thats where the problem lies. I tried them as "", "%" and " ".
Running PHP 4.0.4 on NT 4.0 Workstation, with Access 97
Richy.
==========================================
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: rblack@datavisibility.co.uk