in reply to OT: Creating tables from others

First: You use Date_created TIMESTAMP. In MS-SQL (and Sybase) a TIMESTAMP column is NOT related to the time/date. Use a DATETIME column instead.

Second - as others have pointed out, this has nothing to do with perl. In addition, it's not clear which column in ICD_9_Disease_Types you wish to update from the data in the two other tables.

Michael