select name,code from emp where curr_date=getdate() and sign='ABAN'
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')
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)