Access Data in a Microsoft Access Database
Say what you will about it, Microsoft Access is still widely used (and abused?)
At any rate, if you work with Microsoft Access, you may want to run a query against it to see what data you will get or to perform a sanity check on your SQL statement. To do so is easy, but not necessarily intuitive.
Just follow these steps:
- Open MSAccess by 2-clicking the appropriate .MDB file (the database you want to query)
- Select the "Create" tab
- Select the "Query Design" icon
- Mash the "Close" button on the "Show Table" dialog
- Right-click in the query window and select SQL View
- Enter your query in the window (overwriting the default "
SELECT;
") - Mash the Run button (red exclamation mark) on the Design tab
- Gaze in wonder at the data returned, batting your eyelashes coquettishly if you're a chick or pounding your chest thunderingly if you're a cat.
Note: This works for Access 2007; other versions of Access should work similarly.