I need to create an mobile api for an existing website and the client had told us to implement the api with various list of methods by looking to the existing website and so we need to analyze what are the queries to be framed.
Now my actual question is,
-
Is it possible to check that, what are the sql tables used behind and how are they joined by running different screens of website? (No stored procedures used and all are inline queries)
-
If so how to check that, we have the rights to client’s production and db server and apart from that we don’t know anything.
As a short i need to check, what are the TABLES used and how are they JOIN‘ed by running every screens of website.
Update:
I had tried with SQL Profiler and it is returning large number of rows in where it is difficult to trace and after adding TextData filter by providing loginname i reduced the number of rows.
Now it is returning like this in all rows exec sp_execute 8581,1,225 and when i run this am getting up this error
Could not find prepared statement with handle 8581.
Run the application and use SQL Server Profiler to see the query/tables.