Viewing 15 posts - 5,581 through 5,595 (of 15,381 total)
pretea (2/28/2014)
Going back to my initial scenario. I have stored procedure created in one database but in the stored proc itself,...
February 28, 2014 at 10:08 am
smrtstpetesmith (2/28/2014)
For a bit field, is usingWHERE mybit = 0x0
faster than
WHERE mybit = 0
I am being told to use 0x0 but am not yet convinced.
Thanks!
Why don't you do some performance...
February 28, 2014 at 9:48 am
I was thinking the same thing Steve. Not sure I can commit to this one at the moment since I still owe you an article on another topic.
February 28, 2014 at 9:48 am
Not sure why I made my query so over complicated in my previous post. I guess it was near the end of the day and my brain had already shut...
February 28, 2014 at 9:46 am
Lowell (2/28/2014)
i think this view is supposed to populate with values, even if the...
February 28, 2014 at 9:44 am
pixeldude (2/28/2014)
Sean Lange (2/28/2014)
February 28, 2014 at 9:40 am
JoshDBGuy (2/28/2014)
Sean Lange (2/28/2014)
JoshDBGuy (2/28/2014)
February 28, 2014 at 9:00 am
As a shot in the dark...have you updated statistics? That could very likely be the issue here. How much data is being affected by this query?
February 28, 2014 at 8:57 am
From what you posted I don't see any need for any looping construct or dynamic sql.
In order to help we will need a few things:
1. Sample DDL in the form...
February 28, 2014 at 8:53 am
I tried below query it works fine when @extract = 'Yes' but not the other way .. i am getting way too many records
DECLARE @Extract VARCHAR(10)
DECLARE @desc VARCHAR(10)
SET @desc =...
February 28, 2014 at 8:48 am
JoshDBGuy (2/28/2014)
February 28, 2014 at 8:43 am
JoshDBGuy (2/28/2014)
February 28, 2014 at 8:36 am
You absolutely do not need a cursor for this. Cursors are horrible for performance as you obviously realize. We can help you but first you need to help us by...
February 28, 2014 at 8:34 am
pretea (2/27/2014)
if possible can you provide script?
Did you actually read my response? I would not even attempt to script this if accuracy is even a second thought. There are just...
February 27, 2014 at 3:30 pm
Sounds like a good opportunity. I have a couple of ideas in mind. Of course I have another article I need to get finished first...
February 27, 2014 at 2:14 pm
Viewing 15 posts - 5,581 through 5,595 (of 15,381 total)