hello,
im writing a stored procedure the will calculate the sales of the year from the startdate(1st jan 2008 to tilldate) .
can u assist to write a procedure?
Thanks
hello,
im writing a stored procedure the will calculate the sales of the year from the startdate(1st jan 2008 to tilldate) .
can u assist to write a procedure?
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Scott LysleRank #49 · 31K reputationPosted May 9, 2008, 8:27 AM EDT
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Jun 25, 2008, 10:05 AM EDT
Hi
SELECT * FROM DateSample
WHERE DateVal BETWEEN '2008-01-01' AND '2008-06-31 23:59:59.997'
have the above statement inside stored procedude.
Thanks -- Vj
http://dotnetvj.blogspot.com