Viewing 15 posts - 316 through 330 (of 1,825 total)
Just to add to Lowell's list , different SET options can cause different query plans to be created.
But 9 times out of 10 ( or even more) this sort of...
March 1, 2011 at 2:11 pm
Another option
select Oid
from orders
group by oid
having MAX(item) = MIN(item)
and MIN(item) = '1063'
March 1, 2011 at 1:49 pm
The obvious issue with this sort of query is that you have to have a finite limit to the depth of recursion that can be displayed.
You may be better of...
March 1, 2011 at 3:09 am
Hi ,
The problem here is that we have no idea what value
25434 for example will represent.
Is that seconds ? milliseconds ? centi-seconds ? deca-seconds ?
2 hrs 54 minutes and 34...
March 1, 2011 at 1:33 am
I dont think you have to do anything like that, just make you SSIS flat file source , "Fixed width".
February 28, 2011 at 8:29 am
Sounds like a parameter sniffing problem,
http://technet.microsoft.com/en-us/library/cc966425.aspx
are you using parameterized queries when it runs slow ?
February 28, 2011 at 8:19 am
Grant Fritchey has written a very good one
February 28, 2011 at 8:10 am
Seems to me that BCP or OPENQUERY may be a better route for you.
February 28, 2011 at 5:10 am
In addition to what Lowell said, I wrote an article on this exact subject a while back
February 25, 2011 at 5:50 am
Sounds like a better bet might be the WMI watcher
February 25, 2011 at 1:52 am
Im assuming that this is a homework assignment!
This is quite a convoluted mess.
Altering tables ,and the excessive amounts of dynamic sql, as you have done is not something you should...
February 25, 2011 at 1:37 am
Ill be presenting at SQLBits again in april
Graveyard shift on Saturday
February 20, 2011 at 4:03 pm
Stefan Krzywicki (2/18/2011)
That's what I get for trusting the internet!
Yeah, its very overrated 😀
February 18, 2011 at 12:55 pm
Gianluca Sartori (2/18/2011)
If I didn't post on THE THREAD a "Lennie alert" nobody would have noticed, Lennie would have got his answer and...
February 18, 2011 at 6:58 am
Jeff Moden (2/18/2011)
Check my code where I mentioned the possible use of a Calendar Table. 🙂
My bad , far to subtle a reference for me to spot 😀
February 18, 2011 at 6:06 am
Viewing 15 posts - 316 through 330 (of 1,825 total)