# MS SQL: the application GPFs after writing to a table that has a trigger (Reported, not reproduced)

**URL:** <https://forums.softvelocity.com/t/ms-sql-the-application-gpfs-after-writing-to-a-table-that-has-a-trigger-reported-not-reproduced/1177>\
**Category:** Knowledge Base\
**Tags:** reported-not-reprodu, database-drivers\
**Created:** [November 9, 2026, 1:49am UTC](https://forums.softvelocity.com/t/ms-sql-the-application-gpfs-after-writing-to-a-table-that-has-a-trigger-reported-not-reproduced/1177 "2026-11-09T01:49:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 1:49am UTC](https://forums.softvelocity.com/t/ms-sql-the-application-gpfs-after-writing-to-a-table-that-has-a-trigger-reported-not-reproduced/1177/1 "2026-11-09T01:49:38Z")

</div>

**Applies to:** Clarion 6 with MS SQL, as reported. No server version is named.

**Problem as reported**

Since moving from TPS to MS SQL the application GPFs unexpectedly, usually after writing data, sometimes after a trigger, sometimes after an insert. The last trace lines were five `Binding ? n for input with C type CHAR as 12` lines, then `Executing prepared Statement`, then `Fetching Row from Statement ... Return Code: 0`. Nothing followed. Later the poster narrowed it to an update on one table that has a trigger, inside Logout/Commit.

**What the thread found**

- One poster suspected, without proof, a bug in the ODBC drivers; he could not reproduce it but saw GPFs.
- A third-party GPF reporter tool was suggested to capture the crash location. The original poster did not say whether it helped.
- The original poster asked whether Logout/Commit could conflict with the trigger. Nobody answered.

**Caveats**

- The cause was not found and no fix was posted.
- The trace stops after a successful fetch, so the crash is after the last logged call.
- The first reply assumed Clarion 8; the poster was on Clarion 6.

**Today (2026)**

Not reproduced. This entry records a 2013 report. A reader on a current build who sees a GPF after a trigger-firing update is asked to confirm or close it.

**Sources:** Antonio D. (Jul 2013, the question), Sean H., Russ E. (Jul 2013) in softvelocity.clarion.databasedrivers.
