|
|
|
CASE ошибка преобразования
|
|||
|---|---|---|---|
|
#18+
Не работает: Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. Работает: Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. Что за слабость? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.07.2018, 10:53 |
|
||
|
CASE ошибка преобразования
|
|||
|---|---|---|---|
|
#18+
brzl, А самому подумать? каой тип данных выходит из этой конструкции? Код: plsql 1. 2. 3. 4. 5. 6. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.07.2018, 10:57 |
|
||
|
CASE ошибка преобразования
|
|||
|---|---|---|---|
|
#18+
из доки https://docs.oracle.com/cd/B28359_01/server.111/b28286/expressions004.htm#SQLRF20037 For a simple CASE expression, the expr and all comparison_expr values must either have the same datatype (CHAR, VARCHAR2, NCHAR, or NVARCHAR2, NUMBER, BINARY_FLOAT, or BINARY_DOUBLE) or must all have a numeric datatype. If all expressions have a numeric datatype, then Oracle determines the argument with the highest numeric precedence, implicitly converts the remaining arguments to that datatype, and returns that datatype. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.07.2018, 11:00 |
|
||
|
|

start [/forum/topic.php?fid=52&fpage=106&tid=1883669]: |
0ms |
get settings: |
7ms |
get forum list: |
15ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
19ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 208ms |
| total: | 298ms |

| 0 / 0 |
