0
I need to do a stock control, where the code of the products should be varchar, because the code will be formed by the abbreviated name of the product category followed by a sequential number, so I will not use the column product_ID who’s kind int, but I will use the product_codev, that is varchar, and I need it to be auto-incrementable. As I do, it has as with triggers?
Okay, thank you so much for the answer, I think I will make the product_code in the application, the product_id is already working anyway! I can’t vote yet on your answer because I’m a new user
– Patterson Silva
You can accept as the correct answer ;p
– Edgar Muniz Berlinck