Viewing 15 posts - 811 through 825 (of 1,554 total)
Sorry Farrell, but Carl is right.
The 103 style operator belongs to the outer convert, not the inner. The inner converts a char/varchar to datetime, and the outer converts that datetime...
October 20, 2005 at 1:51 am
Whoa..
..what was the question again? I mean, do you need all this temptable juggling in the first place?
Could the original poster perhaps state...
October 19, 2005 at 9:09 am
Oh, no worries - lots of
As for the original question.. well... a 30 page proc, it's...
October 19, 2005 at 9:03 am
Well, considering the amount of details provided, it's sort of like 'I have a car. It won't start. What could be the problem?'
(no offense to the poster, though -...
October 19, 2005 at 8:46 am
What is the purpose? Can't you just delete the table instead of drop/create?
/Kenneth
October 19, 2005 at 8:21 am
Most likely locking or blocking between the proc and some of the nights activities, or something else...
/Kenneth
October 19, 2005 at 8:18 am
Hehe, yeah, that's true as well.
Which reminds me then that it seems like 'it depends', since we don't know the purpose of the excercise.
October 18, 2005 at 5:16 am
It does work, but it doesn't do anything
The UNION statement is still unordered. It doesn't matter if each subselect is sorted when the...
October 18, 2005 at 4:41 am
Please provide both tables, and some examples of data in both tables, and then show which result you want from that.
/Kenneth
October 18, 2005 at 4:30 am
There should be a policy that dictates that developers has no business being in the prod system in the first place..?
If that is the case, you could poll master..sysprocesses and...
October 18, 2005 at 2:08 am
It's really not that surprising if you stop and think about it for a moment.
How many sorts can you do on a resultset? More than one? That would be very...
October 18, 2005 at 1:58 am
See if any of these might be of any help.
http://support.microsoft.com/search/default.aspx?qu=183060&catalog=LCID%3D1033
/Kenneth
October 17, 2005 at 8:27 am
Just a small correction to the convert statement. (ie never rely on implicit default behaviours)
select convert(varchar(10),oldDate,121)
..while I'm at it, the above is 99% foolproof,...
October 17, 2005 at 7:31 am
Agreed.
Be very careful when and where you use dateconversions.
I sincerely hope that the poster wants to know this for the purpose of display only, and not for writing!
I, as...
October 17, 2005 at 6:54 am
Well, when you sort letters like 'abc', you don't really sort by the letters, you use the configured ascii table to find which numbers that 'abc' correspond to, then you...
October 13, 2005 at 6:53 am
Viewing 15 posts - 811 through 825 (of 1,554 total)