Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
datetime22.3 変数を ddmmyy10 に変換しようとしています。proc sql では、これにより出力列に ****** が表示されます。
出力列で正しい値を取得するにはどうすればよいですか?
関数を使用して元の SAS DATETIME 値 (データ型と考えてください) を SAS DATE 値に変換しDATEPART()、適切な形式を適用する必要があります。
DATEPART()
proc sql; create table work.abc as select DISTINCT a.Account_Id, DATEPART(a.Billing_Dt) format ddmmyy10. as Bill_date from abc table; quit;