select name,code from emp where curr_date=getdate() and sign='ABAN'
select ... from yourtable where convert(date, curr_date) = convert(date, getdate()) and sign = 'ABAN'
Select [your desired fields separated by comma ] from emp Where (CONVERT(DATETIME,curr_date,103)=CONVERT(DATETIME,GETDATE(),103))and (sig='ABAN')
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)