Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Kasowanie wielu rekordow naraz
lucek
post
Post #1





Grupa: Zarejestrowani
Postów: 67
Pomógł: 0
Dołączył: 5.04.2003

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


Jak naraz zapytaniem SQL skasowac w danej tabeli np. rekordy o ID od 12 do 160 (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ?
Go to the top of the page
+Quote Post
adwol
post
Post #2





Grupa: Zarejestrowani
Postów: 691
Pomógł: 0
Dołączył: 6.08.2003

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


Cytat
Jak naraz zapytaniem SQL skasowac w danej tabeli np. rekordy o ID od 12 do 160 (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ?

[sql:1:61e41d7b67]delete from tabela where id >= 12 and id <= 160[/sql:1:61e41d7b67]
albo
[sql:1:61e41d7b67]delete from tabela where id between 12 and 160[/sql:1:61e41d7b67]
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 22.08.2025 - 17:39