Viewing 15 posts - 151 through 165 (of 499 total)
It's normal. See here:
How It Works: When is the FlushCache message added to SQL Server Error Log?
Gerald Britton, Pluralsight courses
October 13, 2015 at 1:42 pm
Why not generate one INSERT command:
INSERT @p Values
(id0), (id2), ..., (idn)
Gerald Britton, Pluralsight courses
October 9, 2015 at 12:59 pm
Something like this, perhaps?
SET @sql='SELECT EVENTUID,EVENTTIMESTAMP,EVENTMAJORTYPE,EVENTMINORTYPE INTO #TEMP
FROM ' + @WgnWCUser + '.EMPLOYEE A WITH(NOLOCK)
WHERE A.'+@TIMESTAMP+' >= ''' +convert(char(8), @datFrom, 112) + ''' AND A.'+@TIMESTAMP+' < ''' + convert(char(8), @datFrom,...
Gerald Britton, Pluralsight courses
October 9, 2015 at 9:33 am
Eric M Russell (10/7/2015)
I'd rather have more generic SSIS packages and manage 100s of viewst.
So would I, but you can't have generic dataflows unless the views produce the same columns...
Gerald Britton, Pluralsight courses
October 7, 2015 at 2:00 pm
This part:
Select Count(C2.AppID) From Channels c left join Applications a on c.ChannelID = a.SourceID left join Contracts2 c2 on a.AppID = c2.AppID Where Channels.ChannelID = c.ChannelID
makes no sense...
Gerald Britton, Pluralsight courses
October 7, 2015 at 1:54 pm
What is the Protection Level of the package set to? (DontSaveSensitive, EncryptSensitiveWithUserKey, EncryptSensitiveWithPassword, EncryptAllWithUserKey, EncryptAllWithPassword, ServerStorage)
fwiw We store credentials like that either in an XML config file or in a...
Gerald Britton, Pluralsight courses
October 7, 2015 at 12:42 pm
John Rowan (10/6/2015)
Gerald Britton, Pluralsight courses
October 7, 2015 at 12:37 pm
October 7, 2015 at 11:58 am
You aliased table Chanels as c, effectively hiding Chanels so you can't use it anymore. Replace Chanels. with c.
Gerald Britton, Pluralsight courses
October 7, 2015 at 11:56 am
Just realized, you have the same table as the target and part of the source. Merge doesn't work properly in that scenario
Gerald Britton, Pluralsight courses
October 7, 2015 at 11:31 am
By "not working" do you mean that you get an error (if so please post the message) or that rows are not inserted when you think they should be?
If the...
Gerald Britton, Pluralsight courses
October 7, 2015 at 11:30 am
have you checked out Find Most Expensive Queries Using DMV[/url]
Gerald Britton, Pluralsight courses
October 7, 2015 at 11:02 am
If this is reproducible, fire up profiler to look for deadlocks and get the deadlock graph while running the package. Then you'll see why.
Gerald Britton, Pluralsight courses
October 6, 2015 at 2:30 pm
Cond. Split is the way to go. Look for rows starting with 'DET' and process those.
Gerald Britton, Pluralsight courses
October 6, 2015 at 2:28 pm
Perfmon to the rescue!
Good writeup here: Measuring Disk IO performance for SQL Servers
Gerald Britton, Pluralsight courses
October 6, 2015 at 2:26 pm
Viewing 15 posts - 151 through 165 (of 499 total)