Comments (3)
On 2012-12-11 17:40:21 UTC, robertjohnson commented:
What version of the driver are you using? I tried something similar to your code in Japanese, German, Russian and English and they all worked, with the correct encoding, and with your SELECT statements at the end.
Do you know that the sqlsrv warning messages are not retrieved using sqlsrv_fetch_array?
If you need more help, please ask a question on the forum:
http://social.msdn.microsoft.com/Forums/en-US/sqldriverforphp/threads
There is a post in the forum about how to do a plain backup:
http://social.msdn.microsoft.com/Forums/da/sqldriverforphp/thread/e0908b2f-4afa-4626-830d-9683486186c8
from msphpsql.
On 2012-12-11 22:29:36 UTC, MaxiWheat commented:
Here is what is returned by sqlsrv_client_info :
Array ( [DriverDllName] => sqlncli11.dll [DriverODBCVer] => 03.80 [DriverVer] => 11.00.2100 [ExtensionVer] => 3.0.3421.0 )
And this is what comes from sqlsrv_server_info :
Array ( [CurrentDatabase] => myDB [SQLServerVersion] => 10.00.5500 [SQLServerName] => myserverhost)
Yes I know that messages are not retrieved by sqlsrv_fetch_array, and I'm not really interested in retrieving them, but what happens here, is that it makes PHP crash. What makes PHP actually crash is the second call to sqlsrv_next_result (in the while loop)
and we don't really explain it, so we think it's a bug.
We run Zend Server 5.6 (PHP 5.3.14) on Windows Server 2008 R2 Standard Edition Service Pack 1
from msphpsql.
Already fixed. Closing this issue.
from msphpsql.
Related Issues (20)
- Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server HOT 1
- Memory leak in Microsoft ODBC Driver 17.10.5 for SQL Server HOT 4
- HY104 Invalid precision value when reusing prepared statement HOT 4
- SQLSTATE[01002] Adaptive Server connection failed (xxx.xx.xx.xxx) HOT 1
- Issue connecting to SQL server from Openshift HOT 1
- Unable to build version 5.12.0beta1 on Windows HOT 2
- New attribute for sql bigint and decimal/numeric types to php int and float types HOT 1
- Performance problem when using params on select query HOT 2
- Error on both ARM64 and AMD64 docker build HOT 1
- apt fails to install from pmc-geofence.trafficmanager.net: 403 Forbidden HOT 10
- Error requesting access token while Azure webapps (php) connect to Azure SQL server by UMI HOT 4
- Windows DLL available to download HOT 1
- unable to install in ubuntu 22.04 container HOT 1
- SQL server connection HOT 8
- When will there be support for installing Ubuntu 24.04? HOT 1
- Error OpenSSL Shutdown while in init - cURL - MSSQL HOT 6
- SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]SSL Provider: [error:0A0C0103:SSL routines::internal error] HOT 4
- sqlsrv_connect does not try to establish a connection when there is no instance specified HOT 13
- Missing release for Alpine: Alpine319-8.1.tar is no longer available at https://github.com/microsoft/msphpsql/releases/download/ HOT 2
- RedHat 9 - SQLSTATE[HYT00]: [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msphpsql.