---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Test a query

# Test a query {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

To verify that the user has the appropriate permissions to send requests to the
instance using ODBC, run a query using Interactive SQL.

## Warum und wann dieser Vorgang ausgeführt wird

For testing, use a query that returns exactly one record, such as a query using the Number value of a record.

## Prozedur

1. In the base system instance, navigate to IncidentAll.
2. Record the Number of an incident record.
3. On the computer where the ODBC driver is installed, navigate to StartProgramsServiceNow ODBCInteractive SQL.
4. Enter <kbd class="ph userinput">connect "odbc.user"*"password"@ServiceNow</kbd> and press Enter.
5. Enter the following text, substituting the incident number you recorded.  
   <kbd class="ph userinput">select short_description from incident where number=’&lt;incident number&gt;';</kbd>
6. Press Enter.

## Ergebnisse

The instance should respond with the short description of the incident record.

