get the Type of a DataInterfaceStream module - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : DataInterfaceStream : Database/DataInterfaceStream/Type

DataInterfaceStream:-Type - get the Type of a DataInterfaceStream module

Calling Sequence

stream:-Type( )

Parameters

stream

-

DataInterfaceStream module

Description

• 

Type returns the SQL type that this DataInterfaceStream module represents.

• 

DataInterfaceStream modules can only represent objects of type BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, and LONGVARCHAR.

Examples

driver:=Database[LoadDriver]:

conn:=driver:-OpenConnectionurl,name,pass:res:=conn:-ExecuteQuerySELECT * FROM stream:res:-Next

true

(1)

res:-GetData1

the quick brown fox jumped over the lazy dog

(2)

res:-GetData2

[   1..127 1-D Array    ]

[ Data Type: integer[1] ]

[ Storage: rectangular  ]

[    Order: C_order     ]

str:=res:-GetData1,stream=true:str:-Type

VARCHAR

(3)

str:=res:-GetData2,stream=true:str:-Type

BINARY

(4)

See Also

Database, Database[DataInterfaceStream], Database[DataInterfaceStream][Get], 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