grantballantyne
asked on
TSQL Syntax
Dear Experts
I have a table consisting of the following fields:
ref int
issue int
startdate date/time
expdate date/time
I would like to be able to select issue from the table where the expdate falls within the month after this month. I understand I will have to use GETDATE to work out the current month but I am not sure on the correct syntax for this.
Can anyone help
Thanks
I have a table consisting of the following fields:
ref int
issue int
startdate date/time
expdate date/time
I would like to be able to select issue from the table where the expdate falls within the month after this month. I understand I will have to use GETDATE to work out the current month but I am not sure on the correct syntax for this.
Can anyone help
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
yeh sorry month