dbo.TSB_FGIPersonHasTSBAccountDef

SQL_SCALAR_FUNCTION

Created 2025-06-27T18:01:20.827 · modified 2026-04-14T23:20:46.547 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
bityes
@P_IsInActivebitno
@P_IsTemporaryDeactivatedbitno
@P_XMarkedForDeletionintno
@PFDInheritAccountDefbitno
@PTDInheritAccountDefbitno
@PMDInheritAccountDefbitno
@P_IsSecurityIncidentbitno
@PSIInheritAccountDefbitno

Referenced objects

SchemaObjectColumn/minorClass
No SQL expression dependencies in snapshot.

Source excerpt

First extracted SQL definition lines from the exported source. Use the full source page for complete context.

Open full formatted source

1      create   function dbo.TSB_FGIPersonHasTSBAccountDef (  @P_IsInActive bit, @P_IsTemporaryDeactivated bit, @P_XMarkedForDeletion int, @PFDInheritAccountDef
2 bit, @PTDInheritAccountDef bit, @PMDInheritAccountDef bit,  @P_IsSecurityIncident bit, @PSIInheritAccountDef bit ) returns bit with SCHEMABINDING as begin
3 declare @erg bit = 0 declare @QBM_BitPatternXMarkedForDel_Delay int = 0x01  declare @P_XMarkedForDeletion_bit1 int = @P_XMarkedForDeletion & @QBM_BitPatternXMarkedForDel_Delay
4 if (isnull(@p_IsInActive,0) = 0 or (@p_IsInActive = 1 and @PFDInheritAccountDef = 1)) and (isnull(@P_IsTemporaryDeactivated,0) = 0 or (@P_IsTemporaryDeactivated
5 = 1 and @PTDInheritAccountDef = 1)) and (@P_XMarkedForDeletion_bit1 = 0 or ( @P_XMarkedForDeletion_bit1 > 0 and @PMDInheritAccountDef = 1)) and (isnull
6(@P_IsSecurityIncident,0) = 0 or (@P_IsSecurityIncident = 1 and @PSIInheritAccountDef = 1)) begin select @erg = 1 end endLabel: return(@erg) end 
7

Module relation graph

Loading module relation graph…

Source-derived context

Generated from exported SQL module definitions plus read-only sandbox sys.objects/sys.parameters/sys.sql_expression_dependencies metadata. This is factual source evidence, not a semantic guess.

provenance: SQL definition export provenance: sandbox DB metadata modified: 2026-04-14T23:20:46.547

None extracted.

Summary: No calls/DML/dependency patterns extracted by the current parser.

Declared parameters

ParameterTypeDirection
bitOUTPUT
@P_IsInActivebitinput
@P_IsTemporaryDeactivatedbitinput
@P_XMarkedForDeletionintinput
@PFDInheritAccountDefbitinput
@PTDInheritAccountDefbitinput
@PMDInheritAccountDefbitinput
@P_IsSecurityIncidentbitinput
@PSIInheritAccountDefbitinput

DML targets

None extracted.

Called routines

None extracted.

Read/join references

None extracted.

SQL dependency metadata

None extracted.

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @P_IsInActive @P_IsTemporaryDeactivated @P_XMarkedForDeletion @PFDInheritAccountDef @PTDInheritAccountDef @PMDInheritAccountDef @P_IsSecurityIncident @PSIInheritAccountDef @erg @QBM_BitPatternXMarkedForDel_Delay @P_XMarkedForDeletion_bit1 @p_IsInActive

Referenced by / reverse dependencies

Generated from live DB metadata, FK rows, and exported SQL dependency/source extraction. This is factual linkage evidence, not inferred behavior.

Referencing objectRelationEvidence
dbo.TSB_ZPersonHasTSBAccountDefSQL expression dependencydbo · OBJECT_OR_COLUMN