Viewing 15 posts - 1,111 through 1,125 (of 1,363 total)
Go thru stored procedure posted at:
http://blog.ola.hallengren.com/blog/_archives/2008/1/1/3440068.html
SQL Server 2005 and 2008 - Backup, Integrity Check and Index Optimization .
MJ
September 3, 2008 at 8:00 pm
When I modified one index and included one more column in it under person.addresstype table your SP returned only one row
EXEC [IndexInfo] 'adventureworks'
See attached.
MJ
September 3, 2008 at 7:40 pm
Sue,
Please put server in single user mode and use DAC to update the system tables in 2005 as mentioned by someone here:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=89594&SiteID=1
The server also has to be started in single-user...
September 2, 2008 at 2:55 pm
Thanks a lot for all your help and brilliant patience. Impressed me a lot.
Actually my problem got resolved the moment I used as per your suggestion:
Create EVENT NOTIFICATION NotifyALTER_T1
ON DATABASE
FOR...
September 2, 2008 at 2:46 pm
Please find attached output of : Select * from dbo.NotifyQueue
Thanks for all your help.
MJ
September 2, 2008 at 1:44 pm
Thanks for your time and efforts.
Please find attached output of the three statments.
MJ
September 2, 2008 at 1:02 pm
I dropped the old one and executed the below mentioned statements in sequence on logging_demo database:
Create EVENT NOTIFICATION NotifyALTER_T1
ON DATABASE
FOR ALTER_TABLE
TO SERVICE 'NotifyService','current database';
alter table test1
add drgs112 int
Go
select * from...
September 2, 2008 at 12:08 pm
Okie, I dropped that notification and created new one as per your suggestion:
Create EVENT NOTIFICATION NotifyALTER_T1
ON DATABASE
FOR ALTER_TABLE
TO SERVICE 'NotifyService',
'Logging_Demo';
Still no luck after running:
alter table test1
add...
September 1, 2008 at 6:59 pm
Yep, I am executing alter table command under logging_demo database.
On your suggestion i executed below mentioned commands, still no luck.
DROP EVENT NOTIFICATION Notify_ALTER_T1
ON DATABASE
go
CREATE EVENT NOTIFICATION NotifyALTER_T1
ON DATABASE
FOR ALTER_TABLE
TO SERVICE...
September 1, 2008 at 4:38 pm
Please find the results attached.
Thanks a lot,
MJ
September 1, 2008 at 3:59 pm
Hi,
Please find all attached.
Thanks again for your replies and time.
MJ
September 1, 2008 at 1:19 pm
I executed your sentences and its still not tracking any Alter table events.
Please help. No rows in Select * from 'LoggingQueue' output.
MJ
September 1, 2008 at 12:48 pm
Forgot to tell you sorry, I changed the logon event to alter table as I was not able to capture server logon events.
Still when I change the schema of...
August 31, 2008 at 7:21 pm
Attached is the output of Select * from sys.transmission_queue.
Thanks,
MJ
August 31, 2008 at 6:13 pm
Try this:
-- Declare local variables
CREATE TABLE #DB_Space (
DBname varchar(25),Name varchar(100), FileName varchar(100),
Size_in_MB varchar(20),
Space_Used varchar(20),Available_Space varchar(20),RunDate Datetime
)
EXEC master..sp_MSForeachdb '
USE [?]IF DB_ID(''?'')>4
BEGIN
INSERT INTO #DB_Space
SELECT db_name(dbid),sf.name AS [File], sf.filename as...
August 31, 2008 at 5:04 pm
Viewing 15 posts - 1,111 through 1,125 (of 1,363 total)