I am trying to do a INSERT OR UPDATE SQL query, but the query always inserts new rows to table. Is it how I defined the table or am I mising something in the query?
table defines as,
{
Property Tablespace As %Library.String(MAXLEN = 50) [ SqlColumnNumber = 2 ];
Property DepartmentId As %Library.String(MAXLEN = 50) [ SqlColumnNumber = 3 ];
Property TimezoneName As %Library.String(MAXLEN = 100) [ SqlColumnNumber = 4 ];
Property PatientDepartmentName As %Library.
.png)
.png)
.png)


.png)
