🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 06-19-2012 11:51 AM
(1134 views)
| 1 | 1 | 4.76% | 0 | 0.00% | 1 | 2.50% | Latin | |
| 2 | 13 61.90% | 11 57.89% | 24 60.00% | Caucasian | ||||
| 3 | 7 33.33% | 7 36.84% | 14 35.00% | Black | ||||
| 4 | 0 | 0.00% | 1 | 5.26% | 1 | 2.50% | Asian |
Hi guys, sorry for the mess of the table have, but i am interested in the last variable (col0) with the value (Latin, Cauc. Black and Asian), and
I am interesting to add a new record heading this table as:
col0='Race' , drug= ' ' , placebo=' ', total=' '
I try the next syntax using INSERT in proc sql (I want to do it in proc qsl) but it doesnt work...any help?
proc sql;
*Add new record;
insert into have
set col0='Race',
Drug=' ',
Placebo=' ',
from have ;
quit;
Thanks.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
What about
proc sql;
*Add new record;
insert into have
set col0='Race'
;
quit;
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
What about
proc sql;
*Add new record;
insert into have
set col0='Race'
;
quit;