473,378 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

New PDO driver for SQL Server

I have created a PDO driver for SQL Server based on OLE-DB. The new
driver is capable of doing things that the ancient DBLIB can't. First
and foremost, you can retrieve varchar wider than 256 chars. You can
also retrieve NVARCHAR columns in a variety of encoding (UTF-8 being
the key one). It supports parameter binding and blobs as streams. In a
word, it's much better than the one that the PHP web site tell you not
to use.

The file is hosted here:

https://sourceforge.net/project/show...kage_id=274554

While the documentation is here:

http://wapache.sourceforge.net/oledb.htm

Enjoy!
Jun 2 '08 #1
2 2109
"Chung Leong" schreef:
I have created a PDO driver for SQL Server based on OLE-DB. The new
driver is capable of doing things that the ancient DBLIB can't. First
and foremost, you can retrieve varchar wider than 256 chars. You can
also retrieve NVARCHAR columns in a variety of encoding (UTF-8 being
the key one). It supports parameter binding and blobs as streams. In a
word, it's much better than the one that the PHP web site tell you not
to use.

The file is hosted here:

https://sourceforge.net/project/show...kage_id=274554

While the documentation is here:

http://wapache.sourceforge.net/oledb.htm

Enjoy!
Thanks Chung!

By the way: Do you know when the new driver from Microsoft for SQL
Server will be available?

The one that is announced here:
http://www.microsoft.com/sql/technol...p/default.mspx

Will it be smarter to use your PDO driver instead?

Regards,
Erwin Moller
Jun 2 '08 #2
On May 5, 6:56*pm, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@spam yourself.comwrote:
"Chung Leong" schreef:


I have created a PDO driver for SQL Server based on OLE-DB. The new
driver is capable of doing things that the ancient DBLIB can't. First
and foremost, you can retrieve varchar wider than 256 chars. You can
also retrieve NVARCHAR columns in a variety of encoding (UTF-8 being
the key one). It supports parameter binding and blobs as streams. In a
word, it's much better than the one that the PHP web site tell you not
to use.
The file is hosted here:
https://sourceforge.net/project/show...129600&package....
While the documentation is here:
http://wapache.sourceforge.net/oledb.htm
Enjoy!

Thanks Chung!

By the way: Do you know when the new driver from Microsoft for SQL
Server will be available?

The one that is announced here:http://www.microsoft.com/sql/technol...p/default.mspx

Will it be smarter to use your PDO driver instead?

Regards,
Erwin Moller- Hide quoted text -

- Show quoted text -
I don't know when it'll get out of CTP status, if that's what you're
asking.

I don't really understand why Microsoft didn't go with using PDO.
That's the main reason I decided to roll my own. Our team is moving to
PHP5 and the DBLIB PDO drivier is sort of problematic. I also have
most of the code written already from a previous effort.

In theory, going through the native driver would yield better
performance. On the other hand, the OLE-DB infrastructure gives you
connection pooling. It probably just comes down to whether you want to
use PDO or not. I have to say though, since we'll be using this
ourselves, a bug would certainly get fixed very quickly.
Jun 2 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: rguti | last post by:
Anybody know when the new version of the ODBC Driver is gonna be out? I'm using 3.51.11-1, but I'm having problems transferring information from SQL Server. Thanks.
11
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
1
by: bogachkov | last post by:
Hello Joe Over the past several years, I have found your responses to jdbc usage/driver related issues to be extremely helpful. I am sure that you're very busy so I will make my question as...
0
by: Bing | last post by:
Hi, I am configuring the same DB2 v8.1 JDBC universal driver (db2jcc.jar and db2jcc_license_cisuz.jar) from DB2 SP5 fix pack under WSAD 5.1.x environment and WebSphere application Server 5.0.2...
2
by: Raquel | last post by:
Read this about the Universal JDBC Driver.... "In a Type 2 mode, the Universal JDBC driver provides local application performance gains (because it avoids using TCP/IP protocol to communicate to...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
3
by: Anoop | last post by:
Is it true that there are no type 4 jdbc drivers to connect to a DB2 server v7.1? The DB2 server is hosted on ACF2 (OS/390). We would be connecting from windows and solaris boxes. If it is true,...
0
by: sudhaoncyberworld | last post by:
Dear Techies, I do have small issue on connecting oracle server from .net This is the code snippet public string strConString = "Driver={Microsoft ODBC for...
5
by: insomniux | last post by:
Hi, I need to install an ODBC driver for a database, but our system- administrator does not allow me to install it on the VPN-server. Is there a way to install an ODBC driver for a separate user....
2
by: wassimdaccache | last post by:
Dear all I am using windows server 2003 sp1. I am connecting a printer called BIRCH prp080 to my pc using the serial port. the printer is working well when I install the driver but the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.