Home » U++ Library support » U++ SQL » '?' make errors
|
Re: '?' make errors [message #20760 is a reply to message #20757] |
Sun, 05 April 2009 09:40   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Please, next time, more info....
Anyway, if you do this:
sql.Execute("insert into FILES values (432,2,2,3,\"section-3.pdf\",\"1.2 MB\",\" http://cisclub.com/forum/attachment.php?attachmentid=4256&am p;d=123888316\7",\"\")");
then the problem is that ? is a placeholder for actual parameter.
Mirek
|
|
|
|
Re: '?' make errors [message #20763 is a reply to message #20762] |
Sun, 05 April 2009 12:57   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
TeCNoYoTTa wrote on Sun, 05 April 2009 06:16 | yes i mean that !!
how can i fix it ??
thx in advance
|
- use SqlExp
- or use placement parameter(s):
SQL.Execute("insert into FILES values (?,?,?,?,?,?,?)",
432,2,2,3, "section-3.pdf", "1.2 MB",
"http://cisclub.com/forum/php?attachmentid=4256&am p;d=123888316",
"");
Mirek
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 18:27:28 CEST 2025
Total time taken to generate the page: 0.01222 seconds
|