• please refer to my previous posts for the scenario in which i want outpt.

    I have posted some functions which returns a sql query as string and i want to call this function in a stored procedure and execute the query returned in stored procedure.

    the output required is attached as image file.

    Regards

    Pooja