Hi
am using sql server 2005..
I hav a query like this.
create PROCEDURE [dbo].[csp_UpdateAutoPart]
(
@Code NVARCHAR(6)
,@Quantity INT
,@UnitPrice DECIMAL
)
AS
BEGIN
-- Update the autopart details
UPDATE dbo.AutoPart
SET dbo.AutoPart.Quantity = @Quantity
,dbo.AutoPart.UnitPrice = @UnitPrice
WHERE dbo.AutoPart.Code = @Code
end
While executing it, almost 32 rows are getting updated and an error "Msg 217, Level 16, State 1, Procedure csp_UpdateAutoParts, Line 45
Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).
" also is displayed