Hi,
The sproc Smith_ListSubscriptionsByUserName is not a cartesian product. The join fields for the sproc in my database look good as follows:
select c.*, ph.TransID, ph.InvoiceNo, s.*
from dnn_Smith_Subscription s
inner join dnn_Smith_RegPayHist ph
on s.PayHistID = ph.PayHistID
inner join dnn_Smith_RegCustomer c
on s.CustomerID = c.CustomerID
where c.DNNLogin=@dnnLogin
order by ph.paydate desc
Please confirm the sproc in your database is the same.
Scott Kelly
Project Manager
|
|