cfbeginner
MIS
Hi All,
How do I insert a multiple row an existing table and assign a new value to one of the fields??
Below is my SQL query
Insert INTO tblCompany(CompanyID, Type, SoftwareID, LocationID)
SELECT CompanyID, Type, SoftwareID, LocationID
FROM tblcompany
Where LocationID=7
This works great, but I need to know how to assign a new value to the 'locationID=100'
Thanks very much!
Sout
How do I insert a multiple row an existing table and assign a new value to one of the fields??
Below is my SQL query
Insert INTO tblCompany(CompanyID, Type, SoftwareID, LocationID)
SELECT CompanyID, Type, SoftwareID, LocationID
FROM tblcompany
Where LocationID=7
This works great, but I need to know how to assign a new value to the 'locationID=100'
Thanks very much!
Sout