I'm trying to create a report in BIRT. I've created a stored proc in SQL Server 2008 which works perfectly. However, when I try to run the report in BIRT, it won't run with NULL value.
var DepartmentValue = params["DepartmentValue"].value;
var AccountValue = params["AccountValue"].value;
sqlText = " EXEC SP_Report_ByDept '"+DepartmentValue+"','"+AccountValue+"','"+startdt+"','"+enddt+"' ";
Works perfectly if there is a valid AcccountValue. Any idea how to pass null value for the AccountValue?
Cheers.