Desktop productivity for business analysts and programmers

Add unique key (number) to table

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 7
Accepted Solution

Add unique key (number) to table

Hello.

 

I create a query where I created a new table. I want to add (unique) numbers for every row in the new table.

 

Do anyone how I am able to do that please?

 

Thank you.


Query.png

Accepted Solutions
Solution
‎05-12-2017 02:01 PM
PROC Star
Posts: 1,143

Re: Add unique key (number) to table

Chris (the manager of the SAS communities!) has been nice enough to deliver you an answer, wrapped up with a bow!

 

http://blogs.sas.com/content/sasdummy/2012/10/19/creating-a-somewhat-unique-id-using-the-uuidgen-fun...

 

Tom

View solution in original post


All Replies
Solution
‎05-12-2017 02:01 PM
PROC Star
Posts: 1,143

Re: Add unique key (number) to table

Chris (the manager of the SAS communities!) has been nice enough to deliver you an answer, wrapped up with a bow!

 

http://blogs.sas.com/content/sasdummy/2012/10/19/creating-a-somewhat-unique-id-using-the-uuidgen-fun...

 

Tom

Occasional Contributor
Posts: 7

Re: Add unique key (number) to table

This is so cool function. I cannot wait to explore the possibilities of it.

 

Thank you very much!!

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 208 views
  • 0 likes
  • 2 in conversation