simple random sampling while pulling data from warehouse(oracle engine) using proc sql in sas
问题 I need to pull humongous amount of data, say 600-700 variables from different tables in a data warehouse...now the dataset in its raw form will easily touch 150 gigs - 79 MM rows and for my analysis purpose I need only a million rows...how can I pull data using proc sql directly from warehouse by doing simple random sampling on the rows. Below code wont work as ranuni is not supported by oracle proc sql outobs =1000000; select * from connection to oracle( select * from tbl1 order by ranuni