Skip to Content
author's profile photo Former Member
Former Member

PI Data types for DataType fields in SQL DB- Proxy to JDBC scenario

How do we define data types in PI target data type structure for below data type fields in SQL DB.

numeric(14, 2)

decimal(18, 4)

smallint

datetime

char

varchar

bit

money

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2012 at 07:05 PM

    Hi.

    According the DMBS you need to check on documentacion the equivalence with XML DataType.

    Bellow the list equivalence with MSSSQL.

    SQL XMLnumeric(14, 2)xsd:decimaldecimal(18, 4)xsd:decimalsmallintxsd:shortdatetimexsd:dateTimecharxsd:stringvarcharxsd:stringbitxsd:booleanmoneyxsd:decimal

    Regards

    Lucho

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2012 at 08:05 AM

    hi,

    you can use xsd:string, which will accepts all kind of datatype.

    Regards

    Amar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.