Obtenga el registro de intentos de conexión INCLUYENDO el nombre de inicio de sesión en una base de datos de SQL Azure

I need to know the log of connections for a given time frame in a SQL Azure Database.

I've tried this view:

SELECT * FROM sys.database_connection_stats
WHERE database_name='myDatabase'
ORDER BY start_time desc

Getting a table with just these columns:

  • nombre de la base de datos
  • hora de finalización
  • success_count
  • total_failure_count
  • terminated_connection_count
  • throttled_connection_count

Pero NO login name associated!

También probé esto:

SELECT * FROM sys.dm_exec_sessions

Getting plenty of information but just from the conexiones actuales and I need to have a log of attempts.

Is there a way to get a log of connection attempts with user logins in SQL Azure?

Muchas Gracias

preguntado el 12 de junio de 14 a las 10:06

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.