how can i EXEC stored procedure automatically?
i hav use trace flags 4022, which can do the task...
and create the stored procedure in the master dB,
but it still cant work, did i put the trace flags at the right place?
and how could the master dB trace which dB i use?
could anybody help me....
CREATE PROCEDURE [P11] AS
DBCC TRACEON (4022)
INSERT INTO TABLE1