Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SQL Error[SOLVED]
SQL Error[SOLVED] [message #3307] Fri, 19 May 2006 01:28 Go to previous message
Justin is currently offline  Justin
Messages: 57
Registered: March 2006
Location: Orange County California
Member
Mirek,

I am trying to get this code to work based on what you sent me earlier in my last post. But as you can see in the .LOG file, the values are appending a certain number of 'Free' strings after the values. What is this about?

The first piece of code is my code in the program and the second is the error from the log file.


sql.Execute("UPDATE nc_support SET name = ? WHERE ticket = ?",~supportmodify.edtName,AsString(ticket));




select substring_index(USER(),'@',1)
select substring_index(USER(),'@',1)
ERROR You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reeF WHERE ticket = "640641877"eFreeFreeF' at line 1: UPDATE nc_support SET name = "45w"reeF WHERE ticket = "640641877"eFreeFreeF
UPDATE nc_support SET name = ? WHERE ticket = ?
## ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reeF WHERE ticket = "640641877"eFreeFreeF' at line 1




Justin

[Updated on: Mon, 22 May 2006 19:12]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: SQL, U++, and Escape Characters[SOLVED]
Next Topic: Securing MySQL Traffic
Goto Forum:
  


Current Time: Sat May 04 09:55:38 CEST 2024

Total time taken to generate the page: 0.02051 seconds