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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is acid property in a database?

586


What are some emotional triggers?

572


What is replication id?

524


How do you write an index?

527


What is difference between stored function and application function?

599






How do you run a query?

589


How do I remove sql plus from windows 10?

568


What is clustered and nonclustered index in sql?

503


What are the different types of database management systems?

532


How do you optimize a stored procedure in sql?

504


What does select top 1 do in sql?

544


What is the purpose of a sql?

531


what are rollup and cube in t-sql? : Transact sql

661


What is insert command in sql?

528


What are local and global Indexes and where they are useful.

930