Viewing 15 posts - 2,386 through 2,400 (of 13,879 total)
Database security is one of those things which in my experience is difficult to handle within SSDT.
It can be handled in environment-aware post-deployment scripts, or completely outside SSDT. Outside SSDT...
October 14, 2020 at 4:15 pm
Is it going to be impossible to discuss without sample data? If so, let me know and I will create a spreadsheet. If you have a test data generator...
October 14, 2020 at 3:20 pm
Option 2 is probably the way to go. Cross database dependencies are very difficult to deal with in SSDT. I always found I had to do a certain amount...
October 14, 2020 at 1:50 pm
As it's a full table scan, there's not so much you can do.
You could read this & then experiment with the DefaultBuffer settings.
Definitely use Fast Load and destination table...
October 14, 2020 at 1:34 pm
Are you sure that the user executing the script has rights to update MSDB?
As this is a large script, it's usually considered good practice to put it into a stored...
October 13, 2020 at 5:38 pm
Rather than continuing down the path you're on, I suggest getting SSIS running as a domain service account user. Then you can assign the required privs to the service account...
October 13, 2020 at 4:26 pm
Are server A and server B in the same domain?
October 13, 2020 at 3:55 pm
Ugly, but this works:
DECLARE @SchedStart VARCHAR(25) = '2020-06-07-12.30.00.00000';
SELECT @SchedStart
,CAST(STUFF(STUFF(STUFF(LEFT(@SchedStart, 23), 11, 1, ' '), 14, 1, ':'), 17, 1, ':') AS...
October 12, 2020 at 9:09 pm
If there are multiple different values for 'result' in any particular grouping, which one of those would you like to return?
October 9, 2020 at 7:32 pm
If you've got SQL Search at the ready, try searching SSISDB procs for the text 'EncryptByKey'. I think that will indicate most, if not all, of the encrypted columns.
October 7, 2020 at 9:00 pm
Out of interest, what do you mean by 'does not have the master key open'? I've never had to deal with anything like that.
October 7, 2020 at 5:53 pm
Here's another way
DROP TABLE IF EXISTS #Stuff;
CREATE TABLE #Stuff
(
SomeText VARCHAR(1000) NOT NULL
);
INSERT #Stuff
(
SomeText
)
VALUES
('ID=205&SID=1005&TID=3')
,('ID=25&SID=1005&TID=3')
,('ID=2&SID=1005&TID=3')
,('ID=2006&SID=1005&TID=3');
SELECT s.SomeText
...
October 7, 2020 at 2:56 pm
Please read this for details of how NOLOCK can make things go wrong.
October 6, 2020 at 5:21 pm
I was seriously considering setting up a consultancy yesterday and offering my services to HM Gov at a fixed fee of £20m to set up a process using punched...
October 6, 2020 at 4:00 pm
Viewing 15 posts - 2,386 through 2,400 (of 13,879 total)