Viewing 10 posts - 1 through 11 (of 11 total)
I've tried both datetime and smalldatetime and have the same issue with both
October 8, 2007 at 3:16 pm
Got it to work doing this as recommended by Joel
SET @pdteStartDate = CONVERT(char(10), @pdteStartDate, 103)
October 8, 2007 at 2:50 pm
I was doing this for example
DATEADD(m,5,@pdteStartDate)
and 5 months was being added to the day component rather than the month component of @pdteStartDate, however when I passed in the same parameter...
October 8, 2007 at 2:28 pm
Thanks for your response. However, should I really be having to convert a date back to the format I want. I just can't understand why this database is running like...
October 8, 2007 at 12:40 pm
The scenario is purely hypothetical. I have a document library I am building with thousands of records and the index would be very useful to be presented on a webpage
March 5, 2007 at 3:43 pm
Just tried it. Oh my god, this works amazingly well. I've brielfy heard of CTEs before, but never had a good use for them until now.
I'm impressed!!!
March 5, 2007 at 2:26 pm
Just tried it. Oh my god, this works amazingly well. I've brielfy heard of CTEs before, but never had a good use for them until now.
I'm impressed!!!
March 5, 2007 at 2:26 pm
Just tried it. Oh my god, this works amazingly well. I've brielfy heard of CTEs before, but never had a good use for them until now.
I'm impressed!!!
March 5, 2007 at 2:26 pm
Thanks very much for your reply, I'll give that a go. My boss in work always tells me how good Books Online is and I never bother to look.
March 5, 2007 at 12:49 pm
That works brilliantly. I'm starting a new job on 2nd January and have been trying to tone up my SQL skills before then.
I'm surprised that I had so many responses!
Haven't...
December 26, 2006 at 4:30 am
Viewing 10 posts - 1 through 11 (of 11 total)