Command Interface Guide Version 2.3.0 Table of Contents
Total Page:16
File Type:pdf, Size:1020Kb
Command Interface Guide Version 2.3.0 Table of Contents 1. About This Document . 5 1.1. Intended Audience . 5 1.2. New and Changed Information . 5 1.3. Notation Conventions . 5 1.4. Comments Encouraged . 8 2. Introduction . 9 3. Install and Configure . 10 3.1. Install trafci . 10 3.2. Test trafci Launch . 10 4. Launch trafci . 11 4.1. Launch trafci on Windows Workstation . 11 4.1.1. Create trafci.cmd Shortcut . 12 4.2. Launch trafci on Linux Workstation . 16 4.2.1. Set trafci.sh PATH . 16 4.2.2. Preset the Optional Launch Parameters . 17 4.3. Log In to Database Platform . 18 4.3.1. Log In Without Login Parameters . 18 4.3.2. Use Login Parameters . 19 4.4. Retry Login . 20 4.5. Optional Launch Parameters . 23 4.6. Run Command When Launching trafci . 25 4.7. Run Script When Launching trafci . 27 4.8. Launch trafci Without Connecting to the Database . 29 4.9. Run trafci With -version . 30 4.10. Run trafci With -help . 31 4.11. Exit trafci . 31 5. Run Commands Interactively . 32 5.1. User Interface . 32 5.1.1. Product Banner . 32 5.1.2. Interface Prompt . 32 5.1.3. Break the Command Line . 32 5.1.4. Case Sensitivity . 34 5.2. Interface Commands . 35 5.2.1. Show Session Attributes . 35 5.2.2. Set and Show Session Idle Timeout Value . 36 5.2.3. Customize the Standard Prompt . 37 5.2.4. Set and Show the SQL Terminator . 38 5.2.5. Display the Elapsed Time . 39 5.2.6. Set and Show the Current Schema . 40 5.2.7. Limit Query Result Set . 41 5.2.8. Display Executed Commands . 42 5.2.9. Edit and Reexecute a Command . 43 5.2.10. Clear the Interface Window . 44 5.2.11. Obtain Help . 44 5.3. Run SQL Statements . 45 5.3.1. Execute an SQL Statement . 45 5.3.2. Repeat an SQL Statement . 46 5.3.3. Prepare and Execute SQL Statements . 47 5.3.4. Execute a Prepared SQL Statement . 51 5.4. Log Output . 55 5.4.1. Start the Logging Process . ..