Back to OIM Explorer

dbo.QBM_FGIWithoutMemoryOptimized

Scalar FunctionSQL_SCALAR_FUNCTIONSandbox DB

Scalar Function.

Source: sandbox-db sys.sql_modules

Source size: 227 characters

Interpretation

  • Database function. Usually supports views, validation, or calculated predicates; look at referenced-by entries for callers.

Relations

  • No extracted relations.

Typed Edges

  • No typed edges extracted for this source.

References

  • No direct source references extracted.

Referenced By

  • No direct source references extracted.

Complete Source

SQL15 lines
1CREATE FUNCTION dbo.QBM_FGIWithoutMemoryOptimized(2) RETURNS BIT3AS4BEGIN5  RETURN(6  SELECT CASE7  WHEN EXISTS(8  SELECT TOP 1 19  FROM QBM_VServerEngineProperties v10  WHERE11    v.MemoryOptimizedAvailable = 0) THEN12  113  ELSE 014  END)15END
Open raw exported source
SQL ยท Raw3 lines
1  create   function dbo.QBM_FGIWithoutMemoryOptimized() returns bit as begin return( select case when exists (select top 1 1 from QBM_VServerEngineProperties2 v where v.MemoryOptimizedAvailable = 0 ) then 1 else 0 end ) end 3