Re: I cant get the description or default value of a field - Mailing list pgsql-odbc

From serkane
Subject Re: I cant get the description or default value of a field
Date
Msg-id 1150187600.655013.149270@u72g2000cwu.googlegroups.com
Whole thread Raw
In response to Re: I cant get the description or default value of a field  ("serkane" <serkane@pcis.com.tr>)
List pgsql-odbc
Set Rs = Cn.OpenSchema(adSchemaColumns, Array(Empty, Empty, TableName,
Empty))
    Do While Not Rs.EOF
        Debug.Print Rs("ORDINAL_POSITION")
        Debug.Print Rs("COLUMN_NAME")
        Debug.Print Rs("DATA_TYPE")
        Debug.Print Rs("COLUMN_DEFAULT")
        Debug.Print Rs("IS_NULLABLE")
        If IsNull(Rs("CHARACTER_MAXIMUM_LENGTH")) = False Then
                Debug.Print Rs("CHARACTER_MAXIMUM_LENGTH")
                Debug.Print "0"  '** Num_scale=0
        Else
                Debug.Print Rs("NUMERIC_PRECISION")
                Debug.Print Rs("NUMERIC_SCALE")
        End If
        Debug.Print Rs("DESCRIPTION")
        Debug.Print Rs("DISPLAY_SIZE")
        Debug.Print Rs("COLUMN_HASDEFAULT"), Rs("COLUMN_DEFAULT")
    Rs.MoveNext
    Loop
Call RsClose


pgsql-odbc by date:

Previous
From: "serkane"
Date:
Subject: Re: I cant get the description or default value of a field
Next
From: "Ben Trewern"
Date:
Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field