brown2005 Posted December 15, 2006 Share Posted December 15, 2006 hi, i was wondering if you can, how you select all records that have say one field not null Quote Link to comment https://forums.phpfreaks.com/topic/30747-sql-select/ Share on other sites More sharing options...
craygo Posted December 15, 2006 Share Posted December 15, 2006 [code]$sql = "SELECT * FROM table_name WHERE myfield IS NOT NULL";[/code]Ray Quote Link to comment https://forums.phpfreaks.com/topic/30747-sql-select/#findComment-141753 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.