Cleanup

Remove tutorial materials from your computer.

To remove tutorial materials from your computer

  1. Return the ULCustomer table upload_insert and download_cursor scripts to their original SQL logic.

    • Open Interactive SQL.

      Choose Start » Programs » SQL Anywhere 11 » Interactive SQL, or run the following command:

      dbisql

      The Connect window appears.

    • On the Identification tab, choose the ODBC Data Source Name SQL Anywhere 11 CustDB.
    • Click OK to Connect.
    • Run the following commands in Interactive SQL:
      CALL ml_add_table_script( 'custdb 11.0',
         'ULCustomer',
         'upload_insert',
         'INSERT INTO ULCustomer( cust_id, cust_name ) VALUES( ?, ? )' );
      
      CALL ml_add_table_script( 'custdb 11.0',
         'ULCustomer',
         'download_cursor',
         'SELECT "cust_id", "cust_name" 
          FROM "ULCustomer" WHERE "last_modified" >= ?' );
      COMMIT;
  2. Close the SQL Anywhere, MobiLink, and synchronization client windows by right-clicking each taskbar item and choosing Close.

  3. Delete all tutorial-related Java sources.

    Delete the folder containing your CustdbScripts.java and CustdbScripts.class files (c:\mljava).

    Note

    Ensure that you do not have any important files in c:\mljava.