View as view instead of view as table


I am able to get a tablelist of all views within a SQL based database.
With Delphi a view is presented as a table. Opening the view looks
like opening a table.
Now I want to copy tables from one database to another, along with
the views. The views should not be copied as physical tables, but
only as views (on the secondary database, views must be created
instead of tables).

How can I get the SQL text with which the view was created ?

Best regards,

Derk Lennips