Posted: Thu Nov 06, 2003 7:11 am Post subject: SELECT
Newbie
Joined: 05 Aug 2003 Posts: 4
I was wondering whether anyone could help me with the following question - are there any issues (performance related or otherwise) with using SELECT to set a number of output fields (not to do any database lookup) as opposed to just using SET to set a variable/constant/input field to an output field i.e.
SET <ParentSegment> = THE(SELECT A."<InputField1>" AS "OutputField1", "<Variable1>" AS "OutputField2>, etc FROM <InputMessage> AS A);
Is it preferable to do it this way as opposed to having lines of separate SET statements? Many thanks in advance for you help with this!
Lisa
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum