Viewing 15 posts - 12,646 through 12,660 (of 18,923 total)
The only way is to lock the whole table while you do the insert so that noone else can read/update from it... can be a pain in the ass if...
October 6, 2005 at 1:28 pm
SET SHOWPLAN_TEXT ON
GO
Select 'query here'
GO
SET SHOWPLAN_TEXT OFF
October 6, 2005 at 1:23 pm
Can you post the execution plans?
October 6, 2005 at 1:07 pm
Do a search for parameter sniffing, you'll see what to do to fix this problem.
October 6, 2005 at 12:58 pm
The problem with this approach is that if you have the tables Users and UsersPermissions and that the view uses the table UsersPermissions, then the like will catch a hit...
October 6, 2005 at 12:35 pm
How could a pair of date cause a loop in a query???. The condition is either true or false, how can this generate a recursing/looping algorithm of some kind??
October 6, 2005 at 12:24 pm
We seriously need more info than that : Help us help you
October 6, 2005 at 12:20 pm
That's the easy part for us >> Good luck
.
October 6, 2005 at 12:17 pm
only "10/3/2005 " is impossible if it's really a smalldatetime column. What does the source data looks like?
Are you talking about the seconds missings or just the lack of...
October 6, 2005 at 12:11 pm
Sounds simpler
.
October 6, 2005 at 12:07 pm
You'll have to create it in the beforeinsert() event if you want to stop that error... or forbid that they enter data for child, whichever makes sens in your application.
October 6, 2005 at 12:05 pm
Just a question... How would someone generate such an infinite loop?
Why not block that by forbidding the use of the while keyword in the query?
October 6, 2005 at 12:04 pm
May I ask what the dateadd is supposed to do in this context?? (DATEADD(M, - 0, GETDATE()))
October 6, 2005 at 11:59 am
I C, as I said I never had to do that so I'll trust your tests to know what's the fastest way
.
October 6, 2005 at 11:51 am
Viewing 15 posts - 12,646 through 12,660 (of 18,923 total)