04-23-2019 05:41 AM
Hi Team,
Can you please let me know how to generate a unique ld like the below one in snaplogic.
1553020781234-4901709987102371234-03202019DFF456F123
Thanks in Advance!
07-05-2022 08:13 AM
Ok, so I am using a mapper snap to get the path for the json splitter like:
jsonPath($, “$response.entity.feed.entry[*].content.Record”)
So, not to clear about how I would use the function for the columns embedded in each record?
07-05-2022 08:14 AM
@vincenr - Have you tried the newid() function from SQL Server?
07-05-2022 08:15 AM
Yes, and just about every version to do the same thing for Oracle, MySQL, PostGres etc… I’m querying against a proprietary system and don’t know what DB they are using.
07-05-2022 08:25 AM
Can you add a Mapper after your API call to generate the unique ID? Or does it need to be generated from within the database?
07-05-2022 08:34 AM
I don’t know how to do it so it generates a separate unique id for every row. Is there a post that explains how to do this? I’m brand new to SnapLogic. Specifically, I’m referring to from within the mapper snap.