Viewing 15 posts - 31 through 45 (of 81 total)
It's late on a Friday. Someone on another forum just pointed out to me that I wasn't doing a SELECT on my temp table after I built it. I'm going...
April 12, 2013 at 1:10 pm
I tried to post the entire stored proc, but something in it was causing a problem with the forum. I suspect it's either the table creation or dropping or the...
April 12, 2013 at 1:07 pm
No, LitHold and LitHoldDetails are in a one-to-many relationship, but LitHoldDetails and EmailTemplate are in a one-to-one relationship. For every LitHoldDetails, there is one (or should be one) EmailTemplate. My...
April 12, 2013 at 8:40 am
LitHold and LitHoldDetails are connected via the LitHoldID column, and LitHoldDetails and EmailTemplate are connected via the LitHoldDetailsID column. Apart from that and the table structures, what else do you...
April 12, 2013 at 8:27 am
Ah! I knew why I was getting the error message, but using TOP never occurred to me. However, I think there's still something wrong. With the new query:
insert into EmailTemplate
(LitHoldDetailsID,...
April 11, 2013 at 3:24 pm
As it turns out, this was so simple and obvious I'm embarrassed. :blush: Here's my code:
DECLARE @EmployeeIDs TABLE(FirstName VARCHAR(30), LastName VARCHAR(30), PhoneNumber VARCHAR(50), Title VARCHAR(50), EmployeeID VARCHAR(6), Location VARCHAR(30))
INSERT INTO...
January 18, 2013 at 1:04 pm
Thank you, Vinu! The EXCEPT statement is new to me. Always nice to learn something new.
December 20, 2012 at 8:25 am
I believe this does it.
Thanks, Steve!
December 18, 2012 at 11:51 am
OK, sorry, let me try to explain more fully. The Action Table contains actions that need to be completed for each Item and the person responsible for taking the action....
December 18, 2012 at 11:17 am
I figured it out! Thanks to this link, I changed all the ORs to UNIONs. My query now runs in less than one second. :smooooth:
December 7, 2012 at 10:53 am
FYI, I tried implementing Full Text Indexing, but it had no effect on the time the query takes to return results. In some cases it takes longer. We also looked...
December 7, 2012 at 9:54 am
😀 Are law firms always so ridiculous? Never mind, I've worked at them since 1987, I know the answer. Email is only part of the data we need to trawl...
December 6, 2012 at 8:22 am
Thanks again.
December 4, 2012 at 3:16 pm
Thank you. How about FULL TEXT searching? Microsoft says it's faster than the equivalent LIKE statements. I've never used it. Is it worth looking into in this case?
December 4, 2012 at 3:03 pm
Thanks! Can you suggest an app or two that would be appropriate?
December 4, 2012 at 12:19 pm
Viewing 15 posts - 31 through 45 (of 81 total)