Discussed in https://github.com/go-gorm/gorm/discussions/7032
Originally posted by **sanjeevrayasam** May 22, 2024
I have been using GORM for postgress and now i want to use it for MSSQL using sqlserver config
Config i have tried
1. Used NamingStrategy in the gorm.Open with the TablePrefix
2. gave used TableName()string function for the struct and the string was with the schema.tablename
3. used TableName(n schema.Namer)
but all of the config failed.
while UPDATE i can see the schema appended but when MERGE happens it disappears and i get invalid object
i am using Save() method as given in the screen shot

Comment From: github-actions[bot]
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨