Viewing 15 posts - 2,776 through 2,790 (of 11,676 total)
Did you enable the event ScriptTaskLogEntry in the SSIS log details tab for the script task?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 2:51 am
Second query:
UPDATE a
set [Verwijderd] = getDate()
from [artikelen] a
WHERE NOT EXISTS (SELECT 1 FROM [Hofstede].[dbo].[sparepartsupdate] SP WHERE a.[PartNrFabrikant] = SP.[PartNrFabrikant]);
The third query, shouldn't that be an INSERT statement?
ps: dt-fout in commentaar...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 2:37 am
My guess is that you stored the password for SA in the package, but used EncryptSensitiveWithUserKey as the protection level of the package.
On server B, another user is used to...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 2:09 am
I think I have finally met the "exception on the rule" for SELECT *.
Select on an Oracle view with all the of the columns in the SELECT clause: 36 minutes...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:55 am
There is no easy DMV to look for failed transactions.
You need to have some monitoring in place.
http://dba.stackexchange.com/questions/44836/get-transactions-that-failed-or-were-never-committed
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:44 am
They are not too difficult in my opinion. Anyone with at least a year of SQL experience should be able to answer these more or less correct.
(and I'm just a...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:31 am
1. The budgets can be stored inside the data warehouse. This is typicall in another fact table and usually at another grain than the fact table with the "actuals". For...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:24 am
Are there a lot of failed transactions against that table?
If a transaction is initiated, an identity value is allocated. If the transaction fails, the allocated identity value is "lost".
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:12 am
Put your code inside the script task into a try catch.
Inside the catch blog, log the error message.
Make sure you enable the ScriptTaskLogEntry event in the...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:07 am
I haven't tried it myself, but I see no reason why not, as long as your Windows 8 runs IIS.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:04 am
Suppose you have a fact table in which you store orders from an e-commerce website.
There are various dates linked to a transaction:
* order date = the date the customer ordered...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 1:02 am
WITH CTE_AssignRowNumber AS
(
SELECT
historyid
,locationid
,flag
,createddate
,modifieddate
,RID = ROW_NUMBER() OVER (PARTITION BY locationid ORDER BY modifieddate DESC)
FROM #templocationhistory
)
UPDATE t
SET maintainancefalg = cte.flag
FROM #templocation t
JOIN
(
SELECT locationid, flag
FROM CTE_AssignRowNumber
WHERE RID = 1
) cte ON t.locationid...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 12:54 am
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 12:46 am
The Dixie Flatline (6/5/2014)
The 😉 was intended to denote sarcasm, guys.
They have a punctuation symbol for that:

Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 12:19 am
Sean Lange (6/5/2014)
http://www.sqlusa.com/bestpractices/%5B/url%5D
Don't worry there is soap for your eyes. Then if you read some of the content you may want to find...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 6, 2014 at 12:15 am
Viewing 15 posts - 2,776 through 2,790 (of 11,676 total)