|
Получить сообщение в ASA
|
|||
---|---|---|---|
#18+
Как в процедуре получить сообщение по коду ошибки типо такого же (ASE) Declare @v varchar(255) Select @v=description From master..sysmessages where error = @@error ... |
|||
:
Нравится:
Не нравится:
|
|||
21.05.2003, 16:20 |
|
Получить сообщение в ASA
|
|||
---|---|---|---|
#18+
sysmessages -- > SYSUSERMESSAGES из OnLine Books - > RAISERROR If format-string is not supplied or is empty, the error number is used to locate an error message in the system tables. Adaptive Server Enterprise obtains messages 17000-19999 from the SYSMESSAGES table. In Adaptive Server Anywhere this table is an empty view, so errors in this range should provide a format string. Messages for error numbers of 20000 or greater are obtained from the SYS.SYSUSERMESSAGES table ... |
|||
:
Нравится:
Не нравится:
|
|||
21.05.2003, 17:02 |
|
Получить сообщение в ASA
|
|||
---|---|---|---|
#18+
по Select * From sys..SYSUSERMESSAGES или Select * From sys..SYSMESSAGES выдает пустоту. а где хранятся тогда системные сообщения ... |
|||
:
Нравится:
Не нравится:
|
|||
21.05.2003, 18:03 |
|
Получить сообщение в ASA
|
|||
---|---|---|---|
#18+
Описание выполнения получается ERROR[ sqlstate | sqlcode ] где The SQLSTATE value is set after each statement. You can check the SQLSTATE to see whether or not the statement succeeded и The SQLCODE value is set after each statement. You can check the SQLCODE to see whether or not the statement succeeded ... |
|||
:
Нравится:
Не нравится:
|
|||
22.05.2003, 11:49 |
|
|
start [/forum/topic.php?fid=55&msg=32165323&tid=2014911]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
50ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
51ms |
get tp. blocked users: |
2ms |
others: | 248ms |
total: | 396ms |
0 / 0 |