[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_DbGetTableInfo

Overview

Get the Ns_DbTableInfo structure for a table

Syntax

    Ns_DbTableInfo *Ns_DbGetTableInfo(
    	Ns_DbHandle *handle,
    	char        *table,
    	int          fExtended
    );

Description

The Ns_DbTableInfo function returns an Ns_DbTableInfo structure for the given table. The fExtended argument is a flag indicating whether to retrieve extended information or just the names and types of the columns in the table. This structure should only be passed to the functions below and not be modified.

Calling this function results in a query against the database system catalogs. This can be an expensive operation. Also, the Ns_DbTableInfo structure returned must be deallocated with Ns_DbFreeTableInfo when no longer needed.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.