Is it possible to do SQL's CLR assembly in other DBMS?
or what would be the CLR analog in DBMS Oracle, MySQL, PostgreSQL…
Is it possible to do SQL’s CLR assembly in other DBMS? or what would
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot use the CLR type you register in SQL server database directly in an Oracle database (and I guess the same holds true for MySql and other databases). Each database that supports User defined datatypes and has a .NET provider usually has a framework in place for representing the UDT in the the CLR world.
For example, in Oracle you need to implement the ‘Oracle.DataAcess.Types.IOracleCustomType’ interface to be able to convert between the UDT and CLR type and the ‘IOracleCustomTypeFactory’ to create instances of the custorm type. You can find more information here.