Creating an ASE stored procedure

This example shows an ASE stored procedure that can execute an RSP. The ASE stored procedure must specify an existing RSP and provide any arguments that the RSP requires:

create procedure newcust @custname varchar(nn), @custno varchar (nn) as 
begin
 	execute servername...addcust
 	@addname=custname, @addno=@custno
end

where: