RE: [PHP] ODBC

From: Date: Tue, 10 Oct 2000 20:20:00 +0000
Subject: RE: [PHP] ODBC
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19423@lists.php.net to get a copy of this message
Well, actually ODBC is not necessarily slower. Most ODBC vendors create drivers that sit on top of the native communication layer (e.g. sql*net for Oracle) instead of writing their drivers directly against the CLI (Call Level Interface) of the database. Find one that does the latter, and doesn't license any legacy code, and you have a very fast layer indeed. Openlink is one such company :) and there is an ODBC HOWTO at http://www.iodbc.org Best regards, Andrew ---------------------------------------------------- Andrew Hill OpenLink Software http://www.openlinksw.com XML & E-Business Infrastructure Technology Provider > -----Original Message----- > From: Daniel Convissor [mailto:danielc@analysisandsolutions.com] > Sent: Tuesday, October 10, 2000 10:43 AM > To: PHP List > Subject: Re: [PHP] ODBC > > > Hi Abe: > > > I use PHP3 and PostgreSQL very successfully. What I don't understand is > > ODBC. I have read a little about it but it appears to be a > Microsoft type > > product. Is this something I should consider learning more > about if I want > > to interact also with other databases. > > Sure. It allows you to interface with more database types. Only > drawback is > ODBC is a bit slower than working with the native database > functions in PHP, > like for Postgree and MySQL. > > Basically, you need to create a SYSTEM DSN for each database you want to > connect to. Then, connect to it using the odbc_connect() > function. At that > point you can use the odbc_exec() function, etc, to work with the data. > > If you need specific questions answered, you'll need to let us > know what you > want to konw. Also, when asking, explain which OS you're on and which > database type you're trying to connect to. > > --Dan > > -- > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > More than just answers. Solutions. (SM) > http://www.analysisandsolutions.com/ > 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#19423) next »