|
ORA-01461: can bind a LONG value only for insert into a LONG column
|
|||
---|---|---|---|
#18+
Доброго дня Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34.
Почему у друга слетает второй инсерт? ..... stax ... |
|||
:
Нравится:
Не нравится:
|
|||
25.09.2019, 13:53 |
|
ORA-01461: can bind a LONG value only for insert into a LONG column
|
|||
---|---|---|---|
#18+
StaxПочему у друга слетает второй инсерт?Попробуй за PL/SQL переписать запрос с bind-ами. Глядишь, дойдёт. ... |
|||
:
Нравится:
Не нравится:
|
|||
25.09.2019, 14:00 |
|
ORA-01461: can bind a LONG value only for insert into a LONG column
|
|||
---|---|---|---|
#18+
Stax... Почему у друга слетает... https://docs.oracle.com/cd/B10501_01/appdev.920/a96624/03_types.htm примечание к привязке Long: Note: In SQL statements, PL/SQL binds LONG values as VARCHAR2, not as LONG. However, if the length of the bound VARCHAR2 exceeds the maximum width of a VARCHAR2 column (4000 bytes), Oracle converts the bind type to LONG automatically, then issues an error message because you cannot pass LONG values to a SQL function. ... |
|||
:
Нравится:
Не нравится:
|
|||
25.09.2019, 14:03 |
|
ORA-01461: can bind a LONG value only for insert into a LONG column
|
|||
---|---|---|---|
#18+
boobyStax... Почему у друга слетает... https://docs.oracle.com/cd/B10501_01/appdev.920/a96624/03_types.htm примечание к привязке Long: Note: In SQL statements, PL/SQL binds LONG values as VARCHAR2, not as LONG. However, if the length of the bound VARCHAR2 exceeds the maximum width of a VARCHAR2 column (4000 bytes), Oracle converts the bind type to LONG automatically, then issues an error message because you cannot pass LONG values to a SQL function. спасибо, кажись понял биндится до substr ..... stax ... |
|||
:
Нравится:
Не нравится:
|
|||
25.09.2019, 14:08 |
|
|
start [/forum/topic.php?fid=52&gotonew=1&tid=1882046]: |
0ms |
get settings: |
11ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
42ms |
get topic data: |
12ms |
get first new msg: |
9ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
1ms |
others: | 15ms |
total: | 164ms |
0 / 0 |