TAILIEUCHUNG - Oracle SQL Plus The Definitive Guide- P44

Oracle SQL Plus The Definitive Guide- P44: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_393 next page Page 393 SET SQLPROMPT prompt_dbname SET TERMOUT ON These commands will set your prompt to the global database name. The global name comes from the global_name view and may or may not be the same as the connect string you used to connect to the database. By placing these commands in your file you ensure that the prompt will be set automatically based on the database you are connecting to whenever you start SQL Plus. is executed only when SQL Plus starts. Using the CONNECT command to connect to another database will not cause the prompt to be changed to reflect the new connection. The file was discussed earlier in this chapter in the section titled The Site and User Profiles. SET TERMOUT Controls whether or not SQL Plus displays output generated by SQL statements PL SQL blocks and SQL Plus commands. This setting only applies when SQL Plus is executing a script file. SQL Puls always displays output from commands entered interactively. SET TERM OUT OFF ON where SET TERM OUT Is the command which may be abbreviated to SET TERM. OFF Turns terminal output off. ON Turns terminal output on. This is the default setting. Terminal output is often turned off while a command file is running to keep the user s screen from becoming cluttered with query output and feedback messages. SET TIME The SET TIME command controls whether or not SQL Plus displays the current time with each command prompt SET TI ME OFF ON previous page page_393 next page previous page page_394 next page Page 394 where SET TI ME Is the command which may be abbreviated to SET TI. OFF Keeps the time from being displayed with the prompt. This is the default setting. ON Causes the time to be displayed as part of each prompt. The following example shows the effect of issuing a SET TIME ON command SQL SET TIME ON 22 44 41 SQL SET VERIFY The VERIFY setting controls whether or not SQL Plus displays before and after images of each line that contains a .

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.