Viewing 15 posts - 1,201 through 1,215 (of 13,849 total)
Yes, conn managers should be checked in with dev / local connections and that is how they should remain, as far as source control is concerned.
After deploying packages to QA...
August 29, 2022 at 4:13 pm
This line looks weird. What is it supposed to do? Strings and INTs mixed in the same list?
where o.status dbo.in ('D',1,2,3,4,5) August 29, 2022 at 1:45 pm
Righto. Have you considered creating a post like this?
"I am trying to import some XML files into SQL Server tables, but I am not sure how best to...
August 29, 2022 at 7:11 am
Ok and what about Python? I heard somewhere that it can also be used as an alternative of SSIS tasks?
Yes it can... so can C#, Visual Basic,...
August 29, 2022 at 6:51 am
Ok and what about Python? I heard somewhere that it can also be used as an alternative of SSIS tasks?
Yes it can... so can C#, Visual Basic,...
August 29, 2022 at 6:51 am
What sort of feedback are you expecting? If someone here says 'Yep, looks good', does that mean you will push the code to Production?
And when there's a problem, you'll be...
August 28, 2022 at 7:01 am
Jeff, that's nice work. Thanks for reminding me of ROLLUP and GROUPING too.
August 27, 2022 at 10:55 am
There is no syntax error in that code. I just copy/pasted and ran it to be sure that the rendering had not affected anything.
Which version of SQL Server are you...
August 26, 2022 at 4:10 pm
Please post a question only once. Answers here please.
August 26, 2022 at 3:33 pm
If a date is between '01/01/2022' and '09/01/2022', it cannot also be between '01/01/2006' and '01/01/2017'. You need to rethink your logic, as this will never produce any results.
August 26, 2022 at 3:31 pm
Let's introduce some test data. Please try running this and tell me whether it gives you what you want.
DROP TABLE IF EXISTS #Trips;
CREATE TABLE #Trips
(
...
August 26, 2022 at 12:54 pm
Something like this, perhaps?
SELECT Mth = MONTH(t.start_date)
,t.IsMember
,TotalTrips = COUNT(*)
FROM trips t
WHERE YEAR(t.start_date) = 2017
...
August 26, 2022 at 11:36 am
If there's a lot of data involved and you're likely to be running regular analyses on it, I'd consider setting this up in a Tabular Model and using DAX...
August 26, 2022 at 7:14 am
Without knowing the structure of your tables, this is impossible to answer with any certainly.
In line with Jeff's question, I would have expected 'Last week actuals' to be, in pseudo-code:
August 26, 2022 at 7:06 am
It seems my insistence on unique column names was misguided. This is not required.
I am using a temp table while working on your code. Please try executing the following and...
August 25, 2022 at 2:55 pm
Viewing 15 posts - 1,201 through 1,215 (of 13,849 total)