php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47944 summary
Submitted: 2009-04-10 08:27 UTC Modified: 2009-05-14 01:00 UTC
From: bies22 at poczta dot onet dot pl Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 5.2.9 OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
11 + 4 = ?
Subscribe to this entry?

 
 [2009-04-10 08:27 UTC] bies22 at poczta dot onet dot pl
Description:
------------
When I execute SQL with function mssql_query, after 3 execute is error. The same SQL command executed with function odbc_do is correct.

Reproduce code:
---------------
$sql = "INSERT INTO cdn.EL_SS_ZSElemTmp VALUES (7,48,'PCW Okno Zendow Kolor x1',1.000,535.93,535.93,'A','ZLC/9/02700-TEST','ZLC/9/02700-TEST','3392/2009','14')";
$rst_mssql = mssql_query($sql,$conn);

Actual result:
--------------
Warning: mssql_query() [function.mssql-query]: message: Incorrect syntax near '&'. (severity 15)

Warning: mssql_query() [function.mssql-query]: message: Unclosed quotation mark after the character string ')'. (severity 15)

Warning: mssql_query() [function.mssql-query]: Query failed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-06 21:43 UTC] jani@php.net
Need proper summary and proper reproduce script. Neither compute right 
now..
 [2009-05-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 12:01:28 2024 UTC