I am working on a team trying to phase out a legacy system. As this is a rather large system with multiple integrations, the database will live on, even after the legacy system is replaced.
Now, the problem is that all the table names in the database have numerical names: “RT001”, “RT002”, “RT003”, etc. With well over 100 tables it gets harder to know what each table is, and how can be joined to get hold of specific data.
Is there a way to define a global table alias in sybase so that sybase knows that the SQL”select * from Order, OrderItems where …” is referring to tables RT035 and RT036 ? This way I can keep the original table names as RT035, while having an alias like “Order”, or even “RT035_Order” refer to it.
As far as I know there is no such thing as a “synonym” (that’s what it’s called in an Oracle database) in Sybase ASE. But you could still use simple view to do basically the same thing: