Viewing 15 posts - 856 through 870 (of 13,841 total)
Can you confirm that your DbaTools library is stored in the same location as found when running the following?
$env:PSModulePath -split ';'
(As I think some file locations differ...
July 21, 2023 at 12:15 pm
Something like this?
WITH CIds
AS (SELECT ChannelID = CAST (value AS INT)
FROM STRING_SPLIT(@ChannelIDs, ','))
SELECT dc.*
FROM #DeviceChannel dc
JOIN CIds
...
July 19, 2023 at 5:02 pm
You are right in suggesting that a CTE won't work in this case.
You might want to try experimenting with SYNONYMs. Aliases are limited in scope to the query in which...
July 19, 2023 at 11:34 am
p.s. I followed your "casing" in my code but the "prettifier" in the code window changed all the SQL Code to upper case for display.
The SQL code is not all...
July 18, 2023 at 8:55 am
Thanks Ant-Green,
Ok, to ask a dumb question to clarify, I should install VS (either 2019 or 2022) I then go to manage extensions & download/install the SSIS/RS/AS packages.
I should...
July 18, 2023 at 8:51 am
You mention that there would be a lot of changes required if you change the format of the column. But wouldn't there also be lots of changes required to use...
July 12, 2023 at 7:30 am
I've just reported one of those AI-generated "SQL Server is good because" essay posts as spam. Do others agree that this is the right thing to do?
Yes, but...
July 11, 2023 at 10:51 am
I've just reported one of those AI-generated "SQL Server is good because" essay posts as spam. Do others agree that this is the right thing to do?
July 10, 2023 at 10:22 am
As you have not provided the logic for your 'business month end' calculation, I'm not sure how you are expecting anyone to calculate it.
EOMONTH() gives you end of month for...
July 9, 2023 at 7:43 am
Are you certain that access from server B has been configured correctly? You can test this by changing the default creds in VS and redeploying to server B.
The standard way...
July 4, 2023 at 3:05 pm
I can't see anything wrong with what you are trying. Are you able to access Server B from VS, using the same credentials as you typed into SQL Agent?
July 3, 2023 at 1:06 pm
I'd try to understand which rows have been lost. Given the volume of data, this will be a pain, I know. Is it always the same rows which get dropped?
Once...
July 1, 2023 at 11:29 am
Glad to help. It would be interesting to hear how your streaming solution performs when compared to other methods, so please post back if you get the chance.
June 27, 2023 at 6:48 am
Thanks, and yeah GETDATE( ) or actually NOW( ) would be basically correct, I believe.
Note I have worked with so many languages sometimes the exact function names get a...
June 27, 2023 at 6:47 am
Many thanks! How to use a static file name because the variable Counter is dynamic?
Edit your package in VS and change the definition of the flat file destination so...
June 27, 2023 at 6:45 am
Viewing 15 posts - 856 through 870 (of 13,841 total)