Does anyone know if sql server has the capacity to embed a select statement within a value in the insert statement?
insert into table1
(
report_date,
employee
)
values
(
select rpt_dt from reports where rpt_dt = somevalue,
select emp from employees where emp = id
)
Thanks