This commit is contained in:
13
PROMS/SQL Data Tools/Compression_stepcompression.sql
Normal file
13
PROMS/SQL Data Tools/Compression_stepcompression.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
select
|
||||
ff.formatID,ff.Name,ff.Description--,ff.Data
|
||||
--,pf.formatID,pf.Name,pf.Description
|
||||
--,gf.formatID,gf.Name,gf.Description
|
||||
, isnull(ffxStpSectLayData.value('@CompressSteps','varchar(5)'),isnull(pfxStpSectLayData.value('@CompressSteps','varchar(5)'),gfxStpSectLayData.value('@CompressSteps','varchar(5)'))) CompressSteps
|
||||
, isnull(ffxStpSectLayData.value('@PartialStepCompression','varchar(5)'),isnull(pfxStpSectLayData.value('@PartialStepCompression','varchar(5)'),gfxStpSectLayData.value('@PartialStepCompression','varchar(5)'))) PartialStepCompression
|
||||
from Formats FF
|
||||
Join Formats PF on PF.FormatID = ff.ParentID
|
||||
Join Formats GF on GF.FOrmatID = PF.ParentID
|
||||
cross apply ff.Data.nodes('//StpSectLayData') fftStpSectLayData(ffxStpSectLayData)
|
||||
cross apply pf.Data.nodes('//StpSectLayData') pftStpSectLayData(pfxStpSectLayData)
|
||||
cross apply gf.Data.nodes('//StpSectLayData') gftStpSectLayData(gfxStpSectLayData)
|
||||
order by ff.formatID
|
Reference in New Issue
Block a user