SQLQueryCount

 

The database selected by the SQLSelect function reads the number of records that satisfy the conditional clause from the database connected by SQLConnect.

SQLGetCount is used after SQLSelect, but SQLQueryGetCount can be used to quickly read a count that satisfies the conditions of the database without SQLSelect.

 

int @SQLQueryCount(int id, string table, string where);

 

Parameters

int id : Access number connected by SQLConnect

string table : Name of the table to query

string where : Search criteria

 

Return Value

The number of records read is returned

 

Example

count = @SQLQueryCount(id,"Table1","Name='abc'");

 

Description : Table1 reads the number of records that meet the condition with Name 'abc'.

 

Related Helps)

SQLConnect()

SQLCreateTable()

SQLDelete()

SQLDisconnect()

SQLExecute()

SQLFirst()

SQLInsert()

SQLLast()

SQLNext()

SQLPrepare()

SQLPrev()

SQLGetCount()

SQLSelect()

SQLSetPos()

SQLUpdate()

 

¹öÀü Á¤º¸

¹öÀü 8.5.0 ºÎÅÍ Áö¿ø