简体   繁体   English

SAS SPDS表主要约束无法添加

[英]SAS SPDS table primary constraint unable to add

I am trying to add primary constraint on a SAS SPDS table. 我正在尝试在SAS SPDS表上添加主要约束。

Error i am receivig is - 1. ERROR: Engine SASSPDS does not support integrity constraint operations 2. ERROR: Requested function is not supported. 我收到的错误为-1.错误:引擎SASSPDS不支持完整性约束操作。2.错误:不支持请求的功能。

I am unable to proceed. 我无法继续。 Query i have used - 我用过的查询-

1. 1。

PROC DATASETS LIB=libname;
       MODIFY tablename;
       IC CREATE PK_IDENTPRODUKT= primary key (IDENTPRODUKT);
QUIT;

**** and also tried 2. ****,还尝试了2。

proc sql;
alter table libname.tablename add constraint PK_IDENTPRODUKT primary key (IDENTPRODUKT);
quit;

Any suggestions. 有什么建议么。

SPDS was created with ACID compliance and does support INDEX creation. SPDS是按照ACID规范创建的,并且支持INDEX创建。 Please refer to the link below which will be very helpful 请参考下面的链接,这将非常有帮助
http://support.sas.com/documentation/cdl/en/spdsug/64018/HTML/default/viewer.htm#p1ssxe4zp7vvijn1wkn1pdjrk891.htm http://support.sas.com/documentation/cdl/en/spdsug/64018/HTML/default/viewer.htm#p1ssxe4zp7vvijn1wkn1pdjrk891.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM