Viewing 15 posts - 46 through 60 (of 64 total)
run both.
SELECT *
FROM sys.objects
WHERE name = 'fn_syspolicy_is_automation_enabled' AND type = 'FN';
SELECT msdb.dbo.fn_syspolicy_is_automation_enabled() AS IsAutomationEnabled;

April 2, 2025 at 12:34 pm
launch Sql Server Configuration Manager, Do you see SQL Agent running?
April 2, 2025 at 11:56 am
Your are correct regarding "Data for 2024-02-29 is left in place until 2027-03-01."
April 1, 2025 at 9:36 am
Good point Phil. I do believe DATEADD(year, -3, GETDATE()) Takes leap year into account, I'm too lazy to load test data. also I would not delete data from a table...
March 31, 2025 at 8:01 pm
You can add to your SP after records are created or execute another SP that deletes the records over 3 years old. You need to have a date for when...
March 31, 2025 at 7:02 pm
a simpler way is to run Powershell Script:CheckforSameFileNames.ps1 before processing files

Script Code below
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
Write-Host "Execution policy set to Unrestricted for...
March 29, 2025 at 12:42 am
What helps me, I would flowchart the entire process and then create your SSIS Package.
March 28, 2025 at 7:39 pm
Couldn't you check if the file exists In the destination folder first and if so move to unproccessed folder and then continue processing the next file?
March 28, 2025 at 7:20 pm
This might help: https://stackoverflow.com/questions/30498478/ssis-change-date-add-local-timezone-in-data-flow
March 26, 2025 at 3:56 pm
Yes, I searched and came across "Jeff Moden's infamous delimitedSplit8K function". I was looking for an alternative way. I will implement Jeff Moden's infamous delimitedSplit8K function. Thanks for the reply.
December 5, 2022 at 7:25 pm
Correction I need help with also the first name because I'm getting the middle Initial in my first name results;Example First Name Results= John J
December 3, 2022 at 11:15 pm
Hey Phil,
You are correct had 30,000+ records with the word "Responsibility" misspelled and 400+ spelled correctly. Ran replace function to correct the misspelling.
SELECT Pos1 = CHARINDEX('Total Paid amount is $',...
February 22, 2022 at 12:18 am
Phil,
I'm getting this error. Here is my sql statement:
SELECT Notes, NoteId
,TotalPaid = SUBSTRING(Notes, c.Pos1, c.Pos2 - c.Pos1)
FROM dbo.NoteReceive
CROSS APPLY
(
SELECT Pos1 = CHARINDEX('Total Paid amount...
February 21, 2022 at 1:46 pm
Never mind Phil, I got it. Thank you for your help. also thank you Jonah.
February 21, 2022 at 1:39 pm
Viewing 15 posts - 46 through 60 (of 64 total)