| Query without outer join [message #569894] |
Fri, 02 November 2012 17:36  |
msaleem
Messages: 37 Registered: November 2006 Location: Pakistan
|
Member |

|
|
Hi gurus,
I have an attendance table in which we have empno, time_in, time_out..etc.
I want to create a matrix report that should shows all dates of any specific required month in columns and present empno in rows and time_in in cells.
I did it with using a temporary table by filling all the required dates and outer join with attendance table, it works fine, but it takes so long, is there any other better fast way to do it?
Thanks in advance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Query without outer join [message #569912 is a reply to message #569900] |
Sat, 03 November 2012 01:07  |
 |
Michel Cadot
Messages: 54224 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Note that '02-jan-12 19:27' is a STRING not a DATE:
SQL> select to_date('02-jan-12 19:27') from dual;
select to_date('02-jan-12 19:27') from dual
*
ERROR at line 1:
ORA-01858: a non-numeric character was found where a numeric was expected
Regards
Michel
|
|
|
|