Viewing 15 posts - 19,276 through 19,290 (of 26,484 total)
Untested, but you could give this a try:
with MaxFundDate (
Fund_Number,
Fund_Valuation_Date
) as (
select
Fund_Number,
max(Fund_Valuation_Date
from
...
August 11, 2009 at 12:08 pm
You could use isnull(tb.ID,0), but that still doesn't match with anything in your sample data.
August 11, 2009 at 11:41 am
Based on your sample data, the only way I see to do this is with the following code:
select
*
from
dbo.TableA ta
...
August 11, 2009 at 11:16 am
Shark Energy (8/11/2009)
And surely these should both work if...
August 11, 2009 at 10:29 am
Okay, now I'm slightly confused. One, what are your requirements? We also could use the DDL for your tables, sample data for your tables, and the expected results...
August 11, 2009 at 10:09 am
Glad it worked, and thanks for the feedback.
August 11, 2009 at 9:57 am
Interesting. Too bad publications that do tech edit and peer review articles don't post warnings on their articles as well. I have read misinformation on other sites and...
August 11, 2009 at 9:53 am
GilaMonster (8/11/2009)
Gianluca Sartori (8/11/2009)
Barry is leading a new wave...A boring one.... 😉
Now where's that pic of Qui-gon I had lying around.....
If I were an ubber-geek, I'd figure out how to...
August 11, 2009 at 9:42 am
novice_coder (8/11/2009)
Gianluca Sartori (8/11/2009)
SELECT *
FROM TableA
LEFT JOIN TableB
ON (TableA.ID1=TableB.ID1 AND...
August 11, 2009 at 9:27 am
SA (8/11/2009)
George any update on this? I will be evaluating different options shortly and would like to know if you got to the bottom of this.
I second George on still...
August 11, 2009 at 9:16 am
Gianluca Sartori (8/11/2009)
SELECT *
FROM TableA
LEFT JOIN TableB
ON (TableA.ID1=TableB.ID1 AND TableA.ID2=TableB.ID2...
August 11, 2009 at 9:05 am
lnelson (8/11/2009)
Segment1 (nvarchar(50), null)
Segment2 (nvarchar(50),null)
national_identifier(nvarchar(50), null)
The actual data contained in these fields is typically numbers. The national identifier contains social...
August 11, 2009 at 8:47 am
mtassin (8/11/2009)
Lynn Pettis (8/10/2009)
mtassin (8/10/2009)
I'm sure she wasn't hinting at you. I am pretty sure I have an idea or two who she was thinking about as she wrote...
August 11, 2009 at 8:38 am
Paul White (8/10/2009)
GSquared (8/10/2009)
August 11, 2009 at 8:20 am
Can you explain what you are looking for or why it is important to do this?
August 10, 2009 at 4:36 pm
Viewing 15 posts - 19,276 through 19,290 (of 26,484 total)