LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2011, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 24 Sep 2011 17:29:00 -0400
Reply-To:   bbser 2009 <bbser2009@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   bbser 2009 <bbser2009@GMAIL.COM>
Subject:   how to change existing integrity constraints
Content-Type:   text/plain; charset="us-ascii"

Greetings!

I was wondering if anyone knew how to change an existing integrity constraint. For example, consider the code below. After running it, how to change the foreign key rule "on delete restrict" to be "on delete cascade"?

Any comments or suggestions are appreciated!

Max (Maaxx) ======================== proc sql; create table employees ( ID num primary key, Name char(10) );

create table salaries ( ID num references employees on delete restrict on update set null, Salary num ); quit;


Back to: Top of message | Previous page | Main SAS-L page