You're welcome. Glad you got it working! It's a shame MS hasn't update that one with a working script...
>Thanks Tracy - those scripts worked fine. Looked in BOL and found nothing but should have googled myself. Looks like the invalid script has been on the MS site for at least eight months after it was first noticed !
>
>Thanks again,
>Viv
>
>>It seems everyone is having the same problem. See if these help:
>>
>>
http://www.wardyit.com/blog/blog/archive/2006/04/26/101.aspx>>
http://groups.google.ro/group/microsoft.public.sqlserver.server/browse_thread/thread/3c4f748e76a510dd/c1787fdeff689f22?hl=ro#c1787fdeff689f22>>
>>
>>>Hi,
>>>
>>>The script at this URl :
http://support.microsoft.com/kb/246133/ fails with
>>>"'LOGINPROPERTY' is not a recognized function name."
>>>
>>>My knowledge of SQLServer isn't up to working out why. Anyone?
>>>TIA,
>>>Viv
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"