public java.lang.String getName( )
Returns the table name for the UploadedTableData instance. You can also access the table name using the java.sql.ResultSetMetaData instance returned by the getMetaData method.
The table name for the UploadedTableData instance.
The following example obtains the name of each uploaded table in a single upload transaction.
import ianywhere.ml.script.*; import java.sql.*; // ... // The method used for the handle_UploadData event. public void HandleUpload( UploadData ud ) { throws SQLException, IOException { int i; // Get UploadedTableData instances. UploadedTableData tables[] = ud.getUploadedTables(); for( i=0; i<tables.length; i+=1 ) { // Get the table name. String table_name = tables[i].getName(); // ... } } |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |