[ISS Support Case] SQL Query Assistance
Last updated: October 17th, 2025Description
Chat kept disconnecting : Looking for assistance writing a SQL query to access three databases. I have an existing Intouch application in 2023 R2 that I need to add some information on one of the windows. The information is contained in three different tables in a database on the network. I need to run a script in Intouch that contains the query below that I can run in the MS SSMS and I get the following results: I am trying to retrieve the Batch, Heat and the Description for the three Tanks. The following query returns those values from the three tables. select distinct p.Batch, p.Heat, loc.Description Tank from [dbo].[TransactionCurrentPieceLocation] t join [dbo].[Piece] p on p.PK_Piece = t.FK_Piece join [dbo].[location] loc on loc.PK_Location = t.FK_Location where 1=1 and t.FK_Location in (10,11,12) and t.FK_PieceType = 'B' and p.FK_PieceStatus = 'A' I know I need to create the Bindlist to return to values, but how can I run the SQLExecute with the long Query like that, there are 267 characters.
- Author: Kevin Modlin
- Published: October 17th, 2025
Details:
Product: InTouch |
Version: 2023 R2 |
Solution: [Solution is visible below when you're logged in and have a current subscription] |
Date Created: | 06/26/2025 |
Case: | 98306 |
Recommended articles
[ISS Support Case] AVEVA Map OMI App
Client reached out due to when opening ViewApp with embedded OMI MapApp user was receiving the following error: "Page load failed. The browser encountered a connection error while trying to load http://localhost:55601/Map/map-runtime.html. Try again later."
Read More[ISS Support Case] WSP 2023 Installer Hangs When Applying P02
Fresh Install Applying P02 - reloaded workstation OS - installed 2023 (no issue) - Install hung on Application Server DOC install - FROZE - Killed task - Uninstalled Manually - Reinstalled gets hung at the same spot some
Read More[ISS Support Case] InTouch issue
Upgraded from 2020 to 2023. Now getting a message from within remote desktop session that says could not acquire a ReadWrite license.
Read More