I am using MSSql 2000
I have 2 tables within 1 database: coilspec and wirespec
Both tables have these 2 columns and datatypes in common: coil(varchar) and wire1(varchar)
The column in wire1 in table coilspec is blank.
I am tring to populate the column coilspec.wire1 with the data from wirespec.wire1 based on the coilspec.coil column which contains the part number.
Here is what I have so far but it is not working...
UPDATE coilspec.dbo.coilspec SET wire1 = (SELECT wire1 FROM coilspec.dbo.wirespec) where coil = coil
Am I even close?
Many thanks to all the experts out there for your help...
I have 2 tables within 1 database: coilspec and wirespec
Both tables have these 2 columns and datatypes in common: coil(varchar) and wire1(varchar)
The column in wire1 in table coilspec is blank.
I am tring to populate the column coilspec.wire1 with the data from wirespec.wire1 based on the coilspec.coil column which contains the part number.
Here is what I have so far but it is not working...
UPDATE coilspec.dbo.coilspec SET wire1 = (SELECT wire1 FROM coilspec.dbo.wirespec) where coil = coil
Am I even close?
Many thanks to all the experts out there for your help...