Viewing 15 posts - 5,731 through 5,745 (of 7,187 total)
If the job has never run then there won't be an entry for it in sysjob history. You will need to change your logic so that it looks through...
August 26, 2010 at 3:43 am
Denesh
There isn't any way of knowing, unless the update statement was king enough to include a GETDATE() value! You could trace all activity using a server-side trace in case...
August 26, 2010 at 3:25 am
Lior
Try this, then. Looks like it might be a good idea to reconsider your database design, as well.
SELECT
A.ID
, COALESCE(B1.ActualName,A.FakeName1) AS Name1...
August 26, 2010 at 1:41 am
Lior
Something like this? (Not tested because you haven't supplied any DDL or sample data.)
SELECT
A.ID
, COALESCE(b.ActualName,A.FakeName1) AS Name1
, COALESCE(b.ActualName,A.FakeName2) AS Name2
, ...
August 26, 2010 at 1:23 am
Kit G (8/25/2010)
August 25, 2010 at 8:37 am
Francisco
I'm not sure I agree with you on that - if you have an operation that can be done on 100 rows at once then that's going to be more...
August 25, 2010 at 3:17 am
Ah yes, the OLE DB Command transformation. I don't use this for the very reason you mentioned - it acts on each row individually and therefore isn't very efficient....
August 25, 2010 at 2:57 am
Francisco
I'm not aware of an Execute OLEDB task. Are you referring to the OLE DB Source? If so, what happens if you choose the SQL command data access...
August 25, 2010 at 1:54 am
You don't need to convert at all. Just datefield BETWEEN date1 AND date2 will do. That alone will probably speed up your query a bit. I'm afraid...
August 24, 2010 at 8:53 am
Why are you converting datefield into varchar and then back into smalldatetime? What are date1 and date2 and what data type are they? This is why we need...
August 24, 2010 at 8:31 am
Please will you provide table DDL and sample data in the form of insert statements. This wuill help us to help you.
Thanks
John
August 24, 2010 at 7:35 am
David Burrows (8/24/2010)
INSERT INTO #output(Amount) SELECT Amount FROM #tempd ORDER BY NEWID() ASC
David
I thought of that, and it would certainly work for the sample data provided. However, I reasoned...
August 24, 2010 at 7:17 am
Tom Carnahan (8/24/2010)
A topic I wish had been addressed is how to handle nulls in datetime fields. I think that you do the following. Let me know...
August 24, 2010 at 7:01 am
Please will you provide table DDL and sample data and show us what you've tried so far.
Thanks
John
August 24, 2010 at 4:54 am
Viewing 15 posts - 5,731 through 5,745 (of 7,187 total)