Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

When creating environment specific logins (development, qa, staging, production, etc.) I'm faced with the choice of making the denotation a prefix or a suffix to the login name.

Examples

prod_MyAppLogin
MyAppLogin_prod

Is there any reason why I should prefer one strategy over the other?

(Obviously, I should be consistent with whichever choice I make)

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

I'd rather have the environment be the suffix assuming I had to pick one convention. Otherwise, it's too difficult to navigate through lists of login names that all use the same first five characters.

Of course, if given my choice, I would prefer to use neither the prefix nor the suffix. I'd rather keep the same username in all environments and vary my password and TNS alias to identify which system I'm connecting to.

share|improve this answer
    
I couldn't have said it better. (+1) –  Leigh Riffel Jul 6 '11 at 1:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.