Viewing 15 posts - 316 through 330 (of 769 total)
I knew that the limit has been doubled. From 25 its now 50.
July 17, 2015 at 9:14 am
drop table #tfoldsizeinMB
create table #tfoldsizeinMB(size nvarchar(100))
declare @cmd varchar(3000)='powershell "(Get-ChildItem ''D:\backups\MSSQLSERVER\'' -recurse | Measure-Object -property length -sum).sum/1MB"'
--select @cmd
insert into #tfoldsizeinMB
EXEC xp_cmdshell @cmd
select CEILING(size) as 'Size(MB)' from #tfoldsizeinMB where size is not...
July 16, 2015 at 10:53 am
For backup size of a folder , you may use this script:=
drop table #tfoldsizeinMB
create table #tfoldsizeinMB(size nvarchar(1000))
declare @cmd varchar(3000)='powershell "(Get-ChildItem ''D:\backups\MSSQLSERVER\'' -recurse | Measure-Object -property length -sum).sum/1MB"'
select @cmd
insert into #tfoldsizeinMB
EXEC...
July 16, 2015 at 10:49 am
Got full credit.
Was eager to know that is this an advanced level compared to CDC?
July 16, 2015 at 8:26 am
Nice easy question. Though hardly database mirror is in use, but good to recall the past.
July 15, 2015 at 9:08 am
Instead of writing two sepereate blcks, can I not modify the SP with the below string?
IF OBJECT_ID(N'Sales.GetSalesOrderByCountry', N'P') IS NOT NULL
DROP PROCEDURE Sales.GetSalesOrderByCountry;
GO
CREATE PROCEDURE Sales.GetSalesOrderByCountry
...
July 13, 2015 at 10:59 am
Thanks Pramod for the nice question!!!!
Just to give everyone a bit more detail about "polybase" :
PolyBase allows you to use T-SQL statements to access data stored in Hadoop or Azure...
July 10, 2015 at 10:05 am
https://msdn.microsoft.com/en-us/library/ms143432.aspx
25 instances on a failover cluster when using a shared cluster disk as the stored option for you cluster installation SQL Server supports 50 instances on a failover cluster if...
July 9, 2015 at 10:20 am
Dear Folks,
I did more research on this.
For SQL 2008 R2 and below, use "@email_profile" instead of "@databasemail_profile", but from sql 2012 onwards +, you can use "@databasemail_profile".
Let me know if...
July 8, 2015 at 10:37 am
Hi,
Can you pl add more logic here to send the .HTML reports via email to the recipients?
July 6, 2015 at 12:18 pm
Hi Lowell
To run your script, do I need to use vb.net alone or any other way available?
July 6, 2015 at 10:08 am
Thnx Steve n Gian
In one instance, I found no Spn registered to the sql account thru that sql runs.
On few other servers, i found spn is regustered stil thereare permissio....
July 6, 2015 at 9:51 am
Viewing 15 posts - 316 through 330 (of 769 total)