# Access violation error when running a SQL statement error

**URL:** <https://forums.toadworld.com/t/access-violation-error-when-running-a-sql-statement-error/11195>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [June 27, 2012, 7:14pm UTC](https://forums.toadworld.com/t/access-violation-error-when-running-a-sql-statement-error/11195 "2012-06-27T19:14:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrudraraju\_875](https://avatars.discourse-cdn.com/v4/letter/v/ee59a6/32.png) [@vrudraraju\_875](https://forums.toadworld.com/u/vrudraraju_875)\
**Post date:** [June 27, 2012, 7:14pm UTC](https://forums.toadworld.com/t/access-violation-error-when-running-a-sql-statement-error/11195/1 "2012-06-27T19:14:07Z")

</div>

Hello Experts,

```
 We are working on TOAD 10.5.1.3. Today when we logged into a database and started running queries everything was fine till I executed the below query

```

SELECT \* FROM TABLE(SYSADM.A\_FN\_STDNT\_CHKLSTITEM\_INFO(‘0139539’,‘2013’));

Right after this a error popped up as

\*\*Access violation at address 61013018 in module ‘oracommon10.dll’. Write of address 00000000  
\*\* My oracle client is 10.2.0.4.

Could someone please let me know what is the cause of this error and what are the possible solutions to resolve this error.

Regards…

---

<div class="post-metadata">

**Author:** ![rachelgomez161999](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@rachelgomez161999](https://forums.toadworld.com/u/rachelgomez161999)\
**Post date:** [November 29, 2022, 7:37am UTC](https://forums.toadworld.com/t/access-violation-error-when-running-a-sql-statement-error/11195/2 "2022-11-29T07:37:13Z")

</div>

Debugging a SQL query  
Go to the line that is failing in your SQL query.  
Check the SQL syntax on the line that is failing in your SQL query.  
Check your query logic if the query uses joins, subqueries, or CTEs.  
If you get an error message that isn't specific to your SQL query, go to Troubleshooting error messages.  
Regards,  
Rachel Gomez
