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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bies22 at poczta dot onet dot pl
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 12:01:31 2024 UTC