全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管百科 爱问频道
1011 2
2016-07-20
悬赏 5 个论坛币 已解决
需要导入的数据大于256列,用如下方法导入无法使变量名变成中文的,非常感谢,请教大家!
options validvarname=any;
PROC IMPORT OUT= WORK.A
            DATAFILE= "E:\a.xlsx"
            DBMS=xlsx REPLACE;
     RANGE="Sheet1$";
   
RUN;

最佳答案

见路不走 查看完整内容

The intent of the VALIDVARNAME=ANY system option is to enable compatibility with other DBMS variable (column) naming conventions, such as allowing embedded blanks and national characters. Throughout SAS, using the name literal syntax with variable names that exceed the 32-byte limit or have excessive embedded quotation marks might cause unexpected results. 以上是SAS官方说明书,看来是变量名溢出了
二维码

扫码加我 拉你入群

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

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

全部回复
2016-7-20 20:11:55
The intent of the VALIDVARNAME=ANY system option is to enable compatibility with other DBMS variable (column) naming conventions, such as allowing embedded blanks and national characters. Throughout SAS, using the name literal syntax with variable names that exceed the 32-byte limit or have excessive embedded quotation marks might cause unexpected results.
以上是SAS官方说明书,看来是变量名溢出了
二维码

扫码加我 拉你入群

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

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

2016-8-5 15:09:56
见路不走 发表于 2016-7-26 15:11
The intent of the VALIDVARNAME=ANY system option is to enable compatibility with other DBMS variable ...
学习了谢谢
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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