I am trying to do the simplest thing
Insert values from one table into another, but I keep getting this
Any idea what I am or might be missing? The query runs just fine on it's own and returns 1717 records, each of which I want to insert into the other table.
I can't even get
to work...
Code:
insert into dbo.tbl_Slipper(Job,JOB_DELIVERY_DATE,QTY_TO_MAKE)
select Job,JOB_DELIVERY_DATE,QTY_TO_MAKE
from dbo.tbl_Slipper_Test
Insert values from one table into another, but I keep getting this
Code:
Msg 512, Level 16, State 1, Procedure ForInsert, Line 10 [Batch Start Line 0]
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.
Any idea what I am or might be missing? The query runs just fine on it's own and returns 1717 records, each of which I want to insert into the other table.
I can't even get
Code:
insert into dbo.tbl_Slipper(Job)
select '00000000'
from dbo.tbl_Slipper_Test
to work...