Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    1

    Unanswered: Need help in SQL

    Hi Gurus,

    How to generate values automatically for a primary key column without using a sequence or identity in Sql server /DB2/Oracle using triggers.

    Kamal

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    That's pretty vague, but do you mean this?

    http://weblogs.sqlteam.com/brettk/ar...6/29/1687.aspx
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    [Edit: True but tactless comment removed.]

    You tell me: how to eat spaghetti without fork using spoon? The result will be just as messy.
    Last edited by blindman; 10-03-05 at 16:01.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

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