Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove empty rows from my mysql

Status
Not open for further replies.
Apr 28, 2006
69
NL
Hi all i recently uploaded data from text file .Bu unfortuently there were empty lines between each records in the text file and now after transfering the data to mysql i got one empty row for those empty lines. Could any oone tell me how i can remove those empty rows. Thanks
 
Documentation for MySQL is at:

See strongm's post in thread222-1227142 - these forums are designed for computer professionals so we expect you to do SOME work on your own, particularly the obvious stuff. You might also re-read faq222-2244

For this question, look up the Delete keyword:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
DELETE FROM table WHERE some_field = ''

That should work.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top