Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


wirte a query to filter improper date format follwing table?
date
20-apr
22-may-2010
26-jun-2010
feb-2009

i want the output

date
22-may-2010
26-jun-2010

Answers were Sorted based on User's Feedback



wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010..

Answer / praveen

select to_date('Column_Name','dd-mon-yyyy') from table_name;

Is This Answer Correct ?    23 Yes 15 No

wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010..

Answer / pulakesh

select * from testdate
where to_date(column1,'dd-mon-yyyy')=to_date(column1,'dd-
mon-yyyy') and length(column1)>8

Is This Answer Correct ?    8 Yes 5 No

wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010..

Answer / dipti

select * from TABLE1
where VSIZE(column_name) > (select VSIZE('DD-MON-YYYY') from dual)

Is This Answer Correct ?    0 Yes 0 No

wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010..

Answer / kumar

select * from employees
where
length(hire_date)=length(sysdate)

Is This Answer Correct ?    2 Yes 6 No

wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010..

Answer / john bershan

select to_char(column_name,'dd-mon-yyyy') from <table_name>;

Is This Answer Correct ?    1 Yes 6 No

wirte a query to filter improper date format follwing table? date 20-apr 22-may-2010 26-jun-2010..

Answer / sowmya

Select date from table where date:=to_date(‘date’,’DD-MM-
YYYY’);

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More SQL PLSQL Interview Questions

What are all the common sql functions?

0 Answers  


What is Overloading of procedures ?

4 Answers   Amdocs,


what's the difference between a primary key and a unique key? : Sql dba

0 Answers  


Can we use commit inside a trigger?

0 Answers  


Does oracle use sql?

0 Answers  


suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?

6 Answers  


how to extract a unit value from a date and time? : Sql dba

0 Answers  


what is the difference between implicit and explicit trigger

2 Answers   Tech Mahindra,


What is the difference between DELETE and TRUNCATE?

15 Answers   Johns Hopkins University, Tech Mahindra,


What are reports usually used for?

0 Answers  


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

0 Answers  


Is pl sql a programming language?

0 Answers  


Categories