Viewing 15 posts - 61 through 75 (of 129 total)
E-book is always a good option if you can download it for free.
Hard copy helps me to read further as on my laptop or ipad, I start playing games after...
September 28, 2013 at 4:37 am
First it will validate check constraint on the row.
If you are inserting/updating row by row then in case of violation, it will raise exception on the row and will...
September 28, 2013 at 2:33 am
Gail is about to touch 'SSC-Forever'
Steve giving tough fight to Jeff.
September 28, 2013 at 1:54 am
#3 (Divide and Conquer) has an advantage that will likely grow depending on the number of rows in your table (the more rows, the more the initial INSERT capturing the...
September 27, 2013 at 7:54 am
Thanks Dwain.C
Kindly ignore my earlier post, I missed it completely. Actually, Other four solutions are giving accurate results
My results goes as below:
1.hunchback
WITH C1 AS (SELECT Shift FROM test12 WHERE...
September 27, 2013 at 3:39 am
Thanks hunchback, Sean Lange and dwain.c for help.
I'm going with CROSS APPLY as it has least logical reads and lesser cost then other two.
Thanks Again.
September 26, 2013 at 11:05 pm
Thanks for your explanation.
So, should I conclude that I do not have to rely on Execution Plan for optimization of my query. Instead, I should check it only for any...
September 18, 2013 at 11:08 pm
I never purchased any books to start with SQL Server. Instead I started with simple and small projects, where I had to write small insert/update/delete queries. After few years I...
September 18, 2013 at 7:59 am
Grant,
What I have learn is, we have a "estimated plan" and a "actual plan". When we execute a query, SQL gives us the actual plan of what it had...
September 18, 2013 at 6:44 am
If you are concerned only about output then use any of these solutions (MAX or OFFSET...FETCH).
If you are also looking for performance (and your table has proper...
September 17, 2013 at 3:42 am
I have SQL 2008 and SQL 2012 on same machine, and both are working fine.
September 12, 2013 at 10:51 am
Chris,
I split the OR condition of query in two parts and combined results of both queries with UNION ALL. New query is 50% faster. I have attached new plan for...
September 3, 2013 at 6:46 am
Mr. Neeraj,
As you can see it is not closed, we will appreciate if you can come up with some solution. We assure you that this...
September 3, 2013 at 3:22 am
Hi Chris,
Thanks again for your help.
I could not see any performance difference with/without function. I have pasted the function for you. Meanwhile I'm looking into third point you suggested.
CREATE FUNCTION...
August 27, 2013 at 11:12 pm
I have attached both execution plans and statistics.
With Index :
(3 row(s) affected)
Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob...
August 27, 2013 at 6:44 am
Viewing 15 posts - 61 through 75 (of 129 total)