Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello anyone.
I have data in MSSQL.
How I send data to Thingworx?
I want to send data when some data income to MSSQL.
Thank you
You can use JDBC extension to connect Thingworx and MSSQL server.
https://marketplace.thingworx.com/tools/jdbc-connector-extension
After importing, you can directly write SQL Query or Command in MSSQL thing to get data from MSSQL DB.
Regards,
Velkumar R
Hello @ssriuaipornchai
Add MSSQL extension from Thingworx marketplace in Thingworx and configure it. Configuration steps are available in Relational Database Extension documentation in Thingworx marketplace.
Create a thing with MSSQL thing template.
If connection is Ok, isConnected becomes true.
Write SQL commands and queries in the thing to read and write data.
Did the responses you received answer your question? If so, please indicate your Accepted Solution for the benefit of the Community. If not, please let us know your current status.
Thanks!
Leigh
Do you have manual of JDBC extension ?
I already import to my Thingworx. But, I don't know "How to use JDCB extention".
What's JDBC driver file ?
JDBC is Java Database Connector file.
For MSSQL you can get JDBC driver form this link
You can follow below steps to create your MSSQL extension:
Please, suggest me. How to config below list.
JDBC Driver Class Name
JDBC Connection String
connectionValidationStiring
I using MSSQL Express, user is "sa" ( This user can login already and password correct )
Class Name:
com.microsoft.sqlserver.jdbc.SQLServerDriver
connection String,
jdbc:sqlserver://server IP:PortNumber;databaseName=DBname
Example: jdbc:sqlserver://10.10.2.107:1433;databaseName=MyDB
use can use default connectionValidationStiring
Regards,
Velkumar R
Can't
Now It's now working
Can you remote for me?