Viewing 15 posts - 8,026 through 8,040 (of 8,753 total)
itsgaurav (6/11/2014)
Create Nonclustered Index In_product_pdid
ON Product(pd_id)
INCLUDE pd_desp; <- Include product description column with Index
GO
My Question is in 60% query i need pd_desp...
June 12, 2014 at 12:59 am
Thanks Jim, a worthy subject, although somewhat simplified. Often it tends to be not only two sides but four or five, including database developers, business analysts and solution-, database- and...
June 12, 2014 at 12:47 am
It is safer to use the IDENT_CURRENT function as it "returns the last identity value generated for a specific table in any session and any scope."
😎
June 12, 2014 at 12:33 am
June 11, 2014 at 8:45 pm
J Livingston SQL (6/11/2014)
In a similar vein .....what's the current UK market like?
As for the UK market goes, the demand is there but the remuneration isn't brilliant, especially in the...
June 11, 2014 at 8:38 pm
Sean Lange (6/11/2014)
Eirikur Eiriksson (6/11/2014)
Grin aside, the last comment is uncalled for, it will not earn you any respect.
I don't think Joe is all that worried about earning respect. Might...
June 11, 2014 at 2:37 pm
CELKO (6/11/2014)
The proprietary, non-relational IDENTITY is a table property and not a column (but...
June 11, 2014 at 1:42 pm
Here is a solution entirely based on SQL 2012 window functions, I left it a little long winded to make it easier to follow.
😎
USE tempdb;
GO
IF OBJECT_ID('tempdb.dbo.sales') IS NOT NULL...
June 11, 2014 at 10:48 am
Roust_m (6/10/2014)
Just installed standard editon, put tempdb on SSD and configured buffer pool extension to SSD. Ran some production replay trace. Very slow. Eats a lot of...
June 11, 2014 at 12:34 am
Evil Kraig F (6/10/2014)
What performance concerns are you worried about from the concatonation technique? You should see little to no performance difference for a concatonation technique vs. a more...
June 11, 2014 at 12:18 am
SQListic (6/10/2014)
How to create insert statements of the data from a table for top 'n' rows. I know we can create using generate scripts wizard, but we can't customize the...
June 10, 2014 at 10:31 pm
From the top of my head, it would be
😎
EXEC dbo.sp_update_job @job_name = N'Job_Name',@enabled = 0
GO
From the command line
sqlcmd -S server -d database -Q "EXEC dbo.sp_update_job @job_name = N'Job_Name',@enabled =...
June 10, 2014 at 10:15 pm
TomThomson (6/10/2014)
Eirikur Eiriksson (6/10/2014)
Somehow I struggle with accepting the justification for zero division used for projection (Riemann) when it counts for a fraction of a permille in terms of application.😎
a...
June 10, 2014 at 2:24 pm
The Dixie Flatline (6/10/2014)
When I set statistics time,io on for the JOIN solution, it gives the following results:
Table '#B558B379' Scan count 0, logical...
June 10, 2014 at 1:58 pm
below86 (6/10/2014)
June 10, 2014 at 1:46 pm
Viewing 15 posts - 8,026 through 8,040 (of 8,753 total)