select ColumnName from TableName where ColumnName <> ''
select ID,Company from Table1 where Company is not null
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)