|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10053 Insert sentence error
Submitted: 2001-03-29 09:47 UTC Modified: 2001-05-12 15:20 UTC
From: julian dot gonzalez at iconmedialab dot es Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.4 OS: W2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: julian dot gonzalez at iconmedialab dot es
New email:
PHP Version: OS:


 [2001-03-29 09:47 UTC] julian dot gonzalez at iconmedialab dot es
$oConn = new COM("ADODB.Connection");

// Data Base: ORACLE 8.0

// insert query: it works fine!!!

insert into Pact (nid,name,Apell1,Apell2,Sexo,NHisto,FNac) values (10040,'qwrwfcdf','qeqwe','qewqwe','Hombre','121217',to_date('12/12/1999','MM-DD-YYYY'))

// insert query: it does not works: php error memory

insert into Pet (NID,NPet,NPac,Diagnostico,FPet,Medico,Servicio,FPetFin,nidPass,obsPet,obsInf,codSer,itt) 
 'urgencias ',

If i copy this query (generated by my php code), and paste into a SQL editor that work for make queries into data bases
and i execute it, it works fine!!!!. 

Maybe a problem of lenght?.
I hope i was wrong.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-07 12:46 UTC]
Does this problem persist with PHP 4.0.6-dev? There have been a lot of changes to ext/com recently, including improtant fixes after the PHP 4.0.5 release that will be included in PHP 4.0.6.

 [2001-05-12 15:20 UTC]
no response
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 13:01:27 2023 UTC