Viewing 15 posts - 91 through 105 (of 131 total)
You could create a view that displays that same information and that would have the added benefit of being real time.
May 8, 2007 at 10:37 pm
Forgive me if this is a stupid suggestion but are you certain that there are zero applications inserting, updating and deleting on that table? Is there replication configured on that...
January 22, 2007 at 7:40 am
Oh my gosh, I spent nearly all day banging my head against the wall trying to come up with this. Thank you very much for the help and your time....
January 18, 2007 at 4:58 pm
Your JOIN clauses must come after your FROM clause, as PW mentioned. And yes, if policy number is what links the three tables, then join on that, but the bottom...
January 18, 2007 at 1:33 pm
Yes, the point of those joins is to return many results, because I want to perform a COUNT on the result set. So the first one might return 20-75 rows,...
January 18, 2007 at 1:18 pm
It looks like ProductType is what joins together GE_Transaction and the other two tables. You could do something like this:
SELECT @WPR_R = Sum(Convert(float,r.WaiverofPremium))* Case
When ([ProductType] = 'P2'...
January 18, 2007 at 12:51 pm
Your last SELECT statement is trying to select WaiverOfPremium and LossDate from GE_Transaction.
You need to join to the other two tables in order to make those columns available. If...
January 18, 2007 at 12:47 pm
Thanks a lot! I had to change some things because I am using SQL Server 2005 but it's roughly the same. I also just put my EXEC statement inside the...
September 14, 2006 at 3:50 pm
I totally agree that programmers need to be business analysts as much as technical experts and developers.
At my company we only hire people like this. We have no pure...
September 2, 2006 at 4:53 pm
Offshore technical labor has limitations. For one thing, communication in software development is difficult with people who can speak to each other clearly, much less through different languages and accents....
August 30, 2006 at 9:21 am
I know how to calculate medians and means. I do it pretty much every day, but thanks for the review
I thought each row...
July 26, 2006 at 11:33 am
I don't understand why the median, which is something you derive from multiple rows, has a value for every single row...am I am missing something?
July 26, 2006 at 7:45 am
I usually use functions to return one single value, to help make query's easier to write. Like for example say you have a departments table, with a recursive fk relationship....
July 13, 2006 at 7:08 am
I wasn't aware of that. I join tables both ways, sometimes using both ways within the same statement. Can you give us an example that produces ambiguous results?
July 12, 2006 at 12:00 pm
Another way that to my eyes is simpler looking:
SELECT p1.productName as ParentProduct, p2.productName as ChildProduct
FROM products p1, products p2, kits k, cart c
WHERE p1.productId = c.productId
AND k.parentProductId...
July 12, 2006 at 8:24 am
Viewing 15 posts - 91 through 105 (of 131 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy