DatabaseColumnType()

Syntax

Result = DatabaseColumnType(#Database, Column)
Description
Return the type of the specified column in the #Database. If the result is 0, the type is undefined or the command has failed (impossible to retrieve the type)

Type values can be:
  1: Numeric format:  Long (.l) in PureBasic
  2: String format:  String (.s) in PureBasic
  3: Numeric float format:  Float (.f) in PureBasic
  4: Numeric double format:  Double (.d) in PureBasic
  5: Numeric quad format:  Quad (.q) in PureBasic

Supported OS

Windows, Linux, MacOS X

<- DatabaseColumnName() - Database Index - DatabaseColumns() ->