Ajouter une colonne à une table sas
BOnjour,
je veux ajouter une colonne de type char à une table SAS, mais j'ai toujours une erreur !!!! qlq peut m'aider ? :(:(:(:(
voici le code
Code:
1 2 3 4 5 6 7 8
|
proc sql;
alter table test add NOM_tab CHARACTER ;
update test
set NOm_tab= 'T_GARANTIE'
;
Quit; |
Voici l'erreur :
Code:
1 2 3 4 5 6 7 8 9 10
| 26 proc sql;
27 alter table test add NOM_tab CHARACTER ;
ERROR: You cannot alter 'NOM_tab' to be a character column.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
28 update test
29 set NOm_tab= 'T_GARANTIE'
30
31 ;
ERROR: NOm_tab, a numeric column, can only be updated with a numeric expression.
32 Quit; |