March 14, 2012 at 2:03 am
March 14, 2012 at 2:20 am
We're not going to do your homework for you.
Show what you've tried. Where specifically are you stuck?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 14, 2012 at 2:24 am
..:(.. I'm stuck and haven't solution ..
Wait for me.. ^^ I post
March 14, 2012 at 2:37 am
CREATE PROCEDURE spTopProductMonth
(
@ODate datetime
)
AS
SELECT [Order].OID,PID,CID,ODate,[Status],UnitPrice,Amount
from [Order] inner join OrderDetails
on [Order].OID = OrderDetails.OID
WHERE @ODate = ODate;
EXECUTE spTopProductMonth '03/10/2012' ;
I'm make it.. but it's not show when i run EXECUTE..
March 14, 2012 at 2:39 am
Are there any rows in the table that have an ODate of '03/10/2012'?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 14, 2012 at 2:46 am
Thanks ^^
I forget 🙂
Please You guide me ... input a month to show 🙂
March 14, 2012 at 6:35 am
Not following. Please be specific about questions, I can't read your mind.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply