LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sun, 24 Jun 2007 22:57:28 -0700
Reply-To:   David L Cassell <davidlcassell@MSN.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   David L Cassell <davidlcassell@MSN.COM>
Subject:   Re: SQL: Delete all variable labels
In-Reply-To:   <5dvhigF3522p6U1@mid.individual.net>
Content-Type:   text/plain; format=flowed

schimpanski@GMX.DE wrote: > >Hi, > >how can I delete all variable labels in a dataset, preferably with PROC >sql? How do I refer to all variable (cf. _all_) within PROC sql. The >syntax below does not work. > >PROC sql; >alter table tossfam3 >modify >* label = ''; >quit; > >Thanks ins advance, > >Will > >PS >I'd like to do the data management in a consistent way with only one >approach, ie. proc sql.

Since lots of people have addressed the main points, I would like to kvetch about your PS. If you *really* want a unified data management approach, then you ought to use PROC DATASETS instead. That's what it is designed for.

But I would recommend that you re-think your overall data management scheme. SAS is a 4GL that provides a wide variety of tools for a wide variety of tasks. I do not think that every data management task is going to be best-served by the same proc. Some processes will have procs which best address the problem, some will be better done with a data step, and some will be best done outside SAS entirely. So don't force yourself into a straitjacket, even if your middle name is Houdini.

HTH, David -- David L. Cassell mathematical statistician Design Pathways 3115 NW Norwood Pl. Corvallis OR 97330

_________________________________________________________________ Don’t miss your chance to WIN $10,000 and other great prizes from Microsoft Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/


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