Viewing 13 posts - 16 through 28 (of 28 total)
Sure, here it is.
CREATE PROCEDURE usp_DailyQMSTrace
@sec int = 600, --Duration in seconds for the trace
@TraceID INT OUTPUT
AS
-- Create a Queue
declare @rc int
declare @QMSTraceID int
declare @maxfilesize bigint
declare...
January 31, 2007 at 8:01 am
Thanks for all the input. I ended up using profiler to create a trace template script. Then incorporating it into a stored procedure which passed in the number of minutes...
January 31, 2007 at 5:49 am
Do you know where I can find a sample of a trace script. What i am after is to run this as a job via xp_cmdshell which would execute the...
January 30, 2007 at 7:30 pm
This function is called from within a update trigger. For instance let say I have 1000 respondents that insert into the respondent table. This update trigger which runs the function...
January 29, 2007 at 9:56 pm
I know that. It's just xp_SMTPmail is what I have to work with. They do not want to install a mapi client sio I am trying to work with what...
January 29, 2007 at 6:26 pm
Thank you for your response. i tried doing this way but it dies on the first row. I need the ability to loop through a bunch of rows without using...
January 29, 2007 at 4:47 pm
I think its more to the point if a job fails (be it a sql statement or standard backup task). I want to work more or less like SQLAgentMail works...
January 29, 2007 at 11:57 am
I guess I missed a part, that when the stored procedure runs there is a select statement that utilizes an IN clause such as
Create Proc spname
@i1 int,
@i2 int,
@i3 int
AS
Select name...
January 19, 2007 at 9:43 am
Thanks. I used that but it not quite what I am after. Maybe I can disect the Sp_helpuser SP and get what I am after out of it.
January 11, 2007 at 9:22 am
Where going with the turning the options to Comma delimited but with the addition of double Quoted identifiers (""). I can't seem to fine that option. Any ideas?
December 12, 2006 at 10:17 am
Journeyman,
If I turn the options to
Tool --> Options --> Results -- > "Result Output Format (*)" ='Comma Deliminited CSV'
and make the output type as TEXT. as
you suggested....
December 12, 2006 at 9:58 am
This works great up to the point where the column is an integer:
COALESCE(yourCol, '') + ','
And ideas?
December 12, 2006 at 9:43 am
They want to see the visible results fro Query Analyzer otherwise I would have just DTSed it out.
December 12, 2006 at 9:12 am
Viewing 13 posts - 16 through 28 (of 28 total)