A
Arch
I am migrating from Access 2000 to SQL Server. Please help
with my Access Query which I am translating into T-SQL for
a SQL Server Stored Procedure. I am having trouble with
the Date and Time functions.
The SQL in Access 2000 looks like this:
WHERE
((Agreements.AgreementDate)<Now()-275-[AwardExt]*31
AND (Agreements.AgreementDate)>Now()-365-[AwardExt]*31));
I need the results to be displayed only in dates in this
mm/dd/yyyy format and not in mm/dd/yyyy 00:00:00.000
format as I do not want the time displayed.
I am not being able to get the syntax right. Please help
and thanks much in advance.
Arch
with my Access Query which I am translating into T-SQL for
a SQL Server Stored Procedure. I am having trouble with
the Date and Time functions.
The SQL in Access 2000 looks like this:
WHERE
((Agreements.AgreementDate)<Now()-275-[AwardExt]*31
AND (Agreements.AgreementDate)>Now()-365-[AwardExt]*31));
I need the results to be displayed only in dates in this
mm/dd/yyyy format and not in mm/dd/yyyy 00:00:00.000
format as I do not want the time displayed.
I am not being able to get the syntax right. Please help
and thanks much in advance.
Arch