Code: Select all
Illegal to INSERT into table used by subquery.
I also treid with
INSERT INTO UV.ACCOUNT(@ID, NAME, PATH) VALUES (SELECT 'Project2', NAME, '/pathname/Project2' FROM UV.ACCOUNT WHERE @ID = 'Project1');
no use.
The name part has DataStage/{Version}/{Server ip}/nnnn.
When I did the ED to insert the new accout, the nnnn varied automatically.