Skip to content
Loading
  • Saravanan V
    0

    First, directly run the SP separately with required parameter values. This will confirm you that SP returns relevant records or not for the supplied parameters.

    eg. EXEC sp_MyListReport 'xx','xxxx','xxxxxx'

    Then, before retrieving the top 10 records from temp table, run a select query to check the inserted records.
    This way you can easily find out the problem area and change your scripts accordingly.

    Let me know if you need any further assistance.

    0