Unanswered: if else condition in .SQL file (Urgent)
Can u give use if and else conditions
in a .sql file...
if not what are the other possible ways to use that condition.
What i am looking for is that
user enters to date and from date
based on the no of week between those dates,
if noofweek > 12 ..then
display data quaterly wise
if noofweek> 4 then
display data month wise
so help me ..i have to do this in .sql file only...