ALTER procedure [dbo].[prikVP]
(
@brdok int
)
as
select Vidpod.idpod, Vidpod.vp from Vidpod, blagajna
where Vidpod.idpod=blagajna.vp and blagajna.brdok=@brdok
exec prikVP
@brdok=1
and I get an error: Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).
Can anybody help me please?
Thanks

Kunal VaishyaRank #990 · 2K reputationPosted May 18, 2012, 3:20 AM EDT
exec prikVP 1
NelRank #2,060 · 702 reputationPosted May 18, 2012, 3:42 AM EDT
I get
(1 row(s) affected)
as a message, but lot of rows with the same results and the error message at the end.
And when I implement it as a stored procedure in my C# application I get the same error again
NelRank #2,060 · 702 reputationPosted May 18, 2012, 3:56 AM EDT
Kunal VaishyaRank #990 · 2K reputationPosted May 18, 2012, 4:03 AM EDT
if any problem then let me know