SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Accessing Other Vendors' DBMS Data
DBMS Access Using the SQL Procedure Pass-Through Facility


Question: Finally, write a Pass-Through statement to end the connection to the DBMS.
proc sql;
   connect to oracle as tempdb
           (user=student pw=sesame path=temppath
            connection=global);
   select *
      from connection to tempdb
              (select ssn, lname, fname, activity
                  from members 
                  where contacts<5);
   execute (grant update on members
            to student) by tempdb;
   
quit;

           


back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement