Hi guys
I've been left to fix up a heap of problems with an application i'm not familiar with.
One problem is that i keep getting a timeout when i'm trying to perform a delete function in the application. The reason its timing out though is because before it performs the delete it does another query that looks like
select top 1 * from event where act_id=1237
is there any way to get this query to run any faster??
the primary key of the event table is event_id, and i don't think there is any index on the act_id field.
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)
I've been left to fix up a heap of problems with an application i'm not familiar with.
One problem is that i keep getting a timeout when i'm trying to perform a delete function in the application. The reason its timing out though is because before it performs the delete it does another query that looks like
select top 1 * from event where act_id=1237
is there any way to get this query to run any faster??
the primary key of the event table is event_id, and i don't think there is any index on the act_id field.
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)