I am very new in sql and asp.
I am updating several table with information. I needs to capture the last product id in the Product table and increase it by before inserting it in other tables. How do I do that using vbscript and sql?
Dim proid
proid = "SELECT (Last_ProductId) + 1 FROM Product
Then I would insert proid in the other table for the ProductId column information.
Please help. It is very urgent.
Thanks,
Koniba
Niarela@aol.com
I am updating several table with information. I needs to capture the last product id in the Product table and increase it by before inserting it in other tables. How do I do that using vbscript and sql?
Dim proid
proid = "SELECT (Last_ProductId) + 1 FROM Product
Then I would insert proid in the other table for the ProductId column information.
Please help. It is very urgent.
Thanks,
Koniba
Niarela@aol.com