How to Define "BLOB" dataType of SQL in Appian CDT

Certified Associate Developer
Guyz,

I have a table in database with three columns
ID - Number
Document - BLOB
Name - VARCHAR

The Document column is of "BLOB" DataType....
Now I need to create a CDT and Map it to the Table
To do so what should be the dataType in my CDT or XSD Definition

Appreciate ur response....!!!!

OriginalPostID-232170

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer
    @Ankit

    I have published the CDT and DataStore
    When i try fetching the table data using a QueryRule I am not getting data
    Getting the below Error


    There was an error testing the rule:

    Expression evaluation error in rule 'blob_getdata' at function 'queryruleexec': Error evaluating function 'queryruleexec' : Unexpected error executing query (type: [CABCBLOBCDTDT23013], query: [BLOB_getData], order by: [[]], filters:[(ID = TypedValue[it=1,v=5])])

    Any idea how to fetch data ??
Reply
  • 0
    Certified Associate Developer
    @Ankit

    I have published the CDT and DataStore
    When i try fetching the table data using a QueryRule I am not getting data
    Getting the below Error


    There was an error testing the rule:

    Expression evaluation error in rule 'blob_getdata' at function 'queryruleexec': Error evaluating function 'queryruleexec' : Unexpected error executing query (type: [CABCBLOBCDTDT23013], query: [BLOB_getData], order by: [[]], filters:[(ID = TypedValue[it=1,v=5])])

    Any idea how to fetch data ??
Children
No Data