This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

View Information About Imported Data

Information about the structure of imported data

To view information about imported data, run the fetch function using a database cursor object. Then, retrieve information about the structure of the resulting data using these functions.


attr Retrieve attributes of columns in fetched data set
cols Retrieve number of columns in fetched data set
columnnames Retrieve names of columns in fetched data set
get Retrieve object properties
namecolumn Map resultset column name to resultset column index
querytimeout Get time specified for SQL queries to succeed
rows Return number of rows in fetched data set
set Set properties for database or cursor object
width Return field size of column in fetched data set


Display Information About Imported Data

This example shows how to import data and display information about the imported data using a cursor object.

Was this topic helpful?