Hi I have a mysql database with various email addresses.There are a number of blank rows that i want to get rid of. Ive tried delete from addsubj values ('',''); but nothing happens. Can anybody help me please. Thanks cnw40007
delete from yourTable
where addsubj is null
or trim(adjsub) = ''
The term blank is somewhat ambiguous. Does it mean NULL or is it an empty string or is it filled with space characters? The statement above should work for all of those.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.