To extract table script in vertica , use the following .
EXPORT_TABLES ( [ 'destination' ] , [ 'scope' ] ) Example:
EXPORT_TABLES ( [ 'destination' ] , [ 'scope' ] ) Example:
dbadmin=> select EXPORT_TABLES ( '' , 'public.sales' );
dbadmin=> select EXPORT_TABLES ( '/home/dbadmin/scripts/sales.txt' , 'public.sales' );
default is '' means standard output , it will print on screen.
No comments:
Post a Comment