Viewing 13 posts - 76 through 88 (of 88 total)
I am very grateful that there are so many developers out there willing to share their work for free, but I need to make a living and most ways of...
March 30, 2010 at 4:15 pm
If I may make a suggestion, if this is a query you run often, consider restructuring your tables so that, for the fields on which you are searching, the portions...
January 11, 2010 at 7:40 am
You're welcome.
- Les
P.S.
Just out of curiosity, rough guess, what kind of speedup did you see over using your cursor approach?
January 5, 2010 at 9:38 am
Try this:
UPDATE mjtest
SET duplicate_with = MyAlias.DupId
FROM mjtest
LEFT JOIN
(
select IDSrc.InvoiceID, DupID=MIN(DupSrc.InvoiceID)
FROM MJTest IDSrc
CROSS JOIN MJTest DupSrc
WHERE IDSrc.VendorNumber like '%' + DupSrc.VendorNumber + '%'
AND IDSrc.CheckNumber...
January 4, 2010 at 3:06 pm
That's why I was presuming the edits occurred at a regular interval or some other recognzable event. If updates are only done by a single process every day at...
December 16, 2009 at 1:59 pm
maiphuong2703 (12/15/2009)
I have understood it as following:
TABLE DEMO(ID, Name,...
December 16, 2009 at 12:52 pm
I generally gravitate towards the big, kitchen-sink apps, usually because I want to do things that most people, apparently, do not, or I want to do a lot more things...
December 7, 2009 at 5:40 pm
shekihan (9/10/2005)
RecentlyI have had discussionwith my colleaguesregarding the best database design practicies. Our opinions regarding whether to use composite keys as a primary key (as opposed to one-field-key)splitted into two...
December 1, 2009 at 3:33 pm
MatthewA.Herold (11/28/2009)
Yeah.Already made the cursor a while ago, I was just looking for a way to avoid using it.
Guess not 🙁
I hate cursors.
The reason to avoid cursors is because they...
December 1, 2009 at 2:35 pm
I'm confused -- you seem to be building this "column list" as a concatenated string with bracketed names from a table where the values are in individual rows, then you...
November 25, 2009 at 10:28 am
Welcome, Les!
Thanks.
One thing you'll see as you flip through the year's worth of discussion is that this is more of a water-cooler environment and that the kvetching about posts...
November 25, 2009 at 7:29 am
Bob Hovious 24601 (11/24/2009)
In order to avoid redundancy and repetition and redundancy, we have established an informal rule that newcomers first review...
November 24, 2009 at 4:43 pm
[highlight=#1]I don't see a way to delete this so I guess you can just ignore it -- my Newbie stripes are showing here. When I posted this I didn't...
November 24, 2009 at 4:01 pm
Viewing 13 posts - 76 through 88 (of 88 total)