J
JEM
I searched for an answer and tried a couple examples, but i'm still
getting an error message...I am trying to query people whose birthday
makes them less than 19 years old from today:
....WHERE Birthday > DATEADD(y, - 19, CONVERT(char(10), GETDATE(),
101)))
but i keep getting an error message saying invalid use of getdate() in
a function.
Any ideas what i'm doing wrong here?
getting an error message...I am trying to query people whose birthday
makes them less than 19 years old from today:
....WHERE Birthday > DATEADD(y, - 19, CONVERT(char(10), GETDATE(),
101)))
but i keep getting an error message saying invalid use of getdate() in
a function.
Any ideas what i'm doing wrong here?