I am profiling a database to discover some of the tables etc to create a custom report. The database is third party, but I can see all the tables in SQL Server 2008. I can see the data on one of the apps forms and download a spreadsheet with the data I need using the application, but it is restricted to 100 rows and I would like to make a SSRS report from the data.
I have tried using just about every trace I can think of. I get lots of "exec sp_execute 1,2000035", but this doesn't show me the tables or the text for the procedure. So I look at "Exec Prepared SQL", but these are all blank. I took the SPID and RequestID and passed it in to the fn_get_sql function, but this gave me nothing. I tried createing an audit on a few tables, but it failed cause auditing is not part of the SQL Server version our company purchased.
Does anyone have any ideas on how to find tables related the form or the extract the app creates? (The export is to excel, but the OLE DB trace showed nothing) I think the company that created the app is trying to hide the schema and where the data is kept. They will not publish the schema for the database behind the app. I asked them why and they said management decision.
I would really like to figure out what the query or procedure is behind the form and extracting.
Any ideas before I tell my manager, it can't be done?
Thanks,
Mike