Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> 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 questionmark.gif?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
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 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
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 10:17