I have a stored procedure'test' in Sybase ASA with for example 4 parameters.
par1 INT = 0,
par2 VARCHAR(50) = NULL,
par3 VARCHAR(100) = NULL,
par4 VARCHAR(10) = ''
Now I want to execute this stored procedure with par1 as its default value.
call test(NULL, 'test')
But the actual value of par1 i not 0, but 1!
I also tried
call test(DEFAULT, 'test')
but that doesn't run.