hello,
i would like to obtain a sas creation script of an existing dataset.
the purpose is to launch this script on another server to get a copy of the table.
I only need the structure without datas
thanks a lot in advance
regards
Nasser
Yes, describe will give you the SQL to re-create a table/dataset.
Sorry, you request is terribly unclear? If you want an empty data just create one:
proc sql; create table want (abc char(200)); quit;
Hi,
thanks for your quick respons.
sorry if my request is not clear enough.
I have got many existing tables with datas on a production server.
I would like to get copies of theses tables on another qualifcation server.
by telling "copy" I mean only structure, no datas needs.
thus, is it possible to obtain the screation script of a table ? by getting it, I could launch the script on the qalification server to create the table.
thanks
Yes, describe will give you the SQL to re-create a table/dataset.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.