SQL Workbench/J User's Manual SQLWorkbench
SQLWorkbench-Manual
SQLWorkbench-Manual
SQLWorkbench-Manual
User Manual:
Open the PDF directly: View PDF
Page Count: 248 [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
- 5. Command line parameters
- 5.1. Specify the directory for configuration settings
- 5.2. Specify a base directory for JDBC driver libraries
- 5.3. Specify the file containing connection profiles
- 5.4. Defining variables
- 5.5. Prevent updating the .settings file
- 5.6. Connect using a pre-defined connection profile
- 5.7. Connect without a profile
- 6. JDBC Drivers
- 7. Connecting to the database
- 7.1. Connection profiles
- 7.2. Managing profile groups
- 7.3. JDBC related profile settings
- 7.4. PostgreSQL connections
- 7.5. Extended properties for the JDBC driver
- 7.6. SQL Workbench/J specific settings
- 7.6.1. Prompt for username
- 7.6.2. Save password
- 7.6.3. Separate connection per tab
- 7.6.4. Ignore DROP errors
- 7.6.5. Trim CHAR data
- 7.6.6. Hide warnings
- 7.6.7. Remove comments
- 7.6.8. Confirm updates
- 7.6.9. Read only
- 7.6.10. Rollback before disconnect
- 7.6.11. Empty string is NULL
- 7.6.12. Include NULL columns in INSERT
- 7.6.13. Check for uncommitted changes
- 7.6.14. Remember DbExplorer Schema
- 7.6.15. Store completion cache locally
- 7.6.16. Info Background
- 7.6.17. Alternate delimiter
- 7.6.18. Workspace
- 7.6.19. Tagging connection profiles
- 7.6.20. Main window icon
- 7.6.21. Connect scripts
- 7.6.22. Schema and Catalog filters
- 7.6.23. Variables
- 7.7. Connecting through a SSH tunnel
- 7.8. Connect to Oracle with SYSDBA privilege
- 7.9. Using the quick filter
- 8. Using workspaces
- 9. Editing SQL Statements
- 10. Working with bookmarks
- 11. Creating stored procedures and triggers
- 12. Using SQL Workbench/J
- 12.1. Displaying help
- 12.2. Resizing windows
- 12.3. Executing SQL statements
- 12.4. Displaying results
- 12.5. Dealing with BLOB and CLOB columns
- 12.6. Performance tuning when executing SQL
- 12.7. Using workspaces
- 12.8. Saving and loading SQL scripts
- 12.9. Displaying the structure of tables
- 12.10. Viewing server messages
- 12.11. Editing data
- 12.12. Deleting rows from the result
- 12.13. Sorting the result
- 12.14. Filtering the result
- 12.15. Running stored procedures
- 12.16. Export result data
- 12.17. Copy data to the clipboard
- 12.18. Import data into the result set
- 13. Using SQL Workbench/J specific annotations in SQL comments
- 14. Using macros and text clips
- 15. Working with foreign keys
- 16. DBMS specific features
- 17. Variable substitution in SQL statements
- 18. Using SQL Workbench/J in batch files
- 18.1. Specifying the connection
- 18.2. Specifying the script file(s)
- 18.3. Specifying a SQL command directly
- 18.4. Specifying a delimiter
- 18.5. Specifying an encoding for the file(s)
- 18.6. Specifying a logfile
- 18.7. Handling errors
- 18.8. Specify a script to be executed on successful completion
- 18.9. Specify a script to be executed after an error
- 18.10. Ignoring errors from DROP statements
- 18.11. Changing the connection
- 18.12. Controlling console output during batch execution
- 18.13. Running batch scripts interactively
- 18.14. Defining variables
- 18.15. Setting configuration properties
- 18.16. Examples
- 19. Using SQL Workbench/J in console mode
- 19.1. Entering statements
- 19.2. Exiting console mode
- 19.3. Setting or changing the connection
- 19.4. Displaying result sets
- 19.5. Running SQL scripts that produce a result
- 19.6. Controlling the number of rows displayed
- 19.7. Controlling the query timeout
- 19.8. Managing connection profiles
- 19.9. PostgreSQL psql commands
- 20. Export data using WbExport
- 20.1. Memory usage and WbExport
- 20.2. Exporting Excel files
- 20.3. General WbExport parameters
- 20.4. Parameters for text export
- 20.5. Parameters for XML export
- 20.6. Parameters for type SQLUPDATE, SQLINSERT or SQLDELETEINSERT
- 20.7. Parameters for Spreadsheet types (ods, xslm, xls, xlsx)
- 20.8. Parameters for HTML export
- 20.9. Parameters for JSON export
- 20.10. Compressing export files
- 20.11. Examples
- 21. Import data using WbImport
- 22. Copy data across databases
- 23. Comparing databases
- 24. Search data and code in the database
- 25. SQL Workbench/J to generate DDL commands
- 25.1. Generate SQL script for database objects - WbGenerateScript
- 25.2. Show the source of a table - WbTableSource
- 25.3. Show the source of a view - WbViewSource
- 25.4. Show the source of a stored procedures - WbProcSource
- 25.5. Show the source of a trigger - WbTriggerSource
- 25.6. Generate DROP statement with dependencies - WbGenerateDrop
- 25.7. Generate SQL script for foreign key constraints - WbGenerateFKScript
- 25.8. Generate a table definition from an import file - WbGenerateImpTable
- 25.9. Generate DELETE statements with dependencies - WbGenerateDelete
- 26. Show information about database objects
- 26.1. Create a report of the database objects - WbSchemaReport
- 26.2. Show table structure - DESCRIBE
- 26.3. List tables - WbList
- 26.4. List indexes - WbListIndexes
- 26.5. List stored procedures - WbListProcs
- 26.6. List triggers - WbListTriggers
- 26.7. List catalogs - WbListCat
- 26.8. List schemas - WbListSchemas
- 26.9. Show dependency information - WbListDependencies
- 27. Manage macros with SQL Workbench/J command
- 28. Manage variables with SQL Workbench/J
- 29. Other SQL Workbench/J specific commands
- 29.1. Confirm script execution - WbConfirm
- 29.2. Display a message box - WbMessage
- 29.3. Print a text - WbEcho
- 29.4. Run a stored procedure with OUT parameters - WbCall
- 29.5. Execute a SQL script - WbInclude (@)
- 29.6. Conditional execution
- 29.7. Extract and run SQL from a Liquibase ChangeLog - WbRunLB
- 29.8. Handling tables or updateable views without primary keys
- 29.9. Change the default fetch size - WbFetchSize
- 29.10. Run statements as a single batch - WbStartBatch, WbEndBatch
- 29.11. Extracting BLOB content - WbSelectBlob
- 29.12. Control feedback messages - WbFeedback
- 29.13. Setting connection properties - SET
- 29.14. Changing Oracle session behavior - SET
- 29.15. Changing read only mode - WbMode
- 29.16. Count rows for all tables - WbRowcCount
- 29.17. Change the connection for a script - WbConnect
- 29.18. Show the history of SQL statements - WbHistory
- 29.19. Run an XSLT transformation - WbXslt
- 29.20. Running operating system commands - WbSysExec
- 29.21. Opening a file with the default application - WbSysOpen
- 29.22. Change an internal configuration parameter - WbSetConfig
- 30. DataPumper
- 31. Database Object Explorer
- 32. Working with the Database Object tree
- 33. Common problems
- 33.1. The driver class was not found
- 33.2. Syntax error when creating stored procedures
- 33.3. The SQL source code for tables or indexes is incorrect
- 33.4. Timestamps with timezone information are not displayed correctly
- 33.5. Some of the dialogs are too small
- 33.6. Excel export not available
- 33.7. Out of memory errors
- 33.8. High CPU usage when executing statements
- 33.9. The GUI freezes when displaying menus or context menus
- 34. Common DBMS problems
- 34.1. Oracle
- 34.1.1. No Views or tables visible in the DbExplorer
- 34.1.2. Error: "Stream has already been closed"
- 34.1.3. BLOB support is not working properly
- 34.1.4. Table and column comments are not displayed
- 34.1.5. Time for DATE columns is not displayed
- 34.1.6. Content of XMLTYPE columns is not displayed
- 34.1.7. Error: "missing mandatory parameter"
- 34.2. MySQL
- 34.3. Microsoft SQL Server
- 34.3.1. The value of DATE columns is not correct
- 34.3.2. Column and table comments are not displayed
- 34.3.3. Using Windows authentication to connect to a SQL Server
- 34.3.4. The Microsoft Driver throws an Exception when using SET SHOWPLAN_ALL
- 34.3.5. Dealing with locking problems
- 34.3.6. Can't start a cloned connection while in manual transaction mode
- 34.3.7. WbExport or WbCopy using a lot of memory
- 34.3.8. Sequences are incremented twice
- 34.4. IBM DB2
- 34.4.1. Date values are not displayed
- 34.4.2. "Connection closed" errors
- 34.4.3. XML columns are not displayed properly in the DbExplorer
- 34.4.4. No error text is displayed
- 34.4.5. Displaying column headers instead of column names in result sets.
- 34.4.6. Column or table comments are not displayed
- 34.4.7. DB2 commands like REORG cannot be run
- 34.5. Amazon Redshift
- 34.6. PostgreSQL
- 34.7. Sybase SQL Anywhere
- 34.1. Oracle
- 35. Options dialog
- 35.1. General options
- 35.2. Editor options
- 35.3. SQL Excecution options
- 35.4. Macro options
- 35.5. Bookmark options
- 35.6. Editor colors
- 35.7. Font settings
- 35.8. Auto-completion options
- 35.9. Workspace options
- 35.10. Backup options
- 35.11. Options for displaying data
- 35.12. Options for formatting data
- 35.13. Data display colors
- 35.14. Options for data editing
- 35.15. DbExplorer options
- 35.16. Window Title
- 35.17. SQL Formatting
- 35.18. External SQL Formatter
- 35.19. SQL Generation
- 35.20. External tools
- 35.21. Look and Feel
- 36. Configuring keyboard shortcuts
- 37. Advanced configuration options
- 37.1. DBID
- 37.2. GUI related settings
- 37.3. Editor related settings
- 37.4. Controlling code generation for code snippets
- 37.5. DbExplorer Settings
- 37.6. General configuration settings
- 37.7. Database related settings
- 37.8. Configuring the check for the update table
- 37.9. DBMS specific settings
- 37.10. SQL Execution related settings
- 37.11. Default settings for Export/Import
- 37.12. Controlling the log file
- 37.13. Configure Log4J logging
- 37.14. Configuring the logfile viewer
- 37.15. Settings related to SQL statement generation
- 37.16. Customize table source retrieval
- 37.17. Customize index source retrieval
- 37.18. Filter settings
- 38. Simple properties based profile storage
- Index