The following code is being generated to execute an action procedure:
declare @p2 varchar(100)
set @p2=default
exec [Get_Benefits].[dbo].[usp_DeleteCharge] @CHARGE_ID=25403,@MESSAGE=@p2 output
select @p2
The problem is with the second line, it generates a SQL error:
Server: Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'default'.
This is happening with both SQLserver 2000 and 2005. LLBLGen release is 1.0.2005.1 with active server pages.
Is there a way around this?