This is the stored procedure i wrote.
ALTER procedure sp_Insertemployee
(@name varchar(15),@deptid varchar(15),@dname varchar(15),
@location varchar(15))
AS
BEGIN
Insert into employee values (@name,@deptid,@dname,@location)
END
and executed like this.
EXEC SP_INSERTEMPLOYEE 'DIDYA','D9234','DOTNET','CHENNAI'
and this is the error i got.
Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).
I see no nested procedures inside this .. but why is the error?