Re: Changing SQL Atuhthentication passwords

From: Mary Chipman (mchip@nomail.please)
Date: 03/26/03


From: Mary Chipman <mchip@nomail.please>
Date: Wed, 26 Mar 2003 15:22:03 -0500


If a SQLS user is connected, they can run sp_password without
specifying the user name argument to change their own password:

sp_password 'oldpassword', 'newpassword'

-- Mary
MCW Technologies
http://www.mcwtech.com

On Wed, 26 Mar 2003 08:04:44 -0800, "Tim no more XP Allen"
<tim.allen@torex.com> wrote:

>Hi there, I hope someone can help before I pull the rest
>of my hair out! We a have an in house app that has to
>access sql server on one of our customer sites using SQL
>authentication because they use XP and their local PC
>rights cause problems.(Long story)
>Their aplication password matches their SQL one in order
>to logon only once. However if they change their app
>password within the program, this needs to chage also in
>SQL. However i am aware only sysadmin can do this and they
>are restricted users. Is there anywork around for this?
>Either in code in the app (VB6) or elsewhere. 1 idea i had
>was:writing a stored procedure to call the system one
>(Sp_password) to change the password, as long as you have
>exec rights to the home SP ?
>
>many thanks
>Tim



Relevant Pages

  • ASP SQL Insert NULL Date Value
    ... I've been pulling my hair out trying to figure this out. ... I'm trying to insert a NULL value into my SQL Server 2000 database. ... have a datetime field called 'ProcedureDate' that is allowing NULL ... Here is my ASP Code that sets a NULL value if there is no date entered: ...
    (microsoft.public.inetserver.asp.db)
  • formatdatetime inserts 1/1/1900 instead of current date
    ... I am starting to rip my hair out. ... The fields in sql all smalldatetime. ...
    (microsoft.public.sqlserver.server)
  • formatdatetime inserts 1/1/1900 instead of current date
    ... I am starting to rip my hair out. ... The fields in sql all smalldatetime. ...
    (microsoft.public.sqlserver.programming)