Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > SQL Server 6.5 sp_addlogin error
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 23rd April 11:19
ron
External User
 
Posts: 1
Default SQL Server 6.5 sp_addlogin error



Will having a period in a login name create a invalid
character error when adding name to database?

Example; previous login names that worked - navsea_jonesrb

name that will not work - navsea_ronald.jones
  Reply With Quote


  sponsored links


2 23rd April 11:19
vishal parkar
External User
 
Posts: 1
Default SQL Server 6.5 sp_addlogin error



Ron,

Im not very sure about the compatibility of SQL 6.5 but in SQL 2000 you can create the
same login name by enclosing single quote around the login name. Following works in SQL
2000

sp_addlogin 'navsea_jonesrb.jones'

-- However following will fail.

sp_addlogin navsea_jonesrb.jones

Try putting single quotes around the login name and subsequently in sp_adduser.
--
-Vishal
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666