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 |
What is character functions?
Name the different types of indexes in sql and define them.
How can check sql version from command line?
Is sql microsoft?
What is clause in sql?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
What is synonyms?
Can we use the cursor's to create the collection in PL/SQL?
Hello All, Could any well write a query for the following scenario. Account(table name) No Name Amount 1 ABCD 2000.00 2 DEFG -2000.00 3 GHIJ 3000.50 4 JKLM 4000.00 5 MNOP 6000.00 O/p Should be in this format No Name Credit Debit 1 ABCD 2000.00 0 2 DEFG 0 -2000.00 3 GHIJ 3000.50 4 JKLM 0 -4000.00 5 MNOP 6000.00 o could any one give appropriate query for this Thnks in Advance Suneel Reddy
what is the difference between a having clause and a where clause? : Sql dba
What is pls integer?
What does cursor do in sql?