williey
Technical User
- Jan 21, 2004
- 242
Can I use a custom function in a where clause?
what the function does it return a date in the format of #5/7/2009#.
When I tried the below code I get data type mismatch error.
------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.
what the function does it return a date in the format of #5/7/2009#.
When I tried the below code I get data type mismatch error.
Code:
SELECT ProcDate, field1, field2
FROM table
where processdate = GetDate(-1);
------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.