Viewing 15 posts - 2,521 through 2,535 (of 13,853 total)
Integration Services must be installed on any machine which runs a package via SQL Agent.
July 15, 2020 at 2:05 pm
Try changing your GROUP BY:
GROUP BY col_date / 10000
July 15, 2020 at 2:01 pm
Here's an example of how you might structure the underlying tables and then SELECT from them to return your dimension:
DROP TABLE IF EXISTS dbo.Date;
CREATE TABLE dbo.Date
(
...
July 14, 2020 at 1:39 pm
The Google Maps API looks like it could do it, though it's going to be an RBAR solution, by the look of it.
July 14, 2020 at 3:34 am
Does this help?
PoSh is a good option, IMO.
July 13, 2020 at 8:29 pm
How does that help?
Because it gives you the distance from every building to every other building.
July 13, 2020 at 8:25 pm
Please note that this is a SQL Server forum. If your question relates to SQL Server, please make the connection clear and we will try to help.
July 13, 2020 at 8:24 pm
If your file names always follow that consistent pattern, you could use something like this:
DECLARE @v VARCHAR(MAX) = 'O:\Z\P_Metrics\Inbox\07-13-20200702_abc_enroll.csv';
DECLARE @V1 VARCHAR(MAX) = 'O:\Z\P_Metrics\Inbox\07-14-20200702_abc_complete_enroll.csv';
SELECT LEFT(@v, PATINDEX('%[0-9][0-9]-[0-9][0-9]-%', @v) -...
July 13, 2020 at 5:03 pm
OK, understood (though I would probably keep the date dimension table clean and have another table containing measure and measureno).
It therefore appears that your PK should be composite, comprising (theDate,...
July 13, 2020 at 2:29 pm
"theDate" field has duplicates in it. The "YTD TY" measure has some of the sames dates in it as "MAT TY".
I don't see 'YTD TY' or 'MAT TY' anywhere...
July 13, 2020 at 1:41 pm
You might find this link helpful.
July 13, 2020 at 1:24 pm
It's hard to see from the data, but why wouldn't 'theDate' be the PK?
My thoughts exactly!
July 13, 2020 at 1:15 pm
You can't use dynamic SQL in functions. But I think that dynamic SQL is the only way that you'll achieve this, so you probably need to rethink. Can you use...
July 10, 2020 at 9:09 pm
I think Phil is showing a restore of the database from the snapshot, essentially rewinding time.
Correct. To be honest, I just assumed that the OP had worded their question...
July 10, 2020 at 7:12 pm
Your procedure contains at least 1 syntax error. Why do you refuse to format your code?
July 10, 2020 at 3:39 pm
Viewing 15 posts - 2,521 through 2,535 (of 13,853 total)