Viewing 15 posts - 1 through 15 (of 20 total)
This sounds like the perfect use for a Calendar table. You can find an example here: https://www.mssqltips.com/sqlservertip/4054/creating-a-date-dimension-or-calendar-table-in-sql-server/
May 3, 2019 at 8:14 am
Here is a quick example of using Out-GridView as a menu:
$Menu = [ordered]@{
1 = 'Do something'
2 = 'Do this instead'
3 = 'Do whatever you want'
}
$Result = $Menu | Out-GridView -PassThru ...
April 12, 2019 at 10:57 am
It is hard to understand exactly what you want to do.
Is this going to be interactive or not?
If it is interactive then you could create a menu structure to be...
April 12, 2019 at 10:54 am
With this command you are not actually doing anything with it....which is why it sends the data back to SQL and the screen. Normally you would put this into a...
April 2, 2019 at 1:39 pm
You best bet would be to check out Ola Hallengrens backup solution (https://ola.hallengren.com/). Check out the FQA section and he details how you can use the backup with SQL...
February 1, 2019 at 2:08 am
Personally, this article is more likely to make me trust the company.
They acknowledged the issue, laid out their findings on what happened, owned up to their shortcomings and...
April 19, 2018 at 5:59 am
I believe that the maintenance plans will actually run under the service account for the SQL Server Agent.
This account must have read/write access to the drive where...
December 6, 2017 at 8:32 am
September 29, 2017 at 12:11 am
I have an Amazon echo at home which is great. Easy to use for music, weather, etc,etc....
My wife is a carer for a woman who is paralysed from...
September 28, 2017 at 2:49 am
A final update.........
The original code was running for 10 hours and then failing with timeout issues. A MERGE statement was created and tested with a small set of data to...
August 26, 2014 at 5:00 am
Hi Scott,
Thanks for the explanation.....
I have been working through the MERGE command on a few websites trying to work out how it works....latest one being this one.
http://www.made2mentor.com/2013/05/writing-t-sql-merge-statements-the-right-way/
Thanks again.....
August 21, 2014 at 12:05 am
Scott Coleman (8/20/2014)
Those should be END_DT, which I believe is the what I originally posted.
Unfortunately there is no column in i200 with that name, which is why I changed it...
August 20, 2014 at 10:25 am
Hello SSCrazy, I'd like to say thanks for the code.....I have been looking at it this morning and it is coming up with some errors in the OUTPUT section. These...
August 20, 2014 at 2:45 am
Hi Grant, thank you for your input. I have sent off an e-mail asking the supplier if they really need the COLLATE statements in there.
Do I need the MERGE statement...
August 19, 2014 at 9:17 am
We can change the code as long as we run it past the external company for testing. I am sure that they would be more than happy to have some...
August 19, 2014 at 8:36 am
Viewing 15 posts - 1 through 15 (of 20 total)