I have s_no in my database's table. Which is increment automatically whenever new entry comes. But this is only int. I am using this as a ID of particular task. I want this in varchar. means id should be like "a45c725". How to achive this
newbie1234 -2 Newbie Poster
Recommended Answers
Jump to PostYou may want to add an additional column for this, and create an insert trigger to automatically generate that id (based on your specifications).
Jump to PostIs this a new question? Can you please give an example of what you want?
All 6 Replies
Szabi Zsoldos 26 Learner and helper guy
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
newbie1234 -2 Newbie Poster
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
newbie1234 -2 Newbie Poster
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.