dbo.QER_FGIPWOSubmethodByMethodS
SQL_SCALAR_FUNCTION
Created 2025-06-27T17:59:27.130 · modified 2026-04-14T23:17:27.553 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| varchar | yes |
@OrderState | nvarchar | no |
@UID_SubMethodOrderProduct | varchar | no |
@UID_SubMethodOrderUnsubscribe | varchar | no |
@UID_SubMethodOrderProlongate | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| 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.
1 create function dbo.QER_FGIPWOSubmethodByMethodS (@OrderState nvarchar(64) , @UID_SubMethodOrderProduct varchar(38) , @UID_SubMethodOrderUnsubscribe 2 varchar(38) , @UID_SubMethodOrderProlongate varchar(38) ) returns varchar(38) with SCHEMABINDING as begin declare @UID_PWODecisionSubMethod varchar(38 3) select @UID_PWODecisionSubMethod = case @OrderState when 'New' then @UID_SubMethodOrderProduct when 'OrderProduct' then @UID_SubMethodOrderProduct when 4 'OrderProlongate' then case when @UID_SubMethodOrderProlongate > ' ' then @UID_SubMethodOrderProlongate else @UID_SubMethodOrderProduct end when 'OrderUnsubscribe' 5 then @UID_SubMethodOrderUnsubscribe else null end return (@UID_PWODecisionSubMethod) end 6
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:17:27.553
None extracted.
Summary: No calls/DML/dependency patterns extracted by the current parser.
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
| varchar(38) | OUTPUT |
@OrderState | nvarchar(64) | input |
@UID_SubMethodOrderProduct | varchar(38) | input |
@UID_SubMethodOrderUnsubscribe | varchar(38) | input |
@UID_SubMethodOrderProlongate | varchar(38) | input |
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: @OrderState @UID_SubMethodOrderProduct @UID_SubMethodOrderUnsubscribe @UID_SubMethodOrderProlongate @UID_PWODecisionSubMethod
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 object | Relation | Evidence |
|---|---|---|
| dbo.QER_FGIPWOSubmethodByMethod | SQL expression dependency | dbo · OBJECT_OR_COLUMN |