It Looks Like

March 30, 2004 by Leith Van Diemen
Hi David, This looks like the person who developed this code is using stored procedures. These are like pre compiled SQL statments that live in the database and can be called to do a specific job. So in order for you to edit the SQL statement you are actually going to have to go to the database. Using SQL enterprise manager you should be able to find under the databases name a section called stored procedures. The order normally goes (in the tree) Diagrams, Tables, Views, Stored Procedures. So if you click on the stored procedures you should be able to find one called sp_XXXXX. The by double clicking on that procedure you should be able to find the SQL code you have been looking for. Stored procures are a little different from just standard SQL though and you may need to read up on them before you edit the ones you need to. Past another question with the Stored procedure content if you are still looking for help. I hope this helped. Leith