Viewing 15 posts - 48,676 through 48,690 (of 49,571 total)
Agreed on the wrapper proc.
Recompile can cause serious bottlenecks, not just because of the CPU time to do the compile.
While an object is being compiled, an exclusive lock is...
May 24, 2007 at 5:59 am
I'd suggest split into two. One for when the beginning of the name is specified (because it can use an index if there is one on name) and one for...
May 24, 2007 at 3:31 am
I'd recomend removing the recompile and rather split the stored proc into two, one that retrieves all candidates, one that retrieves a single one by name.
The problem is that depending...
May 24, 2007 at 1:48 am
Two databases, or two tables?
Can you provide the table's structure, some sample data and an example of what you want please
May 24, 2007 at 1:30 am
Your wild cards are a little too wild. Keywords LIKE '%c%' will match any of the following. 'Access','Visual Basic','C#', 'Javascript','Cobol',etc
That may be the cause of your 'ghosts'
May 24, 2007 at 12:52 am
The same way you'd use it outside a stored proc, or anywhere else for that matter
SET <variable> = dbo.<functionname>(<parameter list> )
May 24, 2007 at 12:37 am
And please don't post multiple threads regarding the same problem
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=338&messageid=367811
May 22, 2007 at 7:03 am
Are the tables in Access or in SQL? * is the access wildcard. % is the sql equivalent.
p.s. using wildcards like you are will almost guarentee terrible performance with large...
May 22, 2007 at 6:52 am
That query should be fine, and there should be no need for locking hints.
Please can you post the enire trigger code and the schema of TableA?
May 22, 2007 at 5:54 am
There is one? That's news. Could you drop me a private message wit it please?
May 18, 2007 at 7:28 am
Or when the query includes a half-written stored proc. See the OP's latest posting.
May 18, 2007 at 7:03 am
Between works quite well.
Think about what it means for an ip address to be in a range.
May 18, 2007 at 1:52 am
60000 rows is small. Shouldn't have trouble changing the schema for that.
Otherwise, substrings and comparisons.
The commented out stored proc has the right idea with the substrings. You'll just have to...
May 18, 2007 at 1:22 am
Nolock has no effect in an update statement. It only affects read locks.
Could you post the trigger's code and, if possible the deadlock graph (obtained either using profiler, or from...
May 18, 2007 at 1:14 am
May 18, 2007 at 1:08 am
Viewing 15 posts - 48,676 through 48,690 (of 49,571 total)