Usage Note 24528: How can I convert a numeric date variable to a character variable using PROC SQL?
The PUT function can be used within PROC SQL to create a
character date string from a numeric SAS date value.
data numdate;
date=TODAY();
run;
proc sql;
create table new as select PUT(date,date9.)
as newdate from numdate;
quit;
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> SQL
|
| Date Modified: | 2008-02-19 14:35:40 |
| Date Created: | 2006-08-31 16:35:12 |