alter table - Sql Column had no values -
i have sql table trying add column table to. when execute alter table query not pull values out of table match column trying make connection.
for example have column table 1 , column table 2, supposed coincide. columnatable1 being identification number , columnatable2 being description.
i tried got error...
alter table dbo.committedtbl add v_vendorname nvarchar(200) v_venkey = v_vendorno it tells me have incorrect syntax... know how accomplish this?
alter table dbo.committedtbl add v_vendorname nvarchar(200); go update c set c.v_vendorname = a.v_vendorname committedtbl c join tablea on c.v_venkey = a.v_vendorno; go i'm guessing @ structure here.
Comments
Post a Comment