[Gllug] perl querying SQL server 7

Dean dean.wilson3 at virgin.net
Tue Aug 21 13:42:24 UTC 2001


On Tue, Aug 21, 2001 at 01:08:43PM +0000, Bruce Richardson wrote:
> Does this involve any re-compiling or does Perl just sniff out the 
> library?

I've never used DBD::ODBC but Perl normally just runs C based extensions
with XS (through raw XS, SWIG or Inline) so it doesn't need a recompile.
The only one i know of that needs a recompile is the IThreads stuff so I'd
be surprised if you needed one for ODBC. Don't try and install DBD::ODBC
before you have an ODBC manager though, that way lays badness.
 
> The ODBC standard includes transaction support in the abstraction layer, 
> which is a bonus, though it can't provide a whole transaction interface 
> for databases that don't have the feature. 

If the database doesn't support transactions does it bomb or just commit?
 
>>At OSDEM this year Rasmus mentioned PHP had a database abstraction layer on
> > the way, has this grown into something usable or is it still in early
> > alpha/beta phase?
 
> He may have been referring to the DB module in Pear.

That's the one, you and Simon both hit the nail on the head.

I'll get round to trying it one day, what we need now though is an API that
sits on top of JDBC, DBI and DB :)

	Dean
-- 
Profanity is the one language all programmers understand
   --- Anon

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list