Viewing 15 posts - 3,496 through 3,510 (of 5,502 total)
I don't really understand what your table actually looks like.
Would you please post the table def, some sample data, your expected result and what you've tried so far? For details...
May 17, 2010 at 2:16 pm
rpatil22 (5/17/2010)
I want if last run of job failed then that date and time and same job when previously failed.
So, I guess sp_help_jobhistory together with ROW_NUMBER() will help here. Please...
May 17, 2010 at 2:10 pm
Please have a look at BOL (BooksOnLine, the SQL Server gelp system usually installed together with SQL Server, accessible via F1 from Management Studio). Search for the "CREATE XML SCHEMA...
May 17, 2010 at 2:07 pm
Would a CHECK constraint help?
ALTER TABLE YourTable
ADD CONSTRAINT chkCol1Col2 CHECK ( ISNULL(col1,col2) IS NOT NULL );
This constraint would allow you to insert a NULL value either for Col1 or Col2...
May 17, 2010 at 2:04 pm
Henry Treftz (5/17/2010)
It is a currently running query. So what I want to do is basically do send of a raiserror to an existing connection...
What exactly do...
May 17, 2010 at 1:52 pm
Richard M. (5/17/2010)
lmu92 (5/17/2010)
Not sure what you're trying to do but maybe RAISERROR will help (see BOL for details).
... you can't "inject" an error to another SPID....
As far...
May 17, 2010 at 1:22 pm
Not sure what you're trying to do but maybe RAISERROR will help (see BOL for details).
May 17, 2010 at 12:36 pm
Another strong hint: you might want to remove your email address. If people feel the need to provide you with a sample they can drop you a PM...
May 17, 2010 at 12:33 pm
The requirement is not clear. Do you want to list only jobs where the last run and the one before failed, job that have failed twice (as per available log...
May 17, 2010 at 12:31 pm
neelsmail (5/16/2010)
I thought I did.. but perhaps I didn't understand your question.
I am trying to call the...
May 16, 2010 at 12:10 pm
So, what does that sproc do that takes 3min?
May 16, 2010 at 3:21 am
Mad-Dog (5/16/2010)
ok.how can i do the service broker event to call this sp?
THX
Nope, it's the other way around: you SEND a message to the Service Broker queue and within the...
May 16, 2010 at 3:04 am
I wouldn't bother with the current design and start from scratch: what are the input tables and values and what is the expected result.
Don't worry about the current DTS design...
May 16, 2010 at 2:51 am
One option:
Determine the condition when the 3min-sproc needs to be called either within your 2se-sproc or in the next step in the job agent. Based on that condition fire a...
May 16, 2010 at 2:42 am
Viewing 15 posts - 3,496 through 3,510 (of 5,502 total)