the ##getdata table it has values, i think it has to do with if statment and exec(@sql) bacause when i alter the SP i Get the results from the firs sqlect statment.
↧