
February 6th, 2013, 06:41 AM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 2
Time spent in forums: 1 h 3 m 20 sec
Reputation Power: 0
|
|
|
Hi,
the drop of the column is part of the update-procedure of an CRM-Application. The statements itselfs are from an .dll where I can`t get the sources for. So the dll is used to update the db, the only thing I can see is what the SQL-Profiler shows me. This way I found out how many indexes I could use to speed up the process. The creation and the drop of the indexes takes abiut 3min.
As one step of the update procedure takes about 20h without custom indexes (and there about 20 steps in total) I can`t let the profiler run all the time and I also don`t want to rewrite the whole updateprocedure just with the help of the SQL-Profiler.
It would not be a problem if the statement was an insert update or delete as I could use an "instead of" trigger. So I am seraching for something like an rewrite rule for actual queries or for something like an "instead of"-Trigger for an Alter Table statement.
|