dbSetTabelNrowGoAhead WebServer APIGoAhead EMF

Synopsis

Set the number of row in the table.

Prototype

 #include "emfdb.h"

 int dbSetTableNrow(int did, char_t* table, int nNewRows);

Parameters

diddatabase Identifier tname - the name of the table
nNewRowstotal number of rows to allocate for the database
tablethe name of the table

Description

This function is used to grow the size of the table. If the number of rows requested by this function is less than the actual number of rows, the function returns without doing anything.

Return Value

dbSetTabelNrow returns 0 if successful, or -1 if an error.

Example

int dbSetTableNrow(int did, char_t* table, int nNewRows);

See Also

dbGetTableNrow()