Viewing 15 posts - 1 through 15 (of 47 total)
I know this is an old thread, but I ran into this issue myself. I have job A that will check and stop job B if it is running when job...
April 27, 2018 at 8:36 am
AlwaysOn does not use SQL Clusters at all, that is a different technology. You have to setup both machines with a windows failover cluster.
I don't have experience myself with...
October 12, 2017 at 1:30 pm
Column Store Index is on all columns, not just a single column, and a date column isn't really that good of a key for a column store because it has...
October 10, 2017 at 11:16 am
I've already completed dozens of other tasks and you guys are still talking about this issue. Lol.
Lucky for me, I'm dealing with hundreds of transactions per minute, not...
October 5, 2017 at 8:35 am
I prefer to use COUNT because I think it is more readable. I usually use in the 2012 compatibility, which seems to be the easiest to understand/most readable, to me,...
October 4, 2017 at 1:33 pm
I would use a derived column transform with an expression like:
(DT_STR,4,1252)YEAR([MyDateCol]) + RIGHT("0" + (DT_STR,2,1252)MONTH([MyDateCol]),2) + RIGHT("0" + (DT_STR,2,1252)DAY([MyDateCol]),2)
October 3, 2017 at 10:16 am
select
COUNT(CASE WHEN TYPE ='D' THEN 1 ELSE NULL end) AS 'TotalXRows',
COUNT(CASE WHEN TYPE ='L' THEN 1 ELSE NULL end) AS 'TotalYRows',
Count(TYPE) AS 'TotalRows'
from dbo.Table (nolock)
October 3, 2017 at 10:01 am
There are a lot of variables for determining how to handle something like this. It sounds like at least one of your tables has a recursive self-join involved. I generally...
October 3, 2017 at 9:55 am
For that, you can just right click on your table in SSMS Object Explorer and choose Script Table As -> Create To...
You can also right-click and choose "View...
October 3, 2017 at 9:29 am
Never mind, I guess SSAS is just chock full of bugs and inconsistency. I can't even get cut and paste to work right.
Is there a stable release of...
September 29, 2017 at 2:10 pm
Seems pretty simple. Instead of dropping the regular table, just make a copy of it and then truncate, that way, all your triggers, indexes, constraints, etc are not lost. You...
September 28, 2017 at 2:52 pm
As far as having a script on the remote server that starts/stops the service also run the refresh, that is more work because with SQL Agent Jobs, logging and failure...
July 29, 2017 at 7:14 am
Enabling a Task Scheduler job does not trigger it to run. You would have to enable the job and you would still have the problem of trying to trigger it. ...
July 29, 2017 at 6:58 am
The version of SSMS is the samve version as SQL Server 2012 SP3/CU9: 11.0.6598
The PowerShell dlls are version 11.0.6020
I don't have any files at C:\Program Files\WindowsPowerShell\Modules, nor in the...
June 8, 2017 at 2:50 pm
If may want to add a registry entry to make the module path permanent:
$CurrentValue
June 5, 2017 at 8:54 am
Viewing 15 posts - 1 through 15 (of 47 total)