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 (November 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 15 Nov 2002 07:40:01 -0800
Reply-To:   Kent <klewandowski@CALCUCARE.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Kent <klewandowski@CALCUCARE.COM>
Organization:   http://groups.google.com/
Subject:   keep getting a warning message I don't know how to stop it
Content-Type:   text/plain; charset=ISO-8859-1

Hi everyone,

I keep getting warning messages from SAS when I execute the following query:

------- * update the start and end dates from _dates, if available; proc sql; update work.HospitalDischargeNew as new set startDate = ( select startDate from work.HospitalizationNew_dates as dates where dates.id = new.id ) where id in ( select id from work.HospitalizationNew_dates ); quit; -------

The message I keep getting is:

------- WARNING: A value expression of the SET clause references the data set being updated. NOTE: 207 rows were updated in WORK.HOSPITALDISCHARGENEW. -------

So, the update clearly works. But how to write it differently to avoid the warning?

Thanks in advance,

Kent


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