I get a file with todays date but sometimes this can sent through to me past midnight so it would be tomorrow between 00:00 and 03:00, Would a case statement work? If so can u help me with the code as I'm new to all of this. I think the case statement would need if it comes through between 00:00 and 03:00 it does getdate -1.
Using SSIS I get the package to read getdate() as a variable and thats how it knows what the file reads at. Any help is appreciated