Write a query to genarate target column.Please answer me.
Advance Thanks.
Src Tgt
Q10 Quarter to 2010
Q90 Quarter to 1990
Q80 Quarter to 1980
Q74 Quarter to 1974
Answer Posted / manohar
select 'Quarter to' ||to_char(cast('1/1/'||substr(Src) as
char),'YYYY') from table
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
can sql servers linked to other servers like oracle? : Sql dba
what is the stuff function and how does it differ from the replace function? : Sql dba
What is full join?
Why do we use procedures?
How to call shell script from pl sql procedure?
What is rtm in testing?
What is a scalar value in sql?
What is a dynamic query?
What are the types of join and explain each?
What is restrict in sql?
What is dense_rank?
How to load data with sql*loader?
Are sql database names case sensitive?
How many commands are in sql?
Write an sql query to select all records from the table?