SQL Workbench/J User's Manual SQLWorkbench
User Manual:
Open the PDF directly: View PDF
Page Count: 224 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- SQL Workbench/J User's Manual
- Table of Contents
- 1. General Information
- 2. Software license
- 3. Change log
- 4. Installing and starting SQL Workbench/J
- 4.1. Pre-requisites
- 4.2. First time installation
- 4.3. Upgrade installation
- 4.4. Starting the program from the commandline
- 4.5. Starting the program using the shell script
- 4.6. Starting the program using the Windows® launcher
- 4.7. Configuration directory
- 4.8. Copying an installation
- 4.9. Increasing the memory available to the application
- 4.10. Command line parameters
- 4.10.1. Specify the directory for configuration settings
- 4.10.2. Specify a base directory for JDBC driver libraries
- 4.10.3. Specify the file containing connection profiles
- 4.10.4. Defining variables
- 4.10.5. Prevent updating the .settings file
- 4.10.6. Connect using a pre-defined connection profile
- 4.10.7. Connect without a profile
- 5. JDBC Drivers
- 6. Connecting to the database
- 6.1. Connection profiles
- 6.2. Managing profile groups
- 6.3. JDBC related profile settings
- 6.4. PostgreSQL connections
- 6.5. Extended properties for the JDBC driver
- 6.6. SQL Workbench/J specific settings
- 6.6.1. Prompt for username
- 6.6.2. Save password
- 6.6.3. Separate connection per tab
- 6.6.4. Ignore DROP errors
- 6.6.5. Trim CHAR data
- 6.6.6. Hide warnings
- 6.6.7. Remove comments
- 6.6.8. Confirm updates
- 6.6.9. Read only
- 6.6.10. Rollback before disconnect
- 6.6.11. Empty string is NULL
- 6.6.12. Include NULL columns in INSERT
- 6.6.13. Check for uncommitted changes
- 6.6.14. Remember DbExplorer Schema
- 6.6.15. Store completion cache locally
- 6.6.16. Info Background
- 6.6.17. Alternate delimiter
- 6.6.18. Workspace
- 6.6.19. Connect scripts
- 6.6.20. Schema and Catalog filters
- 6.6.21. Main window icon
- 6.7. Connect to Oracle with SYSDBA privilege
- 7. Editing SQL Statements
- 8. Working with bookmarks
- 9. Creating stored procedures and triggers
- 10. Using SQL Workbench/J
- 10.1. Displaying help
- 10.2. Resizing windows
- 10.3. Executing SQL statements
- 10.4. Displaying results
- 10.5. Dealing with BLOB and CLOB columns
- 10.6. Performance tuning when executing SQL
- 10.7. Using workspaces
- 10.8. Saving and loading SQL scripts
- 10.9. Displaying the structure of tables
- 10.10. Viewing server messages
- 10.11. Editing data
- 10.12. Deleting rows from the result
- 10.13. Sorting the result
- 10.14. Filtering the result
- 10.15. Running stored procedures
- 10.16. Export result data
- 10.17. Copy data to the clipboard
- 10.18. Import data into the result set
- 11. Using SQL Workbench/J specific annotations in SQL comments
- 12. Using macros and text clips
- 13. Working with foreign keys
- 14. DBMS specific features
- 15. Variable substitution in SQL statements
- 16. Using SQL Workbench/J in batch files
- 16.1. Specifying the connection
- 16.2. Specifying the script file(s)
- 16.3. Specifying a SQL command directly
- 16.4. Specifying a delimiter
- 16.5. Specifying an encoding for the file(s)
- 16.6. Specifying a logfile
- 16.7. Handling errors
- 16.8. Specify a script to be executed on successful completion
- 16.9. Specify a script to be executed after an error
- 16.10. Ignoring errors from DROP statements
- 16.11. Changing the connection
- 16.12. Controlling console output during batch execution
- 16.13. Running batch scripts interactively
- 16.14. Defining variables
- 16.15. Setting configuration properties
- 16.16. Examples
- 17. Using SQL Workbench/J in console mode
- 17.1. Entering statements
- 17.2. Exiting console mode
- 17.3. Setting or changing the connection
- 17.4. Displaying result sets
- 17.5. Running SQL scripts that produce a result
- 17.6. Controlling the number of rows displayed
- 17.7. Controlling the query timeout
- 17.8. Managing connection profiles
- 17.9. PostgreSQL psql commands
- 18. Export data using WbExport
- 18.1. Memory usage and WbExport
- 18.2. Exporting Excel files
- 18.3. General WbExport parameters
- 18.4. Parameters for text export
- 18.5. Parameters for XML export
- 18.6. Parameters for type SQLUPDATE, SQLINSERT or SQLDELETEINSERT
- 18.7. Parameters for Spreadsheet types (ods, xslm, xls, xlsx)
- 18.8. Parameters for HTML export
- 18.9. Parameters for JSON export
- 18.10. Compressing export files
- 18.11. Examples
- 19. Import data using WbImport
- 20. Copy data across databases
- 21. Comparing databases
- 22. Other SQL Workbench/J specific commands
- 22.1. Create a report of the database objects - WbSchemaReport
- 22.2. Search source of database objects - WbGrepSource
- 22.3. Search data in multiple tables - WbGrepData
- 22.4. Define a script variable - WbVarDef
- 22.5. Delete a script variable - WbVarDelete
- 22.6. Show defined script variables - WbVarList
- 22.7. Confirm script execution - WbConfirm
- 22.8. Run a stored procedure with OUT parameters - WbCall
- 22.9. Execute a SQL script - WbInclude (@)
- 22.10. Extract and run SQL from a Liquibase ChangeLog - WbRunLB
- 22.11. Handling tables or updateable views without primary keys
- 22.12. Change the default fetch size - WbFetchSize
- 22.13. Run statements as a single batch - WbStartBatch, WbEndBatch
- 22.14. Extracting BLOB content - WbSelectBlob
- 22.15. Control feedback messages - WbFeedback
- 22.16. Setting connection properties - SET
- 22.17. Changing Oracle session behaviour - SET
- 22.18. Changing read only mode - WbMode
- 22.19. Generate DROP statement with dependencies - WbGenerateDrop
- 22.20. Generate DELETE statements with dependencies - WbGenerateDelete
- 22.21. Generate SQL script for database objects - WbGenerateScript
- 22.22. Show table structure - DESCRIBE
- 22.23. List tables - WbList
- 22.24. List indexes - WbListIndexes
- 22.25. List stored procedures - WbListProcs
- 22.26. List triggers - WbListTriggers
- 22.27. List catalogs - WbListCat
- 22.28. List schemas - WbListSchemas
- 22.29. Show the source of a table - WbTableSource
- 22.30. Show the source of a view - WbViewSource
- 22.31. Show the source of a stored procedures - WbProcSource
- 22.32. Count rows for all tables - WbRowcCount
- 22.33. Change the connection for a script - WbConnect
- 22.34. Show the history of SQL statements - WbHistory
- 22.35. Run an XSLT transformation - WbXslt
- 22.36. Running operating system commands - WbSysExec
- 22.37. Opening a file with the default application - WbSysOpen
- 22.38. Using Oracle's DBMS_OUTPUT package
- 22.39. Define a new macro - WbDefineMacro
- 22.40. List available macros - WbListMacros
- 22.41. Show a text to the user - WbEcho
- 22.42. Conditional execution
- 22.43. Change an internal configuration paramter - WbSetConfig
- 23. DataPumper
- 24. Database Object Explorer
- 25. Working with the Database Object tree
- 26. Common problems
- 27. Common DBMS problems
- 27.1. Oracle
- 27.1.1. No Views or tables visible in the DbExplorer
- 27.1.2. Error: "Stream has already been closed"
- 27.1.3. BLOB support is not working properly
- 27.1.4. Table and column comments are not displayed
- 27.1.5. Time for DATE columns is not displayed
- 27.1.6. Content of XMLTYPE columns is not displayed
- 27.1.7. Error: "missing mandatory parameter"
- 27.2. MySQL
- 27.3. Microsoft SQL Server
- 27.3.1. The value of DATE columns is not correct
- 27.3.2. Column and table comments are not displayed
- 27.3.3. Using Windows authentication to connect to a SQL Server
- 27.3.4. The Microsoft Driver throws an Exception when using SET SHOWPLAN_ALL
- 27.3.5. Dealing with locking problems
- 27.3.6. Can't start a cloned connection while in manual transaction mode
- 27.3.7. WbExport or WbCopy using a lot of memory
- 27.3.8. Sequences are incremented twice
- 27.4. IBM DB2
- 27.5. PostgreSQL
- 27.6. Sybase SQL Anywhere
- 27.1. Oracle
- 28. Options dialog
- 28.1. General options
- 28.2. Editor options
- 28.3. Macro options
- 28.4. Bookmark options
- 28.5. Editor colors
- 28.6. Font settings
- 28.7. Auto-completion options
- 28.8. Workspace options
- 28.9. Options for displaying data
- 28.10. Options for formatting data
- 28.11. Data display colors
- 28.12. Options for data editing
- 28.13. DbExplorer options
- 28.14. Window Title
- 28.15. SQL Formatting
- 28.16. External SQL Formatter
- 28.17. SQL Generation
- 28.18. External tools
- 28.19. Look and Feel
- 29. Configuring keyboard shortcuts
- 30. Advanced configuration options
- 30.1. DBID
- 30.2. GUI related settings
- 30.3. Editor related settings
- 30.4. Controlling code generation for code snippets
- 30.5. DbExplorer Settings
- 30.6. General configuration settings
- 30.7. Database related settings
- 30.8. Configuring the check for the update table
- 30.9. DBMS specific settings
- 30.10. SQL Execution related settings
- 30.11. Default settings for Export/Import
- 30.12. Controlling the log file
- 30.13. Configure Log4J logging
- 30.14. Configuring the logfile viewer
- 30.15. Settings related to SQL statement generation
- 30.16. Customize table source retrieval
- 30.17. Filter settings
- Index