Thursday, June 4th 2026, 3:48pm UTC+2

You are not logged in.


Dear visitor, welcome to Youngbiker.de Forum - Community & Infos für 125er, Sportler, Enduros, Supermotos, Tourer, Chopper und Cruiser. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

TheChris

Administrator

Date of registration: Sep 1st 2001

Posts: 7,840

Bike: kein 2-rad-scheiss

1

Friday, March 31st 2006, 10:45am

SQL-Befehl zum Löschen von Datensätzen

Hallo. Ich spiel gerade mit nem phpBB forum rum und jetzt hab ich das problem, da son Bot drübergelaufen is und 300 User registriert hat.

Ich brauch jetzt nen SQL-Befehl, der alle Datensätze löscht, in denen im Feld 'user_website' was drinsteht.

Source code

1
DELETE FROM 'phpbb_users' WHERE 'user_website' =! ''


geht sowas?
  • Go to the top of the page

fwmone

Unregistered

2

Friday, March 31st 2006, 10:52am

Source code

1
DELETE FROM `phpbb_users` WHERE length(`user_website`) > 0 AND !IsNull(`user_website`)
  • Go to the top of the page

TheChris

Administrator

Date of registration: Sep 1st 2001

Posts: 7,840

Bike: kein 2-rad-scheiss

3

Friday, March 31st 2006, 10:53am

Quoted

Original von fwmone

Source code

1
2
3
DELETE FROM `phpbb_users` WHERE length(`user_website`) > 0 AND !IsNull(`user_website`)

DELETE FROM `phpbb_users` WHERE `user_lang`='english'


danke für die schnelle hilfe!!
  • Go to the top of the page

TheChris

Administrator

Date of registration: Sep 1st 2001

Posts: 7,840

Bike: kein 2-rad-scheiss

4

Friday, March 31st 2006, 11:02am

:daumen-falk: und funktioniert natürlich auch wunderbar.
  • Go to the top of the page

Rate this thread