2. Using Ingres Commands : copyrep Command—Copy a Report to a Text File : copyrep Example
Share this page                  
copyrep Example
The following example copies a report called emphours in the emp database into a text file called emphours.rw:
copyrep emp emphours emphours.rw
Then you can use the sreport command to copy the report in the text file emphours.rw into the database newemp under a different owner:
sreport newemp emphours.rw -uuser2
Note:  You must be the DBA for the newemp database or have the security privilege to use the ‑u flag.