I took a test recently and there were these 2 Q:-
Q. Do you think it is appropriate to use the ‘LIKE’ option on variable and temp-table definitions?
I favoured LIKE option and told about how it inherits all the attributes of DB field or table. etc etc..
Q. Which function is best CAN-DO or LOOKUP? Discuss personal preference and why.
I favoured LOOKUP as it gives me the resulting position in an INTEGER based on that i can make some business logic IF THEN ELSE.
What are your takes on this.
Thanks.
Q. Do you think it is appropriate to use the ‘LIKE’ option on variable and temp-table definitions?
I favoured LIKE option and told about how it inherits all the attributes of DB field or table. etc etc..
Q. Which function is best CAN-DO or LOOKUP? Discuss personal preference and why.
I favoured LOOKUP as it gives me the resulting position in an INTEGER based on that i can make some business logic IF THEN ELSE.
What are your takes on this.
Thanks.