so i am trying to perform my own databse cleanup(as i and about 4 other people have already mad a char with the existing db) but everytime i try to delete all account but ours they are all gone...i know verry little about SQL but this should be pretty simple should it not...this is what query i am running on the account database:
delete * from tbl_user where user_no<>firstnumber or user_no<>secondnumber or user_no<>thirdnumber or user_no<>fourthnumber
but all accounts are gone even the ones with said user numbers....i'm sure i will probably get flamed for this but i tried all day yesterday and everytime it got ride of everything...i tired putting the numbers between '',using != instead of <> even tried using the user id's instead....if i do a select query for user_no = to what i want then it works...but if i say <> then i get all records returned
any ideas?
edit:I could just delete all account and have everyone create a new account then move chars over but i should be able to just delete all accounts but the ones i want to keep....
delete * from tbl_user where user_no<>firstnumber or user_no<>secondnumber or user_no<>thirdnumber or user_no<>fourthnumber
but all accounts are gone even the ones with said user numbers....i'm sure i will probably get flamed for this but i tried all day yesterday and everytime it got ride of everything...i tired putting the numbers between '',using != instead of <> even tried using the user id's instead....if i do a select query for user_no = to what i want then it works...but if i say <> then i get all records returned
any ideas?
edit:I could just delete all account and have everyone create a new account then move chars over but i should be able to just delete all accounts but the ones i want to keep....