Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySql] usuwanie z kilku tabel InnoDB
KotWButach
post
Post #1





Grupa: Zarejestrowani
Postów: 361
Pomógł: 10
Dołączył: 8.02.2012

Ostrzeżenie: (0%)
-----


Witam
napisałem coś takiego niestety nie usuwa mi nic z bazy sad.gif Czy ktoś wie może co pozmieniać?
  1.  
  2. DELETE FROM ' . DB_TABLE_PREFIX . '_news_start
  3. ' . DB_TABLE_PREFIX . '_news_contents,
  4. ' . DB_TABLE_PREFIX . '_news_status
  5.  
  6. USING ' . DB_TABLE_PREFIX . '_news_start
  7.  
  8. INNER JOIN ' . DB_TABLE_PREFIX . '_news_contents,
  9. INNER JOIN ' . DB_TABLE_PREFIX . '_news_status
  10.  
  11. WHERE ' . DB_TABLE_PREFIX . '_news_start.id_status = ' . DB_TABLE_PREFIX . '_news_status.id
  12. AND ' . DB_TABLE_PREFIX . '_news_start.id_contents = ' . DB_TABLE_PREFIX . '_news_contents.id
  13. AND ' . DB_TABLE_PREFIX . '_news_start.id = ' . $id . '
  14.  


Ten post edytował KotWButach 4.10.2012, 14:37:45
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 04:58