A long shot: The only essential different I can see at a fast glance is the length of the string repeat.
It might be that the string becomes truncated in the third statement. Try to execute a string that is 200 bytes in total length, and then expand it to 300, if you gets and error if you execute the second statement then you know what the fault depends on. > -----Original Message----- > From: Saci [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 6:17 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] ADO & ODBC , for experts only > > > This code works partially only on the 1st on 2nd Execute comand runs well > the 3rd one return [...] > $RSet = $dbc->Execute("UPDATE T SET RA = 'C', ". > " O=' X".Y.str_repeat('A',10)."', ". > " R = F() ". > " WHERE K = #"); > $RSet = $dbc->Execute("UPDATE T SET RA = 'C', ". > " O=' X".str_repeat('A',200)."', ". > " R = F()". > " WHERE K = #"); > $RSet = $dbc->Execute("UPDATE T SET RA = 'C', ". > " O=' X".str_repeat('A',300)."', ". > " R = F()". > " WHERE K = #"); -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
