Result - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : Result : Database/Result/GetColumnCount

Result

  

GetColumnCount

  

get the number of columns in the table

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

result:-GetColumnCount( )

Parameters

result

-

Result module

Description

• 

GetColumnCount returns the number of columns in result.

Examples

Create a Result.

driverDatabase[LoadDriver]:

conndriver:-OpenConnectionurl,name,pass:resc:-ExecuteQuerySELECT id FROM animals:res:-GetColumnCount

1

(1)

resc:-ExecuteQuerySELECT id,mass FROM animals:res:-GetColumnCount

2

(2)

resc:-ExecuteQuerySELECT id,mass,name FROM animals:res:-GetColumnCount

3

(3)

resc:-ExecuteQuerySELECT id,mass,name,number FROM animals:res:-GetColumnCount

4

(4)

See Also

Database

Database[Result]

Database[Result][First]

Database[Result][GotoRow]

Database[Result][Last]

Database[Result][Next]

Database[Result][Previous]

Database[usage]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam