How do I get the select statement to execute after each insert?Basically when the insert statement executes, I want it to add a new parent_label that is one higher than the last insert.What I get, is it adds the same parent_label as the first. It isn't taking into consideration the last record inserted.insert parenttmp (parent_label, parent_code) select BrandUpload.ParentCompany, ( dbo.FunctionGetNextHighestLabel ) from BrandUpload
*** FunctionGetNextHighestLabel ***var = select parenttmp.parent_label from parenttmp PLUS some alpha chars.EX: 09FF
Thanks for any help.