The SETPARAM database function sets the value of parameter passed while running the workbook as client_info for the session and always returns a value of 1. The return value from this function is compared with the 1 in the condition added in the workbook; therefore, condition always returns true . This condition will not have any effect on the data queried by the workbook.