Result:-GetType - get the SQL type of a column
|
Calling Sequence
|
|
result:-GetType( index )
|
|
Parameters
|
|
result
|
-
|
Result module
|
index
|
-
|
integer or string; the column for which the type is returned
|
|
|
|
|
Description
|
|
•
|
GetType returns the SQL type of the column indicated by index.
|
•
|
If index is an integer, it is used to index into the current Result module's table. If index is a string, it is the name of the column.
|
•
|
The type returned by GetType can be used in an explicit cast to make Maple perform a particular type conversion. For more information, see conversions.
|
|
|
Examples
|
|
Create a Result.
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?