Fixed a problem where 'PERIOD FROM SYSTEM TIME' is added between an existing column and a new one.
Fixed an issue where function dependencies on tables might not be recognized correctly if a user-defined table type existed with the same name as the table.