Viewing 15 posts - 3,256 through 3,270 (of 13,855 total)
Why do you refuse to format your code?
Your SELECT should be outside of your WHILE loop.
October 4, 2019 at 2:59 pm
We have a dumping ground Utility Database here and it works well.If you can try and get him to come around to the idea, you'll likely start finding other...
October 4, 2019 at 2:26 pm
You should declare your table variable outside of the WHILE loop, otherwise it will keep getting reinitialized.
Phil, I agree that the table should be declared outside of the...
October 4, 2019 at 2:24 pm
Shame about your DBA. A Utility database is a rather good idea, in my opinion – I'm with Thom about not putting non-system objects inside system (or pseudo-system) databases. With...
October 4, 2019 at 1:56 pm
You should declare your table variable outside of the WHILE loop, otherwise it will keep getting reinitialized.
October 4, 2019 at 1:49 pm
Suggestion #1, please format your code in future. See how much easier it is to read ...
DECLARE @StartDateTime DATETIME = '2019-09-01T00:00:00';
DECLARE @EndDateTime DATETIME = '2019-09-01T23:59:59';
DECLARE @Location VARCHAR(50);
DECLARE...
October 4, 2019 at 1:47 pm
Yes, that's the way to go.
Though having Development and Production on the same server makes me shudder.
October 4, 2019 at 1:45 pm
Ok, I’m officially envious.
how well thongs must be organised at your place, if this kind of events come as a surprise for you?
i can hardly remember when things went...
October 3, 2019 at 10:28 pm
TFS cannot deploy packages on its own.
You can use Visual Studio to create an ispac (by building the solution containing the packages) from whichever branch you are interested in, and...
October 3, 2019 at 4:45 pm
When I am running the SP in SQL, its running absolutely fine and giving me message "1 row affected " in message window.
Note that I am already using "SET...
October 3, 2019 at 1:40 pm
I'm pretty sure the answer will be no. As the contents of packages are encrypted inside SSISDB, there would be no way of interrogating them.
October 3, 2019 at 11:53 am
If you don't post your code, we can't find syntax errors in it.
October 2, 2019 at 7:13 pm
Sounds like a candidate for a temporal table. Have you checked that out?
Might fix them up going forward, but won't solve the immediate problem, which sounds like it has...
October 2, 2019 at 2:36 pm
Are you talking about passing in the start and end dates to the master package as parameters?
If so, set them up as, erm, parameters in the master package.
And then, you...
October 1, 2019 at 10:22 pm
Like this?
DROP TABLE IF EXISTS #temp_Samples;
CREATE TABLE #temp_Samples
(
Guid UNIQUEIDENTIFIER NOT NULL
,LastDate DATETIME NOT NULL
);
INSERT #temp_Samples
VALUES
('D87BF755-44C2-415A-A241-1512409F52E3', '2019-07-10 20:09:32.000')
,('929DF755-44C2-415A-A241-1512409F52E3', '2019-09-17 20:19:01.000')
,('42A2F755-44C2-415A-A241-1512409F52E3', '2019-09-17...
October 1, 2019 at 7:11 pm
Viewing 15 posts - 3,256 through 3,270 (of 13,855 total)