Discussion

get the last value of a primary key auto-increment

I am a beginner in pega, I work on an activity that can record data in a database sqlserver, my table has a primary key auto-increment. I would like to know how can we get the last value of this key in prpc.
NB: In SqlServer there are properties that can do it like: @@IDENTITY OR IDENT_CURRENT

thanks

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

February 2, 2016 - 1:49pm

Hi, have you already discovered how ?

 

 

October 19, 2016 - 3:29am

Can you please let me know how you acheived to insert the data in sql server table which has auto increment column?

 when i tried, i got error and also i found a artcle which says pega doent support auto incremnet column.

Thanks in advance.