Comments (2)
On 2012-12-06 15:45:55 UTC, lordlamer commented:
Hi,
i solved my problem with SQL NOCOUNT.
See:
http://social.technet.microsoft.com/Forums/en-US/sqldriverforphp/thread/5ae29309-bb15-4a02-971e-17387f8a2821
But if i see other database systems the behaviour is different here. So it sounds like a bug first and my solution is tricky.
For me it is a bug
from msphpsql.
Based on the comment in the given link it is not a bug, see below:
"It isn't a bug.
Your query has 2 results, an INSERT and a SELECT statement.
Your INSERT statement has a trigger - without NOCOUNT it generates a separate result, as written in the manual.
Therefore without NOCOUNT in your trigger you have 3 results: INSERT + TRIGGER + SELECT.
With NOCOUNT in your trigger you have 2 results: INSERT + SELECT.
It's normal.
Rob
Friday, December 07, 2012 4:00 PM
"
from msphpsql.
Related Issues (20)
- HY104 Invalid precision value when reusing prepared statement HOT 4
- SQLSTATE[01002] Adaptive Server connection failed (xxx.xx.xx.xxx) HOT 2
- Issue connecting to SQL server from Openshift HOT 2
- Unable to build version 5.12.0beta1 on Windows HOT 3
- 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 3
- 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 29
- 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 16
- 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
- PHP 8.3.9 / 5.12.0 / 18.03.0003 SQLSTATE[IMSSP]: An invalid attribute was designated on the PDO object HOT 4
- Carrinho
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.