Viewing 15 posts - 20,431 through 20,445 (of 22,202 total)
Piling on at this point, but what the heck...
TSQL is easy. WAY TOO EASY.
Developers look at it, learn the syntax and, as far as they're concerned, they're done. What they...
May 8, 2008 at 6:27 am
One guess. When running the query from Management Studio, do you have hard coded parameters like this:
DECLARE @MyParm int
SELECT...
FROM dbo.View
WHERE SomeColumn = @MyParm
Then of course the proc might look...
May 8, 2008 at 6:11 am
VARCHAR(MAX) probably needs to be streamed to ODBC, but I would think the max value would be a page worth of data, 8000, not 256 characters. I haven't seen a...
May 8, 2008 at 5:56 am
Don't bow. You're right. 100%.
I think most of us have been focused on the indexes. I'm still a bit bothered by the cluster being on such non-selective columns. It's not...
May 8, 2008 at 5:36 am
GSquared (5/7/2008)
antonio.collins (5/7/2008)
user defined procs in master. ewww!Yeah, that's why I create a Common database for that kind of thing.
Same here. Don't put this stuff in master. Don't...
May 8, 2008 at 5:31 am
Same here. Can you generate execution plans for the two queries? Estimated of course since you don't want to wait for 10+ minutes again.
May 7, 2008 at 1:22 pm
Generally, don't use them. Ever. Yes, there are exceptions to that rule, but you need to be extremely careful when deciding you have an exception. You may not actually have...
May 7, 2008 at 11:08 am
Nope. GO is an external construct for scripting within SSMS, not an actual part of TSQL as such. How about COMMIT TRAN?
May 7, 2008 at 7:51 am
Oooh! I may have to try that just to see what happens. I'll bet you looked great on that one. But here's a question, how long did it take you...
May 7, 2008 at 7:48 am
OK. Jack's explanation is more clear. Go with that one.
May 7, 2008 at 7:42 am
GO acts to close off open transactions.
May 7, 2008 at 7:42 am
Whatever the DTS package is doing, the transaction is so large that it's filling the log file. Break the transaction down into more discrete parts so that you get...
May 7, 2008 at 6:47 am
First, you've got one index that's completely a waste (there may be more). Index 11 eliminates the need for index 7 because they both have the same leading edge. So...
May 7, 2008 at 6:46 am
Queries submitted to SQL Server go through a process called the optimizer. It makes decisions based on the data in the database as to what order to do certain processing...
May 7, 2008 at 6:39 am
Viewing 15 posts - 20,431 through 20,445 (of 22,202 total)