I receive an error when trying to insert the declared variable Ids into another table. How would I correct this?
ALTER PROCEDURE [dbo].[tbl_Update] 
    @id int,
    @description nvarchar(50),
    @price decimal(12,7),
    @statusId int,
AS
BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
    Update tbl
    set
    description=@description,
    price=@price,
    statusId=@statusId
    where id = @id
    --Once submitted values will map to adminEdm 
    if (@statusId = 1)
    --Every subform will be created and their ids will be
    Declare @generalId table (id int)
    insert into tblGeneral 
    output inserted.id into @generalId(id)
    default values
    Declare @categoryId table (id int)
    insert into tblCategory
    output inserted.id into @categoryId(id)
    default values
    --ERROR when inserting
    Insert into tblParent(generalId, categoryId)
    values(Select id from @generalId, Select id from @categoryId)
END
Error message "Incorrect syntax near the keyword 'Select'"
