Hi,
Create Proc Test
(
@QstNumber varchar(2000),
@ScreenID varchar(10),
@LoanNbr varchar(30),
@UserID int,
@RoleID int,
@intLiaQstStart int,
@intLiaQstEnd int,
@SessionID varchar(50),
@CurrentBuyer int
)
as
begin
.
.
.
exec [sSelScreenNavigationGet] @loanid=@Loannbr,@modeid=@RoleID,@screenid=@screenid,@screentype='S',@userid=@userid
when i try to Create/compile the SQL Proc its get Created/compiled with out any error. alter while execution procedure its shows an error "incorrect syntax near exec sSelScreen" ,after that i try to get the procedure
back usgin sp_helptext 'test' ,there i have just noticed that the inner procedure name has splited as two strings like below,
exec [sSelScreen
NavigationGet] @loanid=@Loannbr,@modeid=@RoleID,@screenid=@screenid,@screentype='S',@userid=@userid
then i try to call inner proc in the new separate line and have put the proc's parameter's in the separate line like below, but still i have facing this issue
exec [sSelScreenNavigationGet]
@loanid=@Loannbr,@modeid=@RoleID,@screenid=@screenid,@screentype='S',@userid=@userid
i am using SQL server 2008 R2 SP1, windows 7 os , i have check with screen screen resolution its better as of my knowledge ,
please any one could answer me to handle this issue,