Example:
One team
Quote:
create proc sp_get_dates( @date1 datetime, @date2, datetime )
as
...
... BODY of stored proc
...
return 0
|
Another team is creating stored proc that call sp_get_dates
But they expect 3 params!!!
Quote:
...
...
exec sp_get_dates @ld_date1, @ld_date2, @ld_date3
if ( @@error != 0 ) return @error
...
...
|
Problem: During completing and funkcionally test phase we don t get any error info! Code proceed and there is no message that number of calling-called don´t match!
What to do to enforce error if params number dont match?