user creation
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: user creation

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    2

    Red face user creation

    How can I assign a unique id to each database user when I create them.

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    What are you trying to do?
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  3. #3
    Join Date
    Jul 2005
    Posts
    2
    I want to give a unique id (9 digits) for each of the user when I create a user in the database

  4. #4
    Join Date
    Jul 2000
    Posts
    521
    I don't think its going to be possible unless embedding the 9 digits into username is a viable option.
    svk

  5. #5
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    I guess I meant "What's the business case for assigning a unique nine digit number to each user"?
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  6. #6
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    I wonder whether a system trigger on CREATE USER is possible, that would populate a user_id table with such a number?

    On the other hand, maybe it's possible to apply a function to the username string to deterministically turn it into a number?

    +1 for "what's the business case?", though.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width