source: trunk/third/moira/regtape/student.sql @ 23095

Revision 23095, 659 bytes checked in by ghudson, 16 years ago (diff)
Import the moira package from SIPB Debathena.
Line 
1set head off
2set feedback off
3set pagesize 0
4set linesize 256
5spool /moira/load/student.input.unsorted
6select rpad(nvl(mit_id, ' '), 9, ' ') || rpad(nvl(last_name, ' '), 30, ' ') || rpad(nvl(first_name, ' '), 30, ' ') || rpad(nvl(middle_name, ' '), 30, ' ') || rpad(nvl(student_year, ' '), 1, ' ') || rpad(nvl(department, ' '), 4, ' ') || rpad(nvl(term_street1, ' '), 30, ' ') || rpad(nvl(term_city, ' '), 40, ' ') || rpad(nvl(term_state, ' '), 2, ' ') || rpad(nvl(term_zip, ' '), 9, ' ') || rpad(nvl(term_phone1, ' '), 20, ' ') || rpad(nvl(office_location, ' '), 30, ' ') || rpad(nvl(office_phone, ' '), 20, ' ') from wareuser.moira_student4;
7spool off
8quit
Note: See TracBrowser for help on using the repository browser.