How to take the first letter and insert it in another field

Now if i want to use this code it is giving error, please need your attention with this dear guys

DELETE * fromTABLE WHERE catid !=‘40’

because i want to delete all records except who have catid 40

With thanks

what is the exact error you got?

No errors, just i have a category want to keep it:)

didn’t you just say “Now if i want to use this code it is giving error” ???

Think it is an english mixup Rudy. Think he meant will it give one or what would happen if i ran it.

Yes the Delete * From, but now i corrected that to delete from tbl:)