Quantcast
Channel: Need help creating a stored procedure and joining rows with same values as columns
Browsing all 3 articles
Browse latest View live

Re: Need help creating a stored procedure and joining rows with same values...

Thanks for yuor help, that worked beautifully!

View Article



Re: Need help creating a stored procedure and joining rows with same values...

SELECT EventName, SUM(Member_AmountPaid), SUM(NotMember_AmountPaid) FROM (SELECT [EventName] ,CASE [RegistrationType] WHEN 'Member' THEN SUM(ISNULL([AmountPaid],0.)) ELSE 0. END AS [Member_AmountPaid]...

View Article

Need help creating a stored procedure and joining rows with same values as...

Hi there, right now I have  this table: EventName       ||             RegistrationType                  ||...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images