Viewing 15 posts - 31 through 45 (of 52 total)
I created the tables and results returned. Re-enter the refnum in both tables, you might have a space in there.
April 2, 2025 at 7:42 pm
SELECT DISTINCT refnum FROM RefSched;
SELECT DISTINCT s.refnum FROM supplier;
Check if values match. Maybe Data Type Mismatch? Since DESC is a reserved keyword in SQL Server, you should...
April 2, 2025 at 7:04 pm
--Check The Credential setup
SELECT name, credential_identity FROM sys.credentials WHERE name = 'YourCredentialName';
--Validate the Key Vault Key
SELECT name, key_algorithm FROM sys.symmetric_keys WHERE name = 'YourTDEKeyName';
April 2, 2025 at 4:00 pm
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
Viewing 15 posts - 31 through 45 (of 52 total)