I use SQL SERver, it is really difficult and not flexible
I work with SQL Server since more then 25 year and I must say: It do what it should do and works like a charm.
if it like high programing language like C#
SQL Server supports CLR integration: https://learn.microsoft.com/en-us/sql/relational-databases/clr-integration/clr-integration-overview?view=sql-server-ver16
But avoid to use it, plain T-SQL performs much better.
, i used to case when , isnull but it does not work
It works for me and the rest of the RDBMS world. If it "don't work" for you, then because you are doing something wrong. But I can say what, because you only complain and didn't show any peace of code.