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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 878 views
  • 0 likes
  • 2 in conversation