Remove tutorial materials from your computer.
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 |
Click the Identification tab.
Click ODBC Data Source Name and type SQL Anywhere 11 CustDB.
Click OK to connect.
Execute 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" >= ?' ); |
Close the SQL Anywhere, MobiLink, and synchronization client windows by right-clicking each taskbar item and choosing Close.
Delete all tutorial-related .NET sources.
Delete the folder containing your CustdbScripts.cs and CustdbScripts.dll files (c:\mldnet).
Ensure that you do not have other important files in c:\mldnet.
Reset the database for the Windows Sample Application.
Run the following command from the samples-dir\UltraLite\CustDB directory:
newdb.bat |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |