Hi

I have a question regarding inserting table after i have selected it. Once I select the table using perl script I insert it back into another empty table but I cant figure out how to format it correctly for example:

form table 'A' i got info like this:
-------------
phone |
-------------
212 123-4567 |
-------------

Then I try inserting it into table 'B' and it looks like this:
---------------------------
phone | |
---------------------------
212 | 123-4567 |
---------------------------

Is there a function in sybase or perl that will allow me to insert it into another table exactly the same way that I selected it from another table?