BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Mirisage
Obsidian | Level 7

Hi SAS Forum,

Could anyone help me to understand what this green highlighted 'n means in this SQL right joining?

PROC SQL;

            CREATE TABLE WORK.A33 AS

            SELECT        A11.Audit_num         LABEL  ="Audit_num",

                   A11.IDnum             LABEL  ="IDnum",

                   A11.Amount_month1     LABEL  ="Amount_month1",

                   A22.IDnum             LABEL  ="IDnum"                       AS 'IDnuma (IDnum)'n,

                   A22.Amount_month1     LABEL  ="Amount_month1"     AS Amount_month1a

                 

               FROM           WORK.A22             A22 RIGHT JOIN

                     WORK.A11             A11 ON

                     (A22.Audit_num = A11.Audit_num);

QUIT;

Thanks

Miris

1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

It asks SAS to accept the string "IDnuma (IDnum)" as a variable name. - PG

PG

View solution in original post

2 REPLIES 2
PGStats
Opal | Level 21

It asks SAS to accept the string "IDnuma (IDnum)" as a variable name. - PG

PG
Mirisage
Obsidian | Level 7

Hi PGStats,

Thank you very much for explaining this to me.

Regards

Miris

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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