Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我需要修改(使用新列)具有完整性约束的现有 SAS 表。当然我可以proc sql;“描述”表并重建约束,我只是想知道是否有不涉及此步骤的替代(批处理)方法?
您可以只ALTER在 SAS 数据集上添加新列,这不会影响任何其他已定义的属性(如索引或完整性约束)。例如:
ALTER
proc sql noprint; alter table MYLIB.SOME_DATASET add NEW_VARIABLE char(25) format=$25.; quit;