If you want to see what is behind the button, you need to go to the Macros, as described earlier, and check out the Visual Basic code.
If Oracle is the database product at the back end, the Visual Basic code most likely uses the Open Database Connectivity (ODBC) method to access the database.
Go to Microsoft Visual Basic (Tools - Macro - Visual Basic Editor) and select Help - Microsoft Visual Basic Help. Go to Microsoft Visual Basic Reference - Properties - D - DataSource Property. This entry shows how to set the database to be SQL Server, just to illustrate how databases in general are accessed from Word.
In the same Help context, select Microsoft Word Object Help - Programming Concepts - Accessing Data and Other Applications - Using DAO from Microsoft Word. The example shows how to retrieve records from a table in the Northwind database in Access.
In Microsoft Visual Basic Help, do a search on OpenDataSource. The description of this method shows how you can determine the ODBC connection and query strings, and the last example shows how to access Northwind through ODBC, which you can hopefully modify to suit your Oracle database.
And how to tell Windows that you want to access Oracle? The Microsoft Knowledgebase article "HOW TO: Create a System Data Source Name in Windows XP" at http://support.microsoft.com/default.aspx?scid=kb;en-us;305599 shows how you can set up the connection in Windows XP. You will find 'Microsoft ODBC for Oracle' from the list of drivers under the tab System DSN.
Good luck!