|
|
|
Проверка синтаксиса SQL
|
|||
|---|---|---|---|
|
#18+
Как можно проверить программно синтаксис сгенерированного SQL? Нет ли какой-то тайной sp_check_syntax? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.11.2002, 17:31:05 |
|
||
|
Проверка синтаксиса SQL
|
|||
|---|---|---|---|
|
#18+
SET PARSEONLY Checks the syntax of each Transact-SQL statement and returns any error messages without compiling or executing the statement. Syntax SET PARSEONLY { ON | OFF } Remarks When SET PARSEONLY is ON, Microsoft® SQL Server™ only parses the statement. When SET PARSEONLY is OFF, SQL Server compiles and executes the statement. The setting of SET PARSEONLY is set at parse time and not at execute or run time. Do not use PARSEONLY in a stored procedure or a trigger. SET PARSEONLY returns offsets if the OFFSETS option is ON and no errors occur. Permissions SET PARSEONLY permissions default to all users. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.11.2002, 17:33:30 |
|
||
|
|

start [/forum/topic.php?fid=46&fpage=3374&tid=1818681]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
30ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
1ms |
| others: | 198ms |
| total: | 313ms |

| 0 / 0 |
