Viewing 15 posts - 46 through 60 (of 769 total)
The SQL Prompt User forums are filled with unhappy users. You're the first person I've seen say it's better. I tried SQL History and it was incredibly slow and not...
March 24, 2023 at 2:40 pm
Jeff - the code in the original post was removed b/c in just a few mins after posting it I figured it out and I was going to delete the...
March 17, 2023 at 11:34 pm
Jeff - Gotcha!
March 17, 2023 at 9:07 pm
Jeff - The trigger did capture the change of a non-null value to null when I removed the date form an item and dtInactive was set to NULL.
March 17, 2023 at 5:56 pm
Thanks for the tip
March 17, 2023 at 5:11 pm
Jeff - Below is the code I used for INSERTs. Originally the join conditions (in the parens) were all set to AND. Once I switched to OR instead it worked....
March 17, 2023 at 4:55 pm
Dumb Dumb me was looking at it in the opposite direction. Its 1AM and because the work computer is in the hallway next to my kids bedrooms I can't get...
March 17, 2023 at 6:18 am
I too was wondering why the temp table. I've had to create several AFTER INSERT/UPDATE triggers and never even considered adding a temp table to the process. I Just use...
February 20, 2023 at 8:55 pm
February 19, 2023 at 5:09 pm
I could see that, the Spock brow
February 15, 2023 at 7:49 pm
Thanks Johan. For me it just looks wrong/bad. I mean if in some situations it provides better performance and enough so to justify it then yeah but it just looks...
February 15, 2023 at 7:48 pm
Jeff - is this something you'd personally recommend trying to avoid in queries? Clearly it's a valid query because it does run but I can't help but wonder if like...
February 14, 2023 at 7:55 pm
You can defer the ON clause for a JOIN until after other JOINs. Normally you wouldn't do that unless it's absolutely necessary.
LEFT OUTER JOIN TABLEC CC ON (CC.hFKey4 =...
February 14, 2023 at 6:39 pm
IIRC, you'll find no place where I've suggested doing such a thing in the article because there are much more effective methods to find gaps in a sequence of values
Jeff...
October 13, 2022 at 10:08 pm
NOTE: I was not the one who designed the DB I am working with so I can not ask questions as to "why did they do that" or 'Why did...
October 11, 2022 at 9:34 pm
Viewing 15 posts - 46 through 60 (of 769 total)