Hi.
I work with an database application that uses MS SQL server (actually MSDE in my case) to manage records for its database. Like any other application, it has a GUI for users to enter transactions - the app then takes these transactions and translates them into SQL commands that are sent to SQL server.
For certain easy tasks, I find the user interface too cumbersome to work with, and instead, I would like to write my own program to automatically perform these tasks in one step. In other words, I would like to mimick the same SQL commands that the application currently does when it performs one of these tasks. For instance, when the application adds an entry to the database, it might issue a command like "INSERT INTO table (a,b,c) values (1,2,3)".
I want to be able to write my own program which itself issues this same command to SQL server.
I haven't done anything like this before, so I am wondering if this sounds reasonable to accomplish, or am I in over my head?
First, I need to figure out how my app currently writes to its database tables when a user of the application performs particular task. For this, I assume I will need to get my hands on some sort of SQL database auditing tool that can log all commands issued to SQL server, when I use the app to perform that task. When I get that information, I will write a program that just copies the syntax of those commands.
I searched around the web, and found this software called "Log Explorer" from Lumigent. Does anyone know if this can do what I want? (i.e. get the exact commands issued to SQL server when I use the application?)
I work with an database application that uses MS SQL server (actually MSDE in my case) to manage records for its database. Like any other application, it has a GUI for users to enter transactions - the app then takes these transactions and translates them into SQL commands that are sent to SQL server.
For certain easy tasks, I find the user interface too cumbersome to work with, and instead, I would like to write my own program to automatically perform these tasks in one step. In other words, I would like to mimick the same SQL commands that the application currently does when it performs one of these tasks. For instance, when the application adds an entry to the database, it might issue a command like "INSERT INTO table (a,b,c) values (1,2,3)".
I want to be able to write my own program which itself issues this same command to SQL server.
I haven't done anything like this before, so I am wondering if this sounds reasonable to accomplish, or am I in over my head?
First, I need to figure out how my app currently writes to its database tables when a user of the application performs particular task. For this, I assume I will need to get my hands on some sort of SQL database auditing tool that can log all commands issued to SQL server, when I use the app to perform that task. When I get that information, I will write a program that just copies the syntax of those commands.
I searched around the web, and found this software called "Log Explorer" from Lumigent. Does anyone know if this can do what I want? (i.e. get the exact commands issued to SQL server when I use the application?)