Ask our Experts
Didn't find what you are looking for? Ask our experts!
Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-05 12:35 PM . Last Modified: 2023-05-03 12:37 AM
>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-23 17:25:39 Id:179
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
_________________
**_AFK:
We have CS2017R2 and we have a linked ODBC table to SQL server. This all works fine, however one of the fields in our SQL table is set to type NVARCHAR(MAX) and contains about 4000 characters in it. The ODBC driver on our ClearSCADA server is the latest driver from microsoft (ODBC driver 17), and when we create a table in a ClearSCADA mimic to show the data, all fields show except for the NVARCHAR(MAX) one....it only shows the column names but does not return the data. Even if we only put say 20 characters in the field in SQL, it still does not appear in ClearSCADA.
Any ideas?_**
__________________
sbeadle:
Some field types just don't map into ClearSCADA types.
Perhaps create a VIEW on this table for the linked table?
________________________
**_AFK:
Thanks, but what field data type (containing a few thousand characters) could i create in the SQL view that would work on Clearscada?_**
______________
sbeadle:
I believe there may be a limit of 2000 chars - could you create and try a field of limited size?
_______________
**_AFK:
Thanks, we have tried this with NVARCHAR(MAX) and no character length works at all. The NVARCHAR(2000) will work, but defeats the purpose as our fields will always be greater than 2000 characters. Looks like its a CS limitation that we cant work around for now. thanks for you help._**
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.