Autogeneration in MSSQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • varunapj
    New Member
    • Feb 2008
    • 5

    Autogeneration in MSSQL

    HI ,
    im using mysql express 2005 , Autogeneration of numbers is possible ?
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Originally posted by varunapj
    HI ,
    im using mysql express 2005 , Autogeneration of numbers is possible ?
    When you mean AUTO_INCREMENT columns: yes.

    Ronald

    Comment

    • mwasif
      Recognized Expert Contributor
      • Jul 2006
      • 802

      #3
      Hi varunapj,

      What is mysql express 2005? Are you talking about Microsoft SQL Server 2005 Express Edition?

      Comment

      • varunapj
        New Member
        • Feb 2008
        • 5

        #4
        Yes my sql server 2005 which comes in visual studio 2005

        Comment

        • ronverdonk
          Recognized Expert Specialist
          • Jul 2006
          • 4259

          #5
          Originally posted by varunapj
          Yes my sql server 2005 which comes in visual studio 2005
          This is the MySQL forum. Seen your reply you should post your question in the MS SQL forum. I will move it there.

          moderator

          Comment

          • ck9663
            Recognized Expert Specialist
            • Jun 2007
            • 2878

            #6
            Originally posted by varunapj
            HI ,
            im using mysql express 2005 , Autogeneration of numbers is possible ?
            Try using the IDENTITY property of an int column.

            -- Ck

            Comment

            Working...