Tuesday, February 10, 2015

Example for Archive / Restore partitions for PPI tables


for Archive:
     .logon TDPID/username,passwd;
     ARCHIVE DATA TABLES
     (Students.orders_PPI_M)
     (PARTITIONS WHERE (! o_orderdate = DATE '2000-01-25' !)),
     RELEASE LOCK,
     FILE=ARCHIVE;
     .logoff;
For Copy:
     .logon TDPID/username,passwd;
     COPY DATA TABLES
     (Students.orders_rst )   (from(Students.orders_PPI_M )),
     RELEASE LOCK,
     FILE=ARCHIVE;
     .LOGOFF;

1 comment:

  1. Casino Site - Choego Casino
    If you're looking for the best casino site, you've come to the right place! With hundreds of slots available 바카라 사이트 to play, you're sure to get your 카지노 foot febcasino in

    ReplyDelete