TAILIEUCHUNG - Oracle SQL Plus The Definitive Guide- P9

Oracle SQL Plus The Definitive Guide- P9:Every day, computer professionals the world over wake up, travel to the office, sit down in front of a computer, and begin another day working with that database called Oracle. Programmers write queries and stored procedures. Database administrators monitor performance, make database changes, and perform other maintenance tasks. Operations people may need to back up or recover a database. | previous page page_57 next page Page 57 NOL IST May be abbreviated to NOL and tells SQL Plus to load the file without listing it for you to see. The following example shows how to retrieve the SQL statement that was saved in the previous section SQL GET C A HIGHEST_BILLED_EMP_PROJECTS 1 SELECT employee_name project_name 2 FROM employee project project_hours 3 WHERE 4 AND 5 AND employee_billing_rate in 6 SELECT MAX employee_billing_rate 7 FROM employee 8 9 GROUP BY employee_name project_name Notice that the GET command automatically displays the contents of the retrieved file for you to see. This allows you to confirm that you have loaded the correct statement. Once the statement has been loaded into the buffer you may execute it using either RUN or or you may use any of the editing commands to change it. The GET command will load any text file into the buffer. You can even load your file for Windows users into the buffer edit it and save it again. This might be a useful thing to know if you are ever really hard up for an editor. While SQL Plus will let you load any text file into the buffer be aware that you cannot execute the buffer unless it contains exactly one SQL statement or one PL SQL block. To be safe the text file should terminate the statement or block with a forward slash on a line by itself. See the previous section on the SAVE command for an example of this. The Edit Command You don t like line editing SQL Plus does not have a built-in full-screen editor but it does have the EDIT command. The SQL Plus EDIT command allows you to invoke the text editor of your choice to use in editing SQL statements. The specific editor invoked depends on the operating system and on whether or not you ve changed the default. The default editor under Windows NT 95 is Notepad while under Unix it is vi. You may however configure SQL Plus to use another editor of your .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.