Examples This example shows the number of login attempts as of the current date and time.SELECT GETDATE() AS 'Today,s Date and Time', @@CONNECTIONS AS 'Login Attempts'Here is the result set:Today's Date and Time Login Attempts --------------------------- --------------- 1998-04-09 14:28:46.940 18
This example shows the number of login attempts as of the current date and time.SELECT GETDATE() AS 'Today,s Date and Time',
@@CONNECTIONS AS 'Login Attempts'Here is the result set:Today's Date and Time Login Attempts
--------------------------- ---------------
1998-04-09 14:28:46.940 18
返回自上次启动 Microsoft® SQL Server™ 以来连接或试图连接的次数。
楼上的不要误导。
你"select * from 数据库..sysprocesses"然后自己看看