• Mr.Allen, you provided a very good another logic to get away from confusing code.  I understood how to use table data type practically and thanks for the author and Mr.Allen too for a nice example of using qutoname function.