Apr 26, 2001 #1 ktucci Programmer Apr 23, 2001 146 US what is the correct way to pass a datetime parameter in a sp...this does not work...any suggestions exec sp_orderstatus voice, new, '12/31/2000', '03/31/2001'
what is the correct way to pass a datetime parameter in a sp...this does not work...any suggestions exec sp_orderstatus voice, new, '12/31/2000', '03/31/2001'
Apr 26, 2001 #2 JNC73 Technical User Jan 8, 2001 65 NL Hi Ktucci, I always used the format 'mm-dd-yyyy' and defined the parameter as datetime value. Then you can use the parameter as a datetime value and this should work fine. At least it did in my situation. JNC73 Upvote 0 Downvote
Hi Ktucci, I always used the format 'mm-dd-yyyy' and defined the parameter as datetime value. Then you can use the parameter as a datetime value and this should work fine. At least it did in my situation. JNC73