Viewing 15 posts - 1,741 through 1,755 (of 6,486 total)
While I have not seen the error, I can't think of a situation where OPENQUERY would help your get out of an error during an Insert, unless it had something...
August 28, 2009 at 9:12 am
Agreed - it's not that the counters are wrong - it's that things change about how to interpret them.
Usually with a SAN you end up having to take into account...
August 27, 2009 at 6:52 am
I had noticed "The Thread" doing that as well. I just hadn't seen any others.....
August 26, 2009 at 7:51 am
you need to build the ENTIRE statement (the openquery itself AND the query that uses the openquery) as a string and then execute that as dynamic SQL.
August 26, 2009 at 7:27 am
this is often a matter of how you use what you get back, rather that what is being returned from the stored procedure. I've returned results that are substantially...
August 25, 2009 at 12:32 pm
Inner JOIN is permutative, so there really is no difference between the 2.
The engine makes its own determination what the "base" table is, so it really doesn't matter which you...
August 25, 2009 at 10:40 am
What Lynn and Elliott said...:)
August 25, 2009 at 10:23 am
The statements mean different things when you are dealing with outer joins. You won't get the same records.
For example:
select *
from TableA
...
August 25, 2009 at 10:15 am
Ken McKelvey (8/25/2009)
Even to SQL2008, SCOPE_IDENTITY() etc still have a parallelism bug.
...which is why once you get to 2005 or above, the only thing you should be using is the...
August 25, 2009 at 10:09 am
rjv_rnjn (8/25/2009)
August 25, 2009 at 9:39 am
With the amount of info you're giving us, it's fairly hard to tell. What is it you're trying to do?
August 25, 2009 at 8:40 am
You could use a modified version of Jeff Moden's "running total" solution to carry the value around. In high cardinality sets - it should outpace the correlated subquery rather...
August 24, 2009 at 3:15 pm
Take a look at this article. It should help you write this with on "single row updates" going on.
http://www.sqlservercentral.com/Forums/FindPost449802.aspx
Let's just say - time to kick the training wheels off...
August 24, 2009 at 3:03 pm
It sounds like your XML has a self-describing section. In other words - there's a section explaining the data layout, and one for the data itself.
In most cases you...
August 24, 2009 at 1:55 pm
Lynn Pettis (8/24/2009)
August 24, 2009 at 1:35 pm
Viewing 15 posts - 1,741 through 1,755 (of 6,486 total)