Viewing 15 posts - 2,866 through 2,880 (of 13,870 total)
There are faster/better ways of obtaining total row counts. Here's one:
SELECT TotRows = SUM(row_count)
FROM sys.dm_db_partition_stats
WHERE object_id = OBJECT_ID('schemaname.tablename')
AND index_id < 2
GROUP...
March 10, 2020 at 1:19 pm
Hi all, I've (finally!) tried to get this working again, this time from my office PC. Unfortunately, with exactly the same outcome.
The SQL Server service is running under the NT...
March 9, 2020 at 11:07 pm
I'm trying to pass a date to an azure blob storage source within a ForEach Loop and it doesn't look like it takes a dynamic filename. The ForEach Loop...
March 9, 2020 at 9:49 pm
Wow, that is one of the weirdest package designs I've ever seen! A source without a destination.
To make this work, please change things around to do things in the standard...
March 9, 2020 at 4:52 pm
Hi,
I am afraid to disagree with your comments, when i run the package from solution explorer it is success and could see the row got inserted. Also this is...
March 9, 2020 at 4:04 pm
Hi,
Source is OLEDB, inserting into a table with hardcoded values, this is my first pacakge in 2017. below is the script i had in Source.
I checked reports, all reports...
March 9, 2020 at 1:35 pm
... spawning 2 -3 weeks) instead of getdate to see its variation
I think you mean 'spanning'.
March 8, 2020 at 11:38 pm
I did try to help, but it seems you have not read what I wrote. Please provide the info requested.
March 8, 2020 at 6:05 pm
Check out the All Executions report for your package and see whether that gives you any clues.
What is the source of the data? Is it a file? If so, this...
March 8, 2020 at 3:46 pm
You need a GROUP BY
SELECT ID, EmpNo, Date1, SUM(Time1)
FROM [TimeReporting].[dbo].[TimeData]
WHERE Date1 BETWEEN '2020-03-01'
AND '2020-03-08'AND EmpNo = '8939'
GROUP BY ID, EmpNo, Date1
March 6, 2020 at 8:02 pm
This --> "a small army of Excel Jockeys" <-- is a truly unpleasant image, I wish I could un-see it 🙂
March 6, 2020 at 6:59 pm
I've just been having dig around in a test script task and can find no way of changing this, despite changing references, targeted .NET framework and almost every other thing...
March 6, 2020 at 1:36 pm
Something like this, which isn't very efficient. Better to stored your dates as dates if that's an option.
WHERE DATEADD(MONTH,12,CAST(CAST(data AS char(8)) AS date)) < GETDATE()John
John, I...
March 5, 2020 at 3:22 pm
Viewing 15 posts - 2,866 through 2,880 (of 13,870 total)