-
Notifications
You must be signed in to change notification settings - Fork 0
/
MULTI.v_op_RCCSpecs.View.sql
56 lines (47 loc) · 2.27 KB
/
MULTI.v_op_RCCSpecs.View.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
USE [Reporting]
GO
/****** Object: View [MULTI].[v_op_RCCSpecs] Script Date: 4/2/2024 11:07:52 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =================================================
-- Author: Kevin Soe
-- Create date: 7/28/2022
-- Description: View of specifications for all variables for RCC registries
-- =================================================
--SELECT * FROM
CREATE VIEW [MULTI].[v_op_RCCSpecs] AS
SELECT
'AD-550' AS [registry]
--,[versionName]
,[questionText]
,[variableName]
,[crfName]
,[edcDataType]
,[responseSetLabel]
,[responseSetOptions] --SELECT *
FROM [RCC_AD550].[meta].[specStaging]
UNION --ALL
SELECT
'MS-700' AS [registry]
--,[versionName]
,[questionText]
,[variableName]
,[crfName]
,[edcDataType]
,[responseSetLabel]
,[responseSetOptions] --SELECT *
FROM [RCC_MS700].[meta].[specStaging]
UNION --ALL
SELECT
'NMOSD-750' AS [registry]
--,[versionName]
,[questionText]
,[variableName]
,[crfName]
,[edcDataType]
,[responseSetLabel]
,[responseSetOptions] --SELECT *
FROM [RCC_NMOSD750].[meta].[specStaging]
GO