Question : INSERT INTO WITH VARIABLE

Hi!

I want to select the field ProdNo from a table and insert it in the same table but other colum with a variable.

How do i do that?

UPDATE Prod AS T1
SET webpg2 = 'test.asp?Prodno='(SELECT ProdNo FROM Prod AS T2 WHERE T1.Prodno=T2.ProdNo)

This dosent work...

Answer : INSERT INTO WITH VARIABLE

UPDATE Prod SET webpg2 = 'test.asp?Prodno=' + ProdNo
Random Solutions  
 
programming4us programming4us