每当我尝试运行使用Play创建的新Web应用程序时,我都会收到以下错误.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Run Code Online (Sandbox Code Playgroud) 在编写CLR函数时,我们可以使用命名空间吗?
namespace SomeName1.SomeName2
{
public static class SomeClass
{
[SqlFunction]
public static SqlString SomeMethod(SqlString input)
{
// ....
}
}
}
Run Code Online (Sandbox Code Playgroud)
如果是这样,那么我们如何从SqlServer调用此函数.换句话说,我们如何使用命名空间从SQL Server调用CLR函数?