HelloI have a problem to add a recordset from a table to another table and this table contains a field that I want to start a new serial number for each lineHow can I add a new number by adding multiple recordsI use this code for the process addedINSERT INTO dbo.Items ( ItemID , ItemCode , ItemName ) SELECT ( SELECT MAX(ItemID + 1) FROM dbo.Items ) , ItemCode , ItemName FROM dbo.View_TestAddCom
The result114345 10101-11A88 GASKET K ENG RE114345 10101-11E85 GASKET-ENGINE114345 10101-11M87 GSKT KIT ENG114345 10101-12E25 GASKET-ENGINE114345 10101-13E25 GASKET ENG REP114345 10101-13E26 GASKET-ENGINE114345 10101-13E85 GASKET-ENGINE114345 10101-14A25 GAKET ENG114345 10101-15B86 GASKET-ENGINE
Thank you in advance