Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
21.05.2003, 16:20
|
|||
---|---|---|---|
|
|||
Получить сообщение в ASA |
|||
#18+
Как в процедуре получить сообщение по коду ошибки типо такого же (ASE) Declare @v varchar(255) Select @v=description From master..sysmessages where error = @@error ... |
|||
:
Нравится:
Не нравится:
|
|||
|
21.05.2003, 17:02
|
|||
---|---|---|---|
Получить сообщение в 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, 18:03
|
|||
---|---|---|---|
|
|||
Получить сообщение в ASA |
|||
#18+
по Select * From sys..SYSUSERMESSAGES или Select * From sys..SYSMESSAGES выдает пустоту. а где хранятся тогда системные сообщения ... |
|||
:
Нравится:
Не нравится:
|
|||
|
22.05.2003, 11:49
|
|||
---|---|---|---|
Получить сообщение в 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 ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=55&mobile=1&tid=2014911]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
56ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
others: | 12ms |
total: | 158ms |
0 / 0 |