Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle NULL vs '' revisited
I see you chose to ignore this one as well...
CREATE TRIGGER connection_limit_trigger
ON ALL SERVER WITH EXECUTE AS 'login_test'
FOR LOGON
AS
BEGIN
IF ORIGINAL_LOGIN()= 'login_test' AND
(SELECT COUNT(*) FROM sys.dm_exec_sessions
WHERE is_user_process = 1 AND original_login_name = 'login_test') > 3ROLLBACK;
I'll make it easy, here is the reference now update your biased rubbish: http://msdn2.microsoft.com/en-us/library/ms189799.aspx
The fact you don't want to says it all,
-- Tony Rogerson, SQL Server MVP http://sqlblogcasts.com/blogs/tonyrogersonReceived on Wed Aug 22 2007 - 00:54:41 CDT
[Ramblings from the field from a SQL consultant]
http://sqlserverfaq.com
[UK SQL User Community]
![]() |
![]() |