Viewing 11 posts - 1 through 11 (of 11 total)
here is the updated script:
-- Get database file information for each database
IF OBJECT_ID('TempDB..#holdforeachdb') IS NOT NULL
DROP TABLE #holdforeachdb;
create table #holdforeachdb
( [databasename] [nvarchar](128) collate sql_latin1_general_cp1_ci_as not null,
[int] not null,
[name] [nvarchar](128)...
July 2, 2020 at 3:03 am
Hi Robby, you are completely right, it messed up over there somehow. good catch. updating it. thank you!
July 2, 2020 at 2:38 am
SET NOCOUNT ON
SELECT @@VERSION [VERSION],
CONVERT(VARCHAR(100), SERVERPROPERTY('Servername')) Servername ,
CONVERT(VARCHAR(100), SERVERPROPERTY('ProductVersion')),
CONVERT(VARCHAR(100), SERVERPROPERTY('ProductLevel')) Product_SP_Level,
CONVERT(VARCHAR(100), SERVERPROPERTY('ResourceLastUpdateDateTime'))ResourceLastUpdate,
CONVERT(VARCHAR(100), SERVERPROPERTY('ResourceVersion'))ResourceVersion,
ISNULL(CONVERT(VARCHAR(100), CASE
...
April 4, 2019 at 3:11 am
you can use register servers and run one of the proposed queries or you can create list of servers and run PS as below:
$Servername=("SQLC-EST-IN-N5\INTERNAL","SQL1", "SQL2","SQL..n")
foreach ($Server in $Servername)
{
$output += (invoke-sqlcmd...
April 4, 2019 at 12:56 am
you can also restore from full backup with norecovery and then only transfer the latest trn backups (alternative to log shipping), restore them.
of course depends how big the trn backups,...
April 4, 2019 at 12:42 am
January 9, 2019 at 8:48 pm
Thanks for all your replies.
I know that is not the simple question; that's why I...
November 9, 2018 at 5:43 pm
October 13, 2018 at 5:29 pm
September 25, 2018 at 8:53 am
August 24, 2018 at 10:14 am
CREATE TABLE [dbo].[ClusterNodesHystory]
(
[ID] [int] IDENTITY(1,1) NOT NULL CONSTRAINT [PK_ClusterNodesHystory_ID] PRIMARY KEY CLUSTERED ,
[CurrentNode] [varchar](100) NULL,
June 22, 2018 at 11:16 am
Viewing 11 posts - 1 through 11 (of 11 total)