Intercept sql statement

Z

Zabuti Maxim

Hi,
I need a way to intercept and modify SQL statement with parameters
sent by .NET application. It should be transparently, I mean I don't
want application to be recompiled. Is there any simple way to do this?
Thanks
 
G

Gregory A. Beamer

Hi,
I need a way to intercept and modify SQL statement with parameters
sent by .NET application. It should be transparently, I mean I don't
want application to be recompiled. Is there any simple way to do this?
Thanks

This is one reason stored procedures are sometimes preferred in
applications. You can change the actual queries without recompiling. Sprocs
are also good if you have to change schema.

But I think you want a piece that sits between the actual running of the
query and it being sent from your .NET application. And I don't think that
is possible without altering the database somehow, if at all.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top