Need to compose a dynamic sql statement to grab whatever invalid objects existing in a instance and compose the compile statements for those invalid objects as the output file? Basically what we need is to run this script to generate the compile script to recompile those invalid database objects.