Reply to Re: SQLite3 and PHP

Your name:

Reply:


Posted by Jon on 04/24/07 17:53

On Apr 23, 6:45 pm, Oliver Grätz <oliver.gra...@gmx.de> wrote:
> Jon schrieb:
>
> > $sqlDeleteVal = sprintf("DELETE table_1 FROM table_1, table_2 WHERE
> > table_1.cost = table_2.cost");
>
> Wrong SQL syntax:http://sqlite.org/lang_delete.html
>
> OLLi
>
> --
> "You see, Mr. President: The worlds hates America. And for good reason.
> (I wont bother going into details)"
> [24 319]


syntax is fixed.

"DELETE * FROM table_1, table_2 WHERE round(table_1.payment,2) =
round(table_2.payment,2)*-1";

Checked it by replacing DELETE with SELECT it and it shows the items I
wanted DELETED but DELETE is still not working. Doesn't do anything
but no warnings/errors.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация