Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 2nd, 2005, 04:10 PM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Anantsharma Send a message via Yahoo to Anantsharma
Default Blank Password for sa and others

HI all,

I have to write a SQl Script which will be checking the users for which the Passwords are not defined. This includes the blank spaces (if password is all white spaces, its also treated as blank). In Sysxlogin table, the password is Varbinary. For no passwords, I can check for 'NULL'. But for ' ', I have to look for..??

Hope you got my problem. In other words, how to check if a password for 'sa' or any other user is NULL / Blank Spaces only, how to detect such users.

Hope to have an expert advice so quickly...))

Thanks.

B. Anant
__________________
B. Anant





Similar Threads
Thread Thread Starter Forum Replies Last Post
forgot sa password, unable to change... help happygv SQL Server 2000 14 April 29th, 2010 02:26 AM
Forgotten SQL sa password GeekyBern SQL Server 2000 2 August 5th, 2005 09:39 AM
'sa' can not login caojun SQL Language 2 January 11th, 2005 09:08 PM
sa password ckentebe SQL Server 2000 2 January 5th, 2005 05:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.