Viewing 15 posts - 61 through 75 (of 105 total)
Yes, Lowell, I really do see your point. A view like this also spares one the need to create a second trigger for when an invoice is deleted, which...
February 3, 2012 at 7:24 pm
Well, thank you for that. This is a text book example. I am learning triggers and it is Peter Rob and Carlos Coronells sample databases and questions I am...
February 3, 2012 at 12:56 pm
So, I tried Lowell's script (where a table called MyAlias is pulled 'voila' out of thin air. Unsure :unsure:) never seen before:w00t:)
Bug is still there. Both 1002 and 1003...
February 3, 2012 at 12:34 am
I took David's answer because it used my existing column names and was less confusing to me.
That trigger works....but has a bug. It updates both 1002 and 1003. ...
February 2, 2012 at 8:10 pm
Read it. Thanks.
January 30, 2012 at 1:14 am
Want to give everything a label, right now, memorize, and then draw on these from memory like tools from a waist belt... So, the first query utilizes as subquery, the...
January 27, 2012 at 12:45 pm
Thank you so much. I can't believe how good you guys are to me. I am learning here.
January 26, 2012 at 10:02 pm
Celko, I would like to read your books, but now I'm afraid that it will feel like you're yelling at me, and I usually have a voice in my head...
January 25, 2012 at 2:47 am
Hello Celko,
I can see how the points you make are important when it’s your task to design a database, but that is not what I am focusing on here....
January 25, 2012 at 2:29 am
roryp and Paul, the CTE solution provided works great. Thanks.
January 24, 2012 at 10:05 am
Actually, the above CTE solution is the tool for the job for my other posting:
http://www.sqlservercentral.com/Forums/Topic1240528-392-1.aspx#bm1240564
For this scenario, using a CTE seems out of place.
January 24, 2012 at 10:04 am
Paul, I feel the love.:hehe: I now understand that a CTE is the tool for this job.
Thanks for the Anatomy and Physiology of CTE based queries. I studied...
January 23, 2012 at 9:26 pm
Burninator, why are you going all sophisticated on me?
January 23, 2012 at 3:48 pm
OK, this is accurate. For the forum I left it with line table because the line_prices and the p_prices are the same and I didn't want to provide more...
January 23, 2012 at 3:38 pm
OK, Paul, I appreciate it very much.
January 23, 2012 at 3:36 pm
Viewing 15 posts - 61 through 75 (of 105 total)