楼主: tangtt
4109 2

[统计软件] 如何修改sas的表名长度限制 使其名称能够超过32位? [推广有奖]

  • 1关注
  • 0粉丝

硕士生

56%

还不是VIP/贵宾

-

威望
0
论坛币
1354 个
通用积分
2.8580
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
834 点
帖子
29
精华
0
在线时间
294 小时
注册时间
2009-7-25
最后登录
2024-5-15

楼主
tangtt 发表于 2016-7-5 17:36:47 |AI写论文
50论坛币
如何修改sas的表名长度限制 使其名称能够超过32位?

关键词:SAS
生于理想 死于现实 但 心中恒有天堂

沙发
jean5201 发表于 2017-6-9 17:17:28
楼主问题解决了吗

藤椅
yunnandlg 在职认证  学生认证  发表于 2020-9-10 00:16:55
Syntax
VALIDVARNAME=V7 | V6 | UPCASE | ANY

Syntax Description

V7
(default) indicates that up to 32 mixed case alphanumeric characters are allowed. Names must begin with alphabetic characters or an underscore.
V6
is the same as when VALIDVARNAME=V7, except that variable names are uppercased and they may be only 8 bytes long, as in earlier versions of SAS.
CAUTION:
Transitional use only: VALIDVARNAME=V6 is intended for transitional use only. Use the V6 setting for applications that you need to use under both Version 6 and Version 7 of the SAS System.  [cautionend]
CAUTION:
May render some applications unusable: Using VALIDVARNAME=V6 may render some Version 7 and Version 8 macros or SAS/AF applications unusable.  [cautionend]
UPCASE
is the same as when VALIDVARNAME=V7, except that variable names are uppercased, as in earlier versions of SAS.
ANY
allows any characters to appear as valid SAS variable names. Symbols, such as "=" and "*", must be contained in a 'varname'n construct.
Restriction:        You can use variable names in this form only with the DATA step and the SQL procedure. This type of variable name may not be supported in all environments.
Restriction:        If you use any characters other than when VALIDVARNAME=V7, then you must express the variable name as a name literal.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2026-1-7 07:54