#1 2012-07-12 18:29:18

alfredo123
Member
Registered: 2012-06-05
Posts: 26

Lookup with between clause

Below is the scenario

Input table has a date column say input_date_col
Lookup table has columns start_date and end_date and lookup_key column

I need to return lookup_key column when input_date_col is between start_date and end_date.

I tried putting this information in the lookup but it gives me an error. Is there a way to do this?

Offline

#2 2012-07-13 01:57:49

alevy
Member
Registered: 2009-11-20
Posts: 1477

Re: Lookup with between clause

Offline

#3 2012-07-13 22:04:41

alfredo123
Member
Registered: 2012-06-05
Posts: 26

Re: Lookup with between clause

Thanks this worked! Appreciate your help.

Offline

Board footer

Powered by FluxBB