Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Zid

  1. Zid

    How do I automatically generate a key?

    Thanks Terry, looks great :-)
  2. Zid

    How do I automatically generate a key?

    I basically ment to say how do I create an auto-increment field, but with a few characters appended to the front?
  3. Zid

    How do I automatically generate a key?

    The 'key' is the primary key which is in the same table, what I really need is something like an IDENTITY, but with the character 'X' and the last to digits of the year added on the front. Is there another way to update the field automatically like an IDENTITY would do.
  4. Zid

    How do I automatically generate a key?

    Please I need some help, I am using SQL Server 7 and need to make a trigger that automatically updates a table with a key when rows are inserted or updated. The key has to be in the form 'XYY00001', where 'X' is a character, 'YY' is the last to digits of the current year and '00001' is a serial...

Part and Inventory Search

Back
Top