Question Locked

Trazas en sql server profile

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Buena quiero eliminar (delete) una traza (traceid 1).
ingreso como SA con permisos de ALTER TRACE y no puedo eliminarla.

SELECT * FROM ::fn_trace_getinfo(default)

traceid property value
1 1 6
1 2 \\?\E:\data\SQL Server Data\audittrace20080301020825_402.trc
1 3 200
1 4 NULL
1 5 1
2 1 2
2 2 C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\log_296.trc
2 3 20
2 4 NULL
2 5 1

(10 row(s) affected)
------------------------------------
EXEC sp_trace_setstatus 1, 0
Msg 8189, Level 14, State 32, Procedure sp_trace_setstatus, Line 1
No tiene permiso para ejecutar 'SP_TRACE_SETSTATUS'.
-----------------------------------
EXEC sp_trace_setstatus 1, 2
Msg 102, Level 15, State 1, Line 11
Sintaxis incorrecta cerca de '0'.

gracias .

4 replies

by boxfiddler Hot topic

http://babelfish.altavista.com/tr

Plans in SQL server procase out Good I want to eliminate (delete) a plan (traceid 1). entrance as SA with ALTER permissions DRAWS UP and I cannot eliminate it. SELECT * FROM::FN_TRACE_GETINFO(DEFAULT) traceid property value 1 1 6 1 2 \\?\E:\data\SQL Server Data\audittrace20080301020825_402.trc 1 3 200 1 4 2 NULL 1 5 1 2 1 2 2 C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\log_296.trc 2 3 20 2 4 NULL 2 5 1 (10 row(s) affected) EXEC sp_trace_setstatus 1, 0 Msg 8189, Level 14, State 32, Procedure sp_trace_setstatus, Line 1 does not have permission to execute ' SP_TRACE_SETSTATUS'. EXEC sp_trace_setstatus 1, 2 Msg 102, Level 15, State 1, Line 11 incorrect Syntaxes near ' 0'. thanks.

As I know virtually nothing about SQL, I can't add anything. Tambien, hablo muy poquito Espanol. Perhaps the OP will return and help to clarify further.

edit the usual

by Former member

Do updates to your Microsoft SQL server,

Please post back if you have anymore problems or questions.

This discussion is closed to new replies.