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
Answer / praveen
select to_date('Column_Name','dd-mon-yyyy') from table_name;
Is This Answer Correct ? | 23 Yes | 15 No |
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 |
Answer / dipti
select * from TABLE1
where VSIZE(column_name) > (select VSIZE('DD-MON-YYYY') from dual)
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kumar
select * from employees
where
length(hire_date)=length(sysdate)
Is This Answer Correct ? | 2 Yes | 6 No |
Answer / john bershan
select to_char(column_name,'dd-mon-yyyy') from <table_name>;
Is This Answer Correct ? | 1 Yes | 6 No |
Answer / sowmya
Select date from table where date:=to_date(‘date’,’DD-MM-
YYYY’);
Is This Answer Correct ? | 0 Yes | 8 No |
Define commit?
What is trigger and types?
How many types of cursors are available in pl/sql?
How to change the order of columns in Oracle SQL Plus ?
Where is all the data on the internet stored?
What is difference between select statement and cursor
how can we replace the particular column value of a resulted set of executed query? I mean write down a sql query to chane the particular column's value of a resulted set of executed query
how to run 'mysql' commands from a batch file? : Sql dba
What are the methods of filing?
What are commit, rollback, and savepoint?
What is a ddl command?
How to display the current date in sql?