Viewing 15 posts - 2,716 through 2,730 (of 13,853 total)
Why use log files, when you can log natively to SSISDB, as described here? Much easier, in my opinion, to keep all of the logging info in one place.
April 22, 2020 at 4:14 pm
What is the requirement exactly?
Is it as simple as replacing an asterisk with five zeros, or do you want something which fills out the numeric part with leading zeros, to...
April 22, 2020 at 2:49 pm
As suggested above, this is a generic error. Improving the error-checking/reporting code in your package is a very good idea.
Also, if you check the All Executions report for the package,...
April 22, 2020 at 1:48 pm
Hello Jeff
For security policies. which this as srv3 is a computer with windows xp and sql server express and cannot be connected to the main network.
What sort of security...
April 22, 2020 at 1:45 pm
One option is using SQLCMD mode
USE DB1;
:r C:\SqlScript\YourLargeScript.sql
GO
USE DB2;
:r C:\SqlScript\YourLargeScript.sql
GO
USE DB3;
:r C:\SqlScript\YourLargeScript.sql
GO
(Example stolen from here.)
April 21, 2020 at 6:34 pm
--Deleted
April 20, 2020 at 4:30 pm
I shouldnt have a problem joining the tables but my main concern was when i get to the end and write the where filter clause do I have to...
April 20, 2020 at 2:59 pm
Try using this query to get a count of rows in a table. It's super fast:
SELECT TotRows = SUM(row_count)
FROM sys.dm_db_partition_stats
WHERE object_id = OBJECT_ID('{schema}.{tablename}')
...
April 20, 2020 at 2:06 pm
With >13,000 points, you should know how to format code snippets for presentation to others.
April 19, 2020 at 8:53 pm
Here is one way. I switched things around a bit and used a temp table to show a working query:
DROP TABLE IF EXISTS #tmp;
CREATE TABLE #tmp
(
...
April 19, 2020 at 3:03 pm
Well done on getting it working ... and if you don't need the time component, that's an even better solution than what you had originally planned.
April 18, 2020 at 3:57 pm
The solution without STRING_AGG is much less elegant. Here is one way:
WITH ErrData1
AS (SELECT t1.tran_no,
t1.ref_no,
...
April 18, 2020 at 3:55 pm
WITH errs
AS (SELECT td.tran_no
,ref_no = STRING_AGG(td.ref_no, ',')
FROM
(
...
April 17, 2020 at 7:32 pm
I can get these results, can you explain what is wrong with them? I am trying to follow the conditions in your code, and this is what I get so...
April 17, 2020 at 7:15 pm
What does this 'overnight refresh' process actually do?
April 17, 2020 at 5:54 pm
Viewing 15 posts - 2,716 through 2,730 (of 13,853 total)