This is SQL code:
Declare @A_ID AS A_ID
insert into TBL_FO VALUES(NEWID(), @A_ID, '30000.00','1','1')
(select * from TBL_DETAIL where A_ID = '59366409-2EB6-49BC-A88F-801692B735D6')
- I want to follow or copy the A_ID from TBL_DETAIL as
'59366409-2EB6-49BC-A88F-801692B735D6'
to TBL_FO for@A_ID
.. How I can declare the A_ID for copy the same ID