Viewing 15 posts - 181 through 195 (of 686 total)
sorry something wrong with formatting..
June 28, 2022 at 6:27 pm
WITH Daylight AS
(
SELECT *
FROM
(VALUES
('2022', '2022-03-27 02:00:00', '2022-10-30 03:00:00', '2022-03-13 02:00:00', '2022-11-06 02:00:00'),
('2023', '2023-03-26 02:00:00', '2023-10-29 03:00:00', '2023-03-12 02:00:00', '2023-11-05 02:00:00'),
('2024', '2024-03-31 02:00:00', '2024-10-27 03:00:00', '2024-03-10 02:00:00', '2024-11-03 02:00:00'),
('2025',...
June 28, 2022 at 6:26 pm
Could a function be created where I pass in my date and it outputs my desired date
June 28, 2022 at 12:18 pm
okay so if I dump what ED B has for DST into a table .. what's next steps?
THx.
June 28, 2022 at 1:16 am
If I was SQL 2016 then...
JobStarted AT TIME ZONE 'Eastern Standard Time' AT TIME ZONE 'Central European Standard Time' AS JobStarted_TimeZoneCET
That server will be moving to 2016 but need solution...
June 27, 2022 at 7:26 pm
How could I use the table from ED B. and perform the function I'm trying to accomplish?
Thanks.
June 27, 2022 at 4:09 pm
Looks like I could do this:
switchoffset (CONVERT(datetimeoffset, jobstarted), '+04:00')
But how can I get just date\time and automate the offset based on fall\winter DST
Thanks.
June 27, 2022 at 2:59 pm
Is there a table I could build to pass in my date and convert, or a function I could use...
My query s writing to a table that I need to...
June 27, 2022 at 1:12 pm
So write after the
ForEach($String in $Strings)
I have been displaying variables to see which one holds my data that I want to dump to export-csv...
June 24, 2022 at 2:48 pm
Any ideas how I can capture the actual line for the string capture and where to place inside of script.. I know about export-csv, but can't seem to get the...
June 24, 2022 at 12:03 pm
Thanks Jeff... have tried a few display in script to see where I could inject the export-csv but not pulling the info from serach
Thx.
June 23, 2022 at 12:57 am
used in forensics to determine nightly load record processing... research... not going to load it into another backend...
Just a quick way to review...
June 22, 2022 at 6:23 pm
I have used export-csv before but not sure where to insert that into the code?
June 22, 2022 at 5:34 pm
Thanks Jeff,,
I have been using the formula:
if ($Average_Fragmentation -gt 40.00)
{
Write-Host -ForegroundColor Red "$Index_Name is more than 40% fragmented and will be rebuilt.";
$index.Rebuild();
Write-Host -ForegroundColor Green "$Index_Name has been rebuilt.";
}
elseif($Average_Fragmentation -ge...
June 16, 2022 at 11:36 pm
Viewing 15 posts - 181 through 195 (of 686 total)