Viewing 15 posts - 16 through 30 (of 329 total)
My first select :
A E:\1.mdf D
A_1 E:\2_1.ndf D
A_log F:\3.ldf L
My second select:
SrvA Db1
This is what the result...
March 12, 2024 at 9:33 am
I created the function Restore-DbaDatabase , loaded it and tried executing. Was not aware that the DBAtools module had to be installed.
March 8, 2024 at 3:19 pm
Restore-DbaDatabase -SqlInstance server1\instance1 -Path Z:\Backup -DestinationDataDirectory Z:\Restore -DestinationLogDirectory Z:\Restore
Restore-DbaDatabase : The term 'Restore-DbaDatabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling...
March 8, 2024 at 1:14 pm
DECLARE @backup_path nvarchar(300);
DECLARE @restore_path nvarchar(300);
DECLARE @cmd nvarchar(1000);
DECLARE @file_list TABLE (backup_file nvarchar(400));
DECLARE @backup_file nvarchar(300);
DECLARE @Table TABLE (LogicalName nvarchar(128),[PhysicalName] nvarchar(128), [Type] varchar, [FileGroupName] nvarchar(128), [Size] nvarchar(128),
[MaxSize] nvarchar(128), [FileId]nvarchar(128), [CreateLSN]nvarchar(128),...
March 4, 2024 at 3:42 pm
Have in working and Thank you Jeff !
And happy retirement !! 🙂
March 4, 2024 at 9:39 am
Hello Grant/All,
I have a some databases I would like to dbcc checkdb and sent an email alert if any errors occurs in any of the databases.
I am running DBCC as...
March 3, 2024 at 4:13 pm
As part of a SQL jobs which dbcc's all user dbs and if any the dbs report an error then I need an email stating the same...that this db has...
February 27, 2024 at 5:46 pm
Trying to list down the 10 largest files across all drives from all servers.
February 26, 2024 at 10:54 am
Hello Phil, Did as advised. Not working.same error
February 13, 2024 at 5:25 pm
Thanks for the response..
how do we check what you recommended ?
https://www.sqlservercentral.com/blogs/quick-tip-wmi-alerts-and-sql-server-agent-permissions..
Let me check and get back...
But the query captures data from 100+servers...so how does this work...check on all...
February 13, 2024 at 2:51 pm
SELECT
GETDATE() as now,
DATEDIFF(SECOND, transaction_begin_time, GETDATE()) as tran_elapsed_time_seconds,
st.session_id,
txt.text,
at.transaction_id as [Transacton ID],
at.[name] as [Transaction Name],
at.transaction_begin_time...
February 7, 2024 at 7:17 am
Thanks for the feedback....
But the failed logins report from the extended events session is giving logins which have not been able to login. How will creating this extended events session...
February 7, 2024 at 5:55 am
This is what I see
168138065917 3261686 443399 sleeping ...
February 5, 2024 at 9:52 pm
Viewing 15 posts - 16 through 30 (of 329 total)