srinirao
04-28-2003, 02:33 PM
I want records depending on the EXDate. Supposing I make a query now, the put put should have all the records till now excluding SATURDAY AND SUNDAY records.At any given point of time, I want records dated five days back from the present date.
CorpActionType SecurityID NewSecurityID EXDate RecordHoldingDate PayableDate NewShares
-------------- ---------- ------------- ---------- -----------------
LIQ 46261Y102 NULL 20021007 20010118 20020927 NULL
TENDER 85590A203 NULL NULL 20030110 NULL NULL
REVSPL 316850106 316850304 NULL 20020923 20021011 1.0000000
MERGER 704508100 278642103 NULL 20021003 NULL NULL
TENDER 364760108 NULL NULL 20021009 NULL NULL
TENDER 678002106 NULL NULL 20030107 NULL NULL
I want it something like this:
select CorpActionType, SecurityID, SecurityDescription, NewSecurityID,
EXDate, RecordHoldingDate, PayableDate, NewShares from CorpAction_AssetActionsReported
where to_date.........
CorpActionType SecurityID NewSecurityID EXDate RecordHoldingDate PayableDate NewShares
-------------- ---------- ------------- ---------- -----------------
LIQ 46261Y102 NULL 20021007 20010118 20020927 NULL
TENDER 85590A203 NULL NULL 20030110 NULL NULL
REVSPL 316850106 316850304 NULL 20020923 20021011 1.0000000
MERGER 704508100 278642103 NULL 20021003 NULL NULL
TENDER 364760108 NULL NULL 20021009 NULL NULL
TENDER 678002106 NULL NULL 20030107 NULL NULL
I want it something like this:
select CorpActionType, SecurityID, SecurityDescription, NewSecurityID,
EXDate, RecordHoldingDate, PayableDate, NewShares from CorpAction_AssetActionsReported
where to_date.........