Reltio Integration Hub

 View Only
  • 1.  Sql Query to generate serial/sequence number as per the output query

    Reltio Partner
    Posted 05-18-2023 09:46

    Hi All,
    Is there any way to generate serial number/sequence number in a sql query in Collection action in RIH?

    I have used 'row_number() over(order by col1)' function and 'rank() over(order by col1)' function but its giving a syntax error, is there any other way to use them in Collections in RIH or any other way to generate serial numbers?



    ------------------------------
    Aditya Gupta
    Freshgravity
    ------------------------------


  • 2.  RE: Sql Query to generate serial/sequence number as per the output query

    Posted 05-19-2023 09:40

    Hi ,

    you can use below formula, it will make number from date 

    =now.strftime("%s%L")

    regards,
    Nitin Tugave



    ------------------------------
    Nitin Tugave
    eaton
    ------------------------------



  • 3.  RE: Sql Query to generate serial/sequence number as per the output query

    Reltio Partner
    Posted 05-22-2023 02:38

    Hi Nitin,
    with the above formula, its not generating random number but the dates in Epoch time.
    Can you please check or suggest any other way?



    ------------------------------
    Aditya Gupta
    Freshgravity
    ------------------------------