|
|
|
Как отловить ошибку "The query contained only ignored words"
|
|||
|---|---|---|---|
|
#18+
Есть хран.проц: ... exec ('select * from Table where contains(Column,' + ContainsCondition + ')') set @nError = @@ERROR print @nError ... Выполняю ее в Query Analyzer. Если возникает ошибка %subj%, Query Analyzer выдает: Server: Msg 7619, Level 16, State 1, Line 1 The query contained only ignored words. а до set @nError = @@ERROR print @nError дело вообще не доходит. Вопрос такой: как внутри T-SQL скрипта отловить такую ошибку, а не передавать клиенту? Хелп, плиз. Вован ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.05.2002, 15:41 |
|
||
|
|

start [/forum/topic.php?fid=46&gotonew=1&tid=1822868]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
169ms |
get topic data: |
9ms |
get first new msg: |
4ms |
get forum data: |
2ms |
get page messages: |
42ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 486ms |

| 0 / 0 |
