Datatypes in Informix

Ask a Question related to Informix, Design and Development.

  1. #1

    Default Datatypes in Informix


    Hi,



    I am trying to obtain an extract of my Informix database into a
    formatted spreadsheet.

    The information of the fields in a table is maintained in SYSCOLUMNS
    table. But the datatype of each column is given by COLTYPE field which
    is of SMALLINT Type. Which table holds the reference of this datatype
    name against the number?



    There is one table SYSXTDTYPES. This contains the extended datatypes.
    But I could not locate the table for the basic datatypes.



    Please clarify


    --
    Posted via [url]http://dbforums.com[/url]
    ovkrishna Guest

  2. Similar Questions and Discussions

    1. Converting Datatypes
      Hi, I need to change a varchar field in my DB to a small date/time field. The problem is I don't want to lose the data, as I have quite a lot of...
    2. Complex DataTypes
      Ok, I created a Web Service using PHP5 SOAP extension. I created the WSDL and I can serve and consume that service in PHP. Now I am trying to...
    3. Trouble Connecting to Informix DB with UnixODBC/Informix-Client-SDK-2.8UC2
      Hello Informix Users! If anyone can help with this I will very much appreciate it!!! Setting up UnixODBC/informix is proving to be somewhat...
    4. Eleven FAQ's About comp.databases.informix and informix-list@iiug.org
      Eleven FAQ's About comp.databases.informix and informix-list@iiug.org ===================================================================== Last...
    5. [comp.databases.informix] retrieving Stored procedure with SQL IN INFORMIX
      On Fri, 27 Jun 2003 09:54:13 -0400, Lionel Girard wrote: Myschema does the same thing in ESQL/C and there are not spaces compressed out. The...
  3. #2

    Default Re: Datatypes in Informix

    ovkrishna wrote:
    > I am trying to obtain an extract of my Informix database into a
    > formatted spreadsheet.
    >
    > The information of the fields in a table is maintained in SYSCOLUMNS
    > table. But the datatype of each column is given by COLTYPE field which
    > is of SMALLINT Type. Which table holds the reference of this datatype
    > name against the number?
    >
    > There is one table SYSXTDTYPES. This contains the extended datatypes.
    > But I could not locate the table for the basic datatypes.
    If you look in the software section of the IIUG.org website, you should find
    some code that will show you what to do.

    --
    Ciao,
    The Obnoxious One

    "Ogni uomo mi guarda come se fossi una testa di cazzo"
    Obnoxio The Clown Guest

  4. #3

    Default Re: Datatypes in Informix


    [url]http://www7b.software.ibm.com/dmdd/zones/informix/library/techarticle/0305pa[/url]
    rker/0305parker.html#top

    cheers
    j.
    -.-- --- ..- / -. . . -.. / - --- / --. . - / .- / .-.. .. ..-. . .-.-.- /
    .... --- / -.. --- / .. .-.-.-
    ----- Original Message -----
    From: "ovkrishna" <member44474@dbforums.com>
    To: <informix-list@iiug.org>
    Sent: Thursday, October 16, 2003 12:42 PM
    Subject: Datatypes in Informix

    >
    > Hi,
    >
    >
    >
    > I am trying to obtain an extract of my Informix database into a
    > formatted spreadsheet.
    >
    > The information of the fields in a table is maintained in SYSCOLUMNS
    > table. But the datatype of each column is given by COLTYPE field which
    > is of SMALLINT Type. Which table holds the reference of this datatype
    > name against the number?
    >
    >
    >
    > There is one table SYSXTDTYPES. This contains the extended datatypes.
    > But I could not locate the table for the basic datatypes.
    >
    >
    >
    > Please clarify
    >
    >
    > --
    > Posted via [url]http://dbforums.com[/url]
    >
    sending to informix-list
    Jack Parker Guest

  5. #4

    Default Re: Datatypes in Informix

    > The information of the fields in a table is maintained in SYSCOLUMNS
    > table. But the datatype of each column is given by COLTYPE field which
    > is of SMALLINT Type. Which table holds the reference of this datatype
    > name against the number?
    Read the "Informix Guide to SQL: Reference" (Structure of the System Catalog).

    Cheers,
    Lars
    fellfrosh Guest

  6. #5

    Default Re: Datatypes in Informix

    On Thu, 16 Oct 2003 12:42:53 -0400, ovkrishna wrote:

    The datatypes are only documented in the docs and in the 'C' header file
    sqltypes.h under $INFORMIXDIR/incl

    Art S. Kagel
    > Hi,
    >
    >
    >
    > I am trying to obtain an extract of my Informix database into a formatted
    > spreadsheet.
    >
    > The information of the fields in a table is maintained in SYSCOLUMNS table.
    > But the datatype of each column is given by COLTYPE field which is of SMALLINT
    > Type. Which table holds the reference of this datatype name against the
    > number?
    >
    >
    >
    > There is one table SYSXTDTYPES. This contains the extended datatypes. But I
    > could not locate the table for the basic datatypes.
    >
    >
    >
    > Please clarify
    >
    >
    > --
    > Posted via [url]http://dbforums.com[/url]
    Art S. Kagel Guest

  7. #6

    Default Re: Datatypes in Informix



    Interesting article.

    But it covers very simple catalog tables... does anyone know of a
    similar article which describes the pseudo-tables in newer versions of
    the engine?

    Chucho!

    Jack Parker wrote:
    > [url]http://www7b.software.ibm.com/dmdd/zones/informix/library/techarticle/0305pa[/url]
    > rker/0305parker.html#top
    >
    > cheers
    > j.
    > -.-- --- ..- / -. . . -.. / - --- / --. . - / .- / .-.. .. ..-. . .-.-.- /
    > ... --- / -.. --- / .. .-.-.-
    > ----- Original Message -----
    > From: "ovkrishna" <member44474@dbforums.com>
    > To: <informix-list@iiug.org>
    > Sent: Thursday, October 16, 2003 12:42 PM
    > Subject: Datatypes in Informix
    >
    >
    >
    >>Hi,
    >>
    >>
    >>
    >>I am trying to obtain an extract of my Informix database into a
    >>formatted spreadsheet.
    >>
    >>The information of the fields in a table is maintained in SYSCOLUMNS
    >>table. But the datatype of each column is given by COLTYPE field which
    >>is of SMALLINT Type. Which table holds the reference of this datatype
    >>name against the number?
    >>
    >>
    >>
    >>There is one table SYSXTDTYPES. This contains the extended datatypes.
    >>But I could not locate the table for the basic datatypes.
    >>
    >>
    >>
    >>Please clarify
    >>
    >>
    >>--
    >>Posted via [url]http://dbforums.com[/url]
    >>
    >
    >
    > sending to informix-list
    >
    >
    --


    Atte,


    Jesús Antonio Santos Giraldo
    [email]jeansagi@myrealbox.com[/email]
    [email]jeansagi@netscape.net[/email]

    sending to informix-list
    Jean Sagi Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139