COPY_TABLE, Data only (OpenInsight)
At 20 JAN 2000 09:29:35AM Donald Bakke wrote:
We have an open support call on this subject but I wanted to tap into the developer's experience out there. We seem to be having trouble using the COPY_TABLE statement when attempting to do a DATA only copy.
Near as I can tell the only requirement is to specify "DATA.tablename]" in the source table parameter. It never seems to work for us. However, we do seem to be able to use the "DICT.tablename]".
This is OI 3.7.2 and we are using a Development system.
Any ideas? Thanks.
At 20 JAN 2000 09:53AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
When you use the DICT. or DATA. prefixes for the original table name, you must use the same prefix for the new table name.
Copy_Table( "[b]DATA.[/b]MYFILE","DATAVOL","MYAPP","[b]DATA.[/b]NEWNAME" )For those that are wondering why this requirement, is basically there for the little used user specification functionality.
[/i]World leaders in all things RevSoft[/i]
At 20 JAN 2000 09:58AM WinWin/Revelation Support wrote:
Don-
For Data Only, try:
Copy_table('DATA.MYTABLE', 'C:\FOOBAR', @APPID, 'DATA.MYNEWTABLE',
,
,,
,,
)hope this helps-
Mike Ruane
At 21 JAN 2000 12:54AM Donald Bakke wrote:
Sprezz/WinWin,
Thanks for the info, it worked. BTW, Revelation also came back today with the correct answer.