Viewing 15 posts - 6,046 through 6,060 (of 11,676 total)
Gopi S (12/20/2012)
Unique Constraint creates Unique Index to maintain...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 20, 2012 at 12:51 am
SQLRNNR (12/20/2012)
Stewart "Arturius" Campbell (12/20/2012)
It depends on whether filtered indexes are utilised or not, etc.
However, it could be that...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 20, 2012 at 12:38 am
Stewart "Arturius" Campbell (12/20/2012)
However, it could be that the PO intended that the use of filtered index(es) is implied (or should be assumed)...
Maybe, but my crystal ball is in the...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 20, 2012 at 12:27 am
The second option will only work if the transaction involves only SQL Server related tasks, and they all must use the same connection manager (you need to set the RetainSameConnection...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 20, 2012 at 12:19 am
Got it wrong because the question specified unique constraint instead of unique index.
And even then, the unique index in the sample code doesn't allow NULLs. The index is defined on...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 20, 2012 at 12:16 am
Easy one, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 11:56 pm
dwain.c (12/18/2012)
The first anniversary of...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 5:51 am
You can use the Import Column task to import the PDF files into the database.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 5:00 am
Your date dimension should have a Year attribute.
Just put the year attribute on one axis and the measure on the other.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 3:24 am
How is your cube designed? Normally when you have facts linked to your date dimension, you automatically get the YTD for the last year when you browse on the year...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 3:12 am
Not sure what the question is, but it seems you're right, ADO.NET and the native client are more flexible.
Just a sidenote: the OLE DB provider is deprecated since the release...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 3:10 am
I managed to write some code that doesn't use a cursor, so hooray for performance 🙂
SELECT
ID= tmp.ID
,Value= t3.[Value]
FROM
(SELECT t1.[ID]
,MaxID = MAX(t2.ID)
FROM[dbo].[Test] t1
INNER JOIN[dbo].[Test] t2 ON [t1].[ID] >=...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 2:40 am
An easy query:
SELECT name
FROM DB1.sys.[tables] t
WHERE [type] = 'U'
INTERSECT
SELECT name
FROM DB2.sys.[tables] t
WHERE [type] = 'U';
It doesn't take the schema into account.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 2:17 am
Easy one, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2012 at 12:24 am
Clever spam?
http://www.sqlservercentral.com/Forums/Topic1393283-17-1.aspx#bm1397555
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 17, 2012 at 11:09 pm
Viewing 15 posts - 6,046 through 6,060 (of 11,676 total)