V
Viol-8-r
Hello Folks,
It is a simple query but I am just stuck. I am trying to pull the data for current day and writing the query below
select *from pop30300 WHERE POPTYPE = 1 and receiptdate = GETDATE() order by poprctnm asc
But it is not correct. Please help. I need the date for today date on daily basis.
It is a simple query but I am just stuck. I am trying to pull the data for current day and writing the query below
select *from pop30300 WHERE POPTYPE = 1 and receiptdate = GETDATE() order by poprctnm asc
But it is not correct. Please help. I need the date for today date on daily basis.