![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? |
#3
| |||
| |||
|
|
hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? |
#4
| |||
| |||
|
|
hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? |
#5
| |||
| |||
|
|
hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? |
#6
| |||
| |||
|
|
muhammaddzulkarn... (AT) gmail (DOT) com wrote: hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? Solve it? Who knows! But it's pretty obvious why you're getting the error... * to_char * ( * * to_date * * ( * * * &date_start, * * * 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD') * * ), * * 'YYYY' * ) What do you think that || will produce? -- Peter |
#7
| |||
| |||
|
|
muhammaddzulkarn... (AT) gmail (DOT) com wrote: hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? Solve it? Who knows! But it's pretty obvious why you're getting the error... * to_char * ( * * to_date * * ( * * * &date_start, * * * 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD') * * ), * * 'YYYY' * ) What do you think that || will produce? -- Peter |
#8
| |||
| |||
|
|
muhammaddzulkarn... (AT) gmail (DOT) com wrote: hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? Solve it? Who knows! But it's pretty obvious why you're getting the error... * to_char * ( * * to_date * * ( * * * &date_start, * * * 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD') * * ), * * 'YYYY' * ) What do you think that || will produce? -- Peter |
#9
| |||
| |||
|
|
muhammaddzulkarn... (AT) gmail (DOT) com wrote: hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? Solve it? Who knows! But it's pretty obvious why you're getting the error... * to_char * ( * * to_date * * ( * * * &date_start, * * * 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD') * * ), * * 'YYYY' * ) What do you think that || will produce? -- Peter |
#10
| |||
| |||
|
|
hello everyone, i just got a problem. This is my statement: select hostname, to_char(to_date(&date_start , 'YYYYMMDD' || to_date(&date_end, 'YYYYMMDD')), 'YYYY') from gen_api_performance_daily where statistics_date between to_date(&date_start, 'YYYYMMDD') and to_date(&date_end , 'YYYYMMDD') when i executed the script, i got date format not recognized error. how to solve it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |