This tutorial shows ability of HMI SCU communicate with MsSQL database.
MsSQL library is available here: https://www.plc2sql.com/products/mssql-library-for-somachine-v4-1/
Used SW and HW:
PLC: Magelis HMISCUxB5
SoMachine: SoMachine V4.1 SP2 + Vijeo Designer 6.2 SP5
MsSQL Library V1.1.0.4