Wrapping 91 sql''s

  • Hi There,

    I have 92 different sql's with different logical checks of the data quality in a database, the checks holds a count of errors per area.

    Now I want to make a spreadsheet with counts of all these checks, distributed on different areas. Like this,

    Area_code;Check_1;Check_2;Check_3......ect

    6796;5;6;19......

    8346;35;56;75.....

    Can I wrap all the sql's into one single query? Or is there a more simple/better way to do this?

    Bests

    Joejoe

  • You could execute all of your 91 queries from a single Stored Procedure...

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply