
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
31.07.2018, 10:53
|
|||
|---|---|---|---|
|
|||
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:57
|
|||
|---|---|---|---|
CASE ошибка преобразования |
|||
|
#18+
brzl, А самому подумать? каой тип данных выходит из этой конструкции? Код: plsql 1. 2. 3. 4. 5. 6. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
31.07.2018, 11:00
|
|||
|---|---|---|---|
|
|||
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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=52&mobile=1&tid=1883669]: |
0ms |
get settings: |
7ms |
get forum list: |
18ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
223ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
53ms |
get tp. blocked users: |
2ms |
| others: | 233ms |
| total: | 557ms |

| 0 / 0 |
