Viewing 15 posts - 1 through 15 (of 219 total)
the script text says that its for create user ....but its not .Actually i have tons of alerts created ..and when i wanted to create the memory alert i just...
April 8, 2010 at 11:07 pm
you can join my blog @ http://ms-abhay.blogspot.com/...
Like you I am a WMI / VB lover ....and will not rest till crack this stuf 🙂 ..
April 8, 2010 at 11:02 pm
I have the answer for you my friend but it might not serve your purpose completely ...
Youhave created the CPU table and feeding Textdata to it ....thats where the pain...
April 8, 2010 at 10:59 pm
Siva ,
I have the answer .I also wandered like you and i could not find the answer anywhere.The answer is that there are a few log shipping tables that...
December 29, 2009 at 8:42 pm
-> As Gail said check the error logs.
-> Dont run check db now .
-> If you want do a sp_resetstatus and then dbcc dbrecover .
-> You will get the error...
October 9, 2009 at 9:57 am
You need to use sp_update_alert and set the enabled value to 0
USE [msdb]
GO
EXEC msdb.dbo.sp_update_alert @name=N'Respond to DEADLOCK_GRAPH',
@message_id=0,
@severity=0,
@enabled=0,
@delay_between_responses=0,
@include_event_description_in=5,
@database_name=N'',
@notification_message=N'',
@event_description_keyword=N'',
@performance_condition=N'',
@wmi_namespace=N'\\.\root\Microsoft\SqlServer\ServerEvents\MSSQLSERVER',
@wmi_query=N'SELECT * FROM...
October 9, 2009 at 9:50 am
September 11, 2009 at 10:53 am
Were you loking for this 🙂
Use master
sp_msforeachdb "select column_name from ?.INFORMATION_SCHEMA.COLUMNS"
Hope this helps
Regards
September 11, 2009 at 10:48 am
Both queries are same so the plan should be same .But since you are trimming the spaces it will add some overhead .That extra overhead will be in the form...
September 9, 2009 at 5:29 am
In your case its not needed as you are specifying it in begin tran and commit tran .So update will roll back and SQL will internally throw the correct error...
August 18, 2009 at 3:42 am
Give me time till Monday (as its weekend) and your email address as I am on a location where there is no SQL Server (preparing documents to travel to US...
August 14, 2009 at 9:40 am
and if you also want to count the number of rows in each table :
sp_msforeachtable 'select count (*) as ''?'' from ?'
Regards
Abhay
August 14, 2009 at 9:27 am
Here is what you can do and you can always mail me for assistance during this time (hi_abhay78@yahoo.co.in).
First create or modify a job and run profiler at the background (filter...
August 14, 2009 at 9:15 am
This is almost similar :
---------------------------
Use Master
DECLARE @name VARCHAR(50) -- database name
DECLARE @path VARCHAR(256) -- path for backup files
DECLARE @fileName NVARCHAR(256) -- filename for backup
DECLARE @fileDate VARCHAR(20) --...
August 14, 2009 at 8:57 am
Viewing 15 posts - 1 through 15 (of 219 total)