全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
908 1
2019-12-25
Which clause allows macro variable creation on a select statement in PROC SQL?
A. INTO
B. SYMPUT
C. AS
D. %MACRO

为啥我觉得应该选A,但是答案是D,求解答

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2020-1-2 10:58:11
Four ways to create add macro to Global Macro Table

    • Create the macro variable in open code.

    • List the macro variable on a %GLOBAL(default value is null) statement in the macro program in which it is defined.

    • Create the macro variable in a DATA step with CALL SYMPUTX when the global symbol table is specified.

    • Define a global macro variable with the INTO clause on the PROC SQL SELECT statement.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群