Viewing 15 posts - 3,496 through 3,510 (of 6,036 total)
Total number of orders for the next 3 days is 7: 4 + 3 + 0.
Can you explain your logic more precisely?
October 5, 2007 at 9:21 pm
Ninja's_RGR'us (10/2/2007)
if for exemple something more major happened and that it takes more than 1 hour to correct the situation, do you re-issue access,...
October 4, 2007 at 7:36 pm
If
WHERE FieldName > 0
is what you need?
October 4, 2007 at 7:13 pm
If you cannot change it why are you asking how to change it?
October 4, 2007 at 3:30 pm
DB developers are not allowed to feel anything.
They must KNOW.
If they don't know they must TEST.
Try both ways and see fir yourself.
October 4, 2007 at 3:19 pm
noeld (10/4/2007)
1. "PERFORMANCE". Why would I have to check for something I don't need to check?
Can you prove your point?
Did you ever experience performance losses die to IF UPDATE() check?
Is...
October 4, 2007 at 1:57 pm
Ninja's_RGR'us (10/3/2007)
Just kidding :w00t::D:hehe::cool::):D:P;).
I know.
Don't worry about that.
:smooooth:
October 3, 2007 at 6:31 pm
Would not UPDATE() work in INSERT case?
It will work perfectly.
Yes, it will return "TRUE" for every column, but what does it change?
We still have to run the same script...
October 3, 2007 at 5:54 pm
mrpolecat (10/3/2007)
October 3, 2007 at 5:35 pm
RD,
Why you need to mention ORDHEADER twice?
inserted is ORDHEADER, right?
update ORDLINE
set ORDLINE.qty_to_ship = inserted.qty_ordered,
ORDLINE.udf_4 = '*'
from inserted
WHERE inserted.order_no = ordline.order_no and inserted.line_no = ordline.line_no
AND (inserted.status < '4') AND (inserted.type...
October 3, 2007 at 4:48 pm
noeld (10/3/2007)
1) Yes because UPDATE () function makes sense on UPDATE triggers only 😉
Not quite true.
I would say absolutely false.
:Whistling:
October 3, 2007 at 4:37 pm
Matt,
partitioning won't work.
He supposes to delete all records not in upload.
On 1st 10% of upload he'll delete about 90% of existing data - oooops.
The point is not to do update...
October 2, 2007 at 8:23 pm
You need to create function from your inner query and use it like this:
SELECT ..., dbo.ConcatCodes(key, 30)
FROM ParentTable
October 2, 2007 at 7:01 pm
mrpolecat,
1st, if you stick to PK then create it before uploading data.
In this case it will insert directly into index, no wasting time for reordering already loaded rows.
And make sure...
October 2, 2007 at 5:52 pm
Viewing 15 posts - 3,496 through 3,510 (of 6,036 total)