Viewing 15 posts - 5,176 through 5,190 (of 7,191 total)
OK, I think we've come as far as we can without your providing any table DDL and sample data. Please post the former in terms of CREATE TABLE statements,...
August 3, 2011 at 4:51 am
Iulian -207023 (8/3/2011)
or instead of :
ARRIVAL_SCHEDULE_DT <= dateadd(mm, 3, getdate())
you can use this condition too:
datediff(mm, ARRIVAL_SCHEDULE_DT, getdate()) <= 3
Iulian
I would advise against doing that, since it would make the condition...
August 3, 2011 at 4:18 am
Something like this?
SELECT <column list>
FROM MyTable
EXCEPT
SELECT <column list>
FROM MyTable
WHERE PORT_CD = 'BEZEE'
AND ARRIVAL_SCHEDULE_DT < dateadd(mm, 3, getdate())
John
August 3, 2011 at 4:10 am
You're probably going to have to do a bit of trial and error. Expand the Errors and Warnings category, and hover your cursor over each event for a description....
August 3, 2011 at 3:49 am
I'm sorry, but I don't understand what you're trying to do. Why do you think you need to use a variable, and why do you set a value for...
August 3, 2011 at 3:44 am
I don't understand your question. What is ALL ERRORS? If you want to capture failed logins, do as I suggested. Are you saying you need to capture...
August 3, 2011 at 3:32 am
I think you're looking for the Audit Login Failed event, under Security.
John
August 3, 2011 at 3:15 am
Yes, I am, and to be honest, I'd be surprised if I saw what you're seeing. I wish I knew how you do it!
John
August 2, 2011 at 6:12 am
I get the same results for both examples. I can't see how putting in a GO will make any difference.
John
August 2, 2011 at 3:40 am
Are you sure Example 1 works? This is what I get:
Value Seq
1011
1011
1021
1021
1021
1022
1031
1041
1041
1041
John
August 1, 2011 at 8:55 am
"It won't work" is a little vague. Please post any error messages you get, or show how the results you get differ from those you expect. Table DDL...
August 1, 2011 at 8:45 am
When you say you couldn't find anything in SQLAGENT.OUT, do you mean you couldn't find SQLAGENT.OUT at all? If that's the case, the reason it's failing to start is...
August 1, 2011 at 3:29 am
This should help:
http://msdn.microsoft.com/en-us/library/ms174979.aspx
Let us know if there's anything in particular that you don't understand.
John
August 1, 2011 at 2:37 am
Viewing 15 posts - 5,176 through 5,190 (of 7,191 total)