2004
Table Of Contents
- Contents
- Chapter 1 - Find the Information You Need
- Part 1 - The User Interface
- Part 2 - Start, Organize, and Save a Drawing
- Part 3 - Control the Drawing Views
- Part 4 - Create and Modify Objects
- Chapter 14 - Control the Properties of Objects
- Chapter 15 - Use Precision Tools
- Chapter 16 - Draw Geometric Objects
- Chapter 17 - Change Existing Objects
- Part 5 - Hatches, Notes, and Dimensions
- Chapter 18 - Hatches, Fills, and Wipeouts
- Chapter 19 - Notes and Labels
- Chapter 20 - Dimensions and Tolerances
- Part 6 - Create Layouts and Plot Drawings
- Chapter 21 - Create Layouts
- Chapter 22 - Plot Drawings
- Part 7 - Share Data Between Drawings and Applications
- Chapter 23 - Reference Other Drawing Files (Xrefs)
- Chapter 24 - Link and Embed Data (OLE)
- Chapter 25 - Work with Data in Other Formats
- Chapter 26 - Access External Databases
- Overview of Using AutoCAD with External Databases
- Access a Database from Within AutoCAD
- Link Database Records to Graphical Objects
- Use Labels to Display Database Information in the Drawing
- Use Queries to Filter Database Information
- Share Link and Label Templates and Queries with Other Users
- Work with Links in Files from Earlier Releases
- Part 8 - Work with Other People and Organizations
- Chapter 27 - Protect and Sign Drawings
- Chapter 28 - Use the Internet to Share Drawings
- Chapter 29 - Insert and View Markups
- Chapter 30 - Publish Drawing Sets
- Part 9 - Create Realistic Images and Graphics
- Glossary
- Index
Use Queries to Filter Database Information | 761
Unlike the other tabs in the Query Editor, the SQL Query tab can be used to
construct a query that performs relational operations on multiple database
tables using the SQL join operator. Because joins are a relatively advanced
SQL operation, refer to your database system documentation or to the SQL
92 protocol for information about working with joins.
The following additional interface elements are introduced on the SQL
Query tab:
■ Table List. Lists all database tables available in the current data source.
You can add tables to the SQL query editor by double-clicking them, by
selecting them and choosing Add, or by typing their names directly in the
SQL query editor.
■ Check. Checks your SQL query for proper syntax without actually
executing it. This function helps you isolate syntax errors before you issue
your query.
To construct an SQL query
1 Open the Query Editor as described in “To open the Query Editor” on page
754.
2 Choose the SQL Query tab.
3 Enter your query in the query editor, or select query components from the
interface as described in “Use the Query Builder” on page 758.