Back to OIM Explorer

dbo.QBM_FGIIsSimulationMode

Scalar FunctionSQL_SCALAR_FUNCTIONSandbox DB

Scalar Function.

Source: sandbox-db sys.sql_modules

Source size: 219 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.

Complete Source

SQL12 lines
1CREATE FUNCTION dbo.QBM_FGIIsSimulationMode(2) RETURNS BIT3  WITH SCHEMABINDING4AS5BEGIN6  DECLARE @erg BIT7  IF object_id(N 'tempdb..#TriggerOperation') IS NULL8  SELECT @erg = 09  ELSE10  SELECT @erg = 111  RETURN(@erg)12END
Open raw exported source
SQL ยท Raw3 lines
1   create   function dbo.QBM_FGIIsSimulationMode () returns bit with SCHEMABINDING as begin declare @erg bit if object_id(N'tempdb..#TriggerOperation'2) is null select @erg = 0 else select @erg = 1 return (@erg) end 3