프로젝트

일반

사용자정보

개정판 927e0240

ID927e02405a5c4984f4f9448359eed67d0fffdc3c
상위 3b81b385
하위 315ae55e

김태성이(가) 약 5년 전에 추가함

- markus sql project 추가

Change-Id: Ie04f93591b995b130208287e341b084c5a55cbc3

차이점 보기:

ConvertService/ServiceBase/StationControllerSQL/Security/Permissions.sql
1
GRANT VIEW ANY COLUMN ENCRYPTION KEY DEFINITION TO PUBLIC;
2

  
3

  
4
GO
5
GRANT VIEW ANY COLUMN MASTER KEY DEFINITION TO PUBLIC;
6

  
7

  
8
GO
9
GRANT CONNECT TO [doftech];
10

  
ConvertService/ServiceBase/StationControllerSQL/Security/RoleMemberships.sql
1
ALTER ROLE [db_owner] ADD MEMBER [doftech];
2

  
ConvertService/ServiceBase/StationControllerSQL/Security/SignalR.sql
1
CREATE SCHEMA [SignalR]
2
    AUTHORIZATION [dbo];
3

  
ConvertService/ServiceBase/StationControllerSQL/Security/doftech.sql
1
CREATE USER [doftech] FOR LOGIN [doftech];
2

  
ConvertService/ServiceBase/StationControllerSQL/Security/doftech_1.sql
1
CREATE LOGIN [doftech]
2
    WITH PASSWORD = N'dee|mhxhFNps$Mhv^hkcheJxmsFT7_&#$!~<hcrqf2j^^&wd', SID = 0x07CACCF523928E4B8868D22F92F805D3, DEFAULT_DATABASE = [markus], DEFAULT_LANGUAGE = [한국어];
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c.sql
1
CREATE CONTRACT [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c]
2
    AUTHORIZATION [dbo]
3
    ([dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/StartMessage/Insert] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/StartMessage/Update] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/StartMessage/Delete] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/ID] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/PROJECT_NO] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/DOCUMENT_URL] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/DOCUMENT_ID] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/CREATE_DATETIME] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/STATUS] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/TOTAL_PAGE] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/CURRENT_PAGE] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/EXCEPTION] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/END_DATETIME] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/START_DATETIME] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/SERVICE_ID] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/RECONVERTER] SENT BY INITIATOR, [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/EndMessage] SENT BY INITIATOR);
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_CREATE_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/CREATE_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_CURRENT_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/CURRENT_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_DOCUMENT_ID.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/DOCUMENT_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_DOCUMENT_URL.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/DOCUMENT_URL]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_END_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/END_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_EXCEPTION.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/EXCEPTION]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_EndMessage.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/EndMessage]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_ID.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_PROJECT_NO.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/PROJECT_NO]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_RECONVERTER.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/RECONVERTER]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Receiver.sql
1
CREATE QUEUE [dbo].[dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Receiver]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF);
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Receiver_1.sql
1
CREATE SERVICE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Receiver]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Receiver]
4
    ([dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c]);
5

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_SERVICE_ID.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/SERVICE_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_START_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/START_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_STATUS.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/STATUS]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Sender.sql
1
CREATE QUEUE [dbo].[dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Sender]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF), ACTIVATION (STATUS = ON, PROCEDURE_NAME = [dbo].[dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_QueueActivationSender], MAX_QUEUE_READERS = 1, EXECUTE AS N'dbo');
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Sender_1.sql
1
CREATE SERVICE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Sender]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_Sender];
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_StartMessage_Delete.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/StartMessage/Delete]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_StartMessage_Insert.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/StartMessage/Insert]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_StartMessage_Update.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/StartMessage/Update]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c_TOTAL_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_944aae62-592d-4ec5-8bf1-f77ab027309c/TOTAL_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9.sql
1
CREATE CONTRACT [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9]
2
    AUTHORIZATION [dbo]
3
    ([dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/StartMessage/Insert] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/StartMessage/Update] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/StartMessage/Delete] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/ID] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/PROJECT_NO] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/DOCUMENT_URL] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/DOCUMENT_ID] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/CREATE_DATETIME] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/STATUS] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/TOTAL_PAGE] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/CURRENT_PAGE] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/EXCEPTION] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/END_DATETIME] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/START_DATETIME] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/SERVICE_ID] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/RECONVERTER] SENT BY INITIATOR, [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/EndMessage] SENT BY INITIATOR);
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_CREATE_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/CREATE_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_CURRENT_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/CURRENT_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_DOCUMENT_ID.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/DOCUMENT_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_DOCUMENT_URL.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/DOCUMENT_URL]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_END_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/END_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_EXCEPTION.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/EXCEPTION]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_EndMessage.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/EndMessage]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_ID.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_PROJECT_NO.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/PROJECT_NO]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_RECONVERTER.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/RECONVERTER]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Receiver.sql
1
CREATE QUEUE [dbo].[dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Receiver]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF);
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Receiver_1.sql
1
CREATE SERVICE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Receiver]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Receiver]
4
    ([dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9]);
5

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_SERVICE_ID.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/SERVICE_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_START_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/START_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_STATUS.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/STATUS]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Sender.sql
1
CREATE QUEUE [dbo].[dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Sender]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF), ACTIVATION (STATUS = ON, PROCEDURE_NAME = [dbo].[dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_QueueActivationSender], MAX_QUEUE_READERS = 1, EXECUTE AS N'dbo');
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Sender_1.sql
1
CREATE SERVICE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Sender]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_Sender];
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_StartMessage_Delete.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/StartMessage/Delete]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_StartMessage_Insert.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/StartMessage/Insert]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_StartMessage_Update.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/StartMessage/Update]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9_TOTAL_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_CONVERTER_DOC_e5bc3c55-e96e-4df5-a35d-e4f77131e6b9/TOTAL_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be.sql
1
CREATE CONTRACT [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be]
2
    AUTHORIZATION [dbo]
3
    ([dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/StartDialog/Insert] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/StartDialog/Update] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/StartDialog/Delete] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/ID] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/PROJECT_NO] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/DOCINFO_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/MARKUPINFO_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/CREATE_USER_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/CREATE_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/STATUS] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/TOTAL_PAGE] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/CURRENT_PAGE] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/EXCEPTION] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/END_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/START_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/DOCUMENT_ID] SENT BY INITIATOR);
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_CREATE_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/CREATE_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_CREATE_USER_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/CREATE_USER_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_CURRENT_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/CURRENT_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_DOCINFO_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/DOCINFO_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_DOCUMENT_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/DOCUMENT_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_END_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/END_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_EXCEPTION.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/EXCEPTION]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_MARKUPINFO_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/MARKUPINFO_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_PROJECT_NO.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/PROJECT_NO]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Receiver.sql
1
CREATE QUEUE [dbo].[dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Receiver]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF);
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Receiver_1.sql
1
CREATE SERVICE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Receiver]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Receiver]
4
    ([dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be]);
5

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_START_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/START_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_STATUS.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/STATUS]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Sender.sql
1
CREATE QUEUE [dbo].[dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Sender]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF), ACTIVATION (STATUS = ON, PROCEDURE_NAME = [dbo].[dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_QueueActivationSender], MAX_QUEUE_READERS = 1, EXECUTE AS N'dbo');
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Sender_1.sql
1
CREATE SERVICE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Sender]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_Sender];
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_StartDialog_Delete.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/StartDialog/Delete]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_StartDialog_Insert.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/StartDialog/Insert]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_StartDialog_Update.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/StartDialog/Update]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be_TOTAL_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_1e5156c4-b351-4a22-90a9-739f535798be/TOTAL_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970.sql
1
CREATE CONTRACT [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970]
2
    AUTHORIZATION [dbo]
3
    ([dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/StartDialog/Insert] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/StartDialog/Update] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/StartDialog/Delete] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/ID] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/PROJECT_NO] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/DOCINFO_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/MARKUPINFO_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/CREATE_USER_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/CREATE_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/STATUS] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/TOTAL_PAGE] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/CURRENT_PAGE] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/EXCEPTION] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/END_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/START_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/DOCUMENT_ID] SENT BY INITIATOR);
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_CREATE_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/CREATE_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_CREATE_USER_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/CREATE_USER_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_CURRENT_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/CURRENT_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_DOCINFO_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/DOCINFO_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_DOCUMENT_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/DOCUMENT_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_END_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/END_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_EXCEPTION.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/EXCEPTION]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_MARKUPINFO_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/MARKUPINFO_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_PROJECT_NO.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/PROJECT_NO]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Receiver.sql
1
CREATE QUEUE [dbo].[dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Receiver]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF);
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Receiver_1.sql
1
CREATE SERVICE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Receiver]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Receiver]
4
    ([dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970]);
5

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_START_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/START_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_STATUS.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/STATUS]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Sender.sql
1
CREATE QUEUE [dbo].[dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Sender]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF), ACTIVATION (STATUS = ON, PROCEDURE_NAME = [dbo].[dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_QueueActivationSender], MAX_QUEUE_READERS = 1, EXECUTE AS N'dbo');
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Sender_1.sql
1
CREATE SERVICE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Sender]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_Sender];
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_StartDialog_Delete.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/StartDialog/Delete]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_StartDialog_Insert.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/StartDialog/Insert]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_StartDialog_Update.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/StartDialog/Update]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970_TOTAL_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_5cad5287-96c3-4d18-8568-c6d961728970/TOTAL_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d.sql
1
CREATE CONTRACT [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d]
2
    AUTHORIZATION [dbo]
3
    ([dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/StartMessage/Insert] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/StartMessage/Update] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/StartMessage/Delete] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/ID] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/PROJECT_NO] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/DOCINFO_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/MARKUPINFO_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/CREATE_USER_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/CREATE_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/STATUS] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/TOTAL_PAGE] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/CURRENT_PAGE] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/EXCEPTION] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/END_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/START_DATETIME] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/DOCUMENT_ID] SENT BY INITIATOR, [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/EndMessage] SENT BY INITIATOR);
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_CREATE_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/CREATE_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_CREATE_USER_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/CREATE_USER_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_CURRENT_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/CURRENT_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_DOCINFO_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/DOCINFO_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_DOCUMENT_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/DOCUMENT_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_END_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/END_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_EXCEPTION.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/EXCEPTION]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_EndMessage.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/EndMessage]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_MARKUPINFO_ID.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/MARKUPINFO_ID]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_PROJECT_NO.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/PROJECT_NO]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Receiver.sql
1
CREATE QUEUE [dbo].[dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Receiver]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF);
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Receiver_1.sql
1
CREATE SERVICE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Receiver]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Receiver]
4
    ([dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d]);
5

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_START_DATETIME.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/START_DATETIME]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_STATUS.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/STATUS]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Sender.sql
1
CREATE QUEUE [dbo].[dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Sender]
2
    WITH POISON_MESSAGE_HANDLING(STATUS = OFF), ACTIVATION (STATUS = ON, PROCEDURE_NAME = [dbo].[dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_QueueActivationSender], MAX_QUEUE_READERS = 1, EXECUTE AS N'dbo');
3

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Sender_1.sql
1
CREATE SERVICE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Sender]
2
    AUTHORIZATION [dbo]
3
    ON QUEUE [dbo].[dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_Sender];
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_StartMessage_Delete.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/StartMessage/Delete]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_StartMessage_Insert.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/StartMessage/Insert]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_StartMessage_Update.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/StartMessage/Update]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/Service Broker/dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d_TOTAL_PAGE.sql
1
CREATE MESSAGE TYPE [dbo_FINAL_PDF_65c60513-a23d-4976-8ab7-e63b5d9c643d/TOTAL_PAGE]
2
    AUTHORIZATION [dbo]
3
    VALIDATION = NONE;
4

  
ConvertService/ServiceBase/StationControllerSQL/SignalR/Tables/Messages_0.sql
1
CREATE TABLE [SignalR].[Messages_0] (
2
    [PayloadId]  BIGINT          NOT NULL,
3
    [Payload]    VARBINARY (MAX) NOT NULL,
4
    [InsertedOn] DATETIME        NOT NULL,
5
    PRIMARY KEY CLUSTERED ([PayloadId] ASC)
6
);
7

  
ConvertService/ServiceBase/StationControllerSQL/SignalR/Tables/Messages_0_Id.sql
1
CREATE TABLE [SignalR].[Messages_0_Id] (
2
    [PayloadId] BIGINT NOT NULL,
3
    PRIMARY KEY CLUSTERED ([PayloadId] ASC)
4
);
5

  
ConvertService/ServiceBase/StationControllerSQL/SignalR/Tables/Schema.sql
1
CREATE TABLE [SignalR].[Schema] (
2
    [SchemaVersion] INT NOT NULL,
3
    PRIMARY KEY CLUSTERED ([SchemaVersion] ASC)
4
);
5

  
ConvertService/ServiceBase/StationControllerSQL/StationControllerSQL.sqlproj
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
  <PropertyGroup>
5
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
    <Name>StationControllerSQL</Name>
8
    <SchemaVersion>2.0</SchemaVersion>
9
    <ProjectVersion>4.1</ProjectVersion>
10
    <ProjectGuid>{58c58ddf-311d-4108-a12b-1090c39e718b}</ProjectGuid>
11
    <DSP>Microsoft.Data.Tools.Schema.Sql.Sql140DatabaseSchemaProvider</DSP>
12
    <OutputType>Database</OutputType>
13
    <RootPath>
14
    </RootPath>
15
    <RootNamespace>StationControllerSQL</RootNamespace>
16
    <AssemblyName>StationControllerSQL</AssemblyName>
17
    <ModelCollation>1042,CI</ModelCollation>
18
    <DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure>
19
    <DeployToDatabase>True</DeployToDatabase>
20
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
21
    <TargetLanguage>CS</TargetLanguage>
22
    <AppDesignerFolder>Properties</AppDesignerFolder>
23
    <SqlServerVerification>False</SqlServerVerification>
24
    <IncludeCompositeObjects>True</IncludeCompositeObjects>
25
    <TargetDatabaseSet>True</TargetDatabaseSet>
26
    <DefaultCollation>Korean_Wansung_CI_AS</DefaultCollation>
27
  </PropertyGroup>
28
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29
    <OutputPath>bin\Release\</OutputPath>
30
    <BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
31
    <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
32
    <DebugType>pdbonly</DebugType>
33
    <Optimize>true</Optimize>
34
    <DefineDebug>false</DefineDebug>
35
    <DefineTrace>true</DefineTrace>
36
    <ErrorReport>prompt</ErrorReport>
37
    <WarningLevel>4</WarningLevel>
38
  </PropertyGroup>
39
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
40
    <OutputPath>bin\Debug\</OutputPath>
41
    <BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
42
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
43
    <DebugSymbols>true</DebugSymbols>
44
    <DebugType>full</DebugType>
45
    <Optimize>false</Optimize>
46
    <DefineDebug>true</DefineDebug>
47
    <DefineTrace>true</DefineTrace>
48
    <ErrorReport>prompt</ErrorReport>
49
    <WarningLevel>4</WarningLevel>
50
  </PropertyGroup>
51
  <PropertyGroup>
52
    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
53
    <!-- Default to the v11.0 targets path if the targets file for the current VS version is not found -->
54
    <SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
55
    <VisualStudioVersion Condition="'$(SSDTExists)' == ''">11.0</VisualStudioVersion>
56
  </PropertyGroup>
57
  <Import Condition="'$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
58
  <Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
59
  <ItemGroup>
60
    <Folder Include="Properties" />
61
  </ItemGroup>
62
</Project>
ConvertService/ServiceBase/StationControllerSQL/dbo/Stored Procedures/SELECT_CONVERT_DELETE.sql
1
-- =============================================
2
-- Author:		<Author,,Name>
3
-- Create date: <Create Date,,>
4
-- Description:	<Description,,>
5
-- =============================================
6
CREATE PROCEDURE [dbo].[SELECT_CONVERT_DELETE]  
7
(
8
    @P_ID NVARCHAR(50)          --ID 
9
 --   @P_PROJECT_NO NVARCHAR(10),   --PROJECT NO 
10
	--@P_DOCUMENT_URL NVARCHAR(500),--DOCUMENT ID
11
	--@P_DOCUMENT_ID NVARCHAR(50)  --DOCUMENT ID
12
	--@P_CREATE_DATETIME DATETIME,  --CREATE DATETIME
13
    --@P_STATUS INT null,           --STATUS
14
	--@P_TOTAL_PAGE int null,       --TOTAL_PAGE
15
	--@P_CURRENT_PAGE int null,     --CURRENT_PAGE
16
	--@P_EXCEPTION NVARCHAR(max) null, --EXCEPTION
17
    --@P_END_DATETIME DATETIME null,   --END DATETIME
18
	--@P_START_DATETIME DATETIME null, --START DATETIME
19
	--@P_SERVICE_ID NVARCHAR(50) null, --SERVICE ID
20
	--@P_RECONVERTER int null          --RECONVERTER
21
)
22

  
23
AS
24
BEGIN
25

  
26
SET FMTONLY OFF;
27
SET NOCOUNT ON 
28
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
29

  
30
	Begin
31
	DELETE CONVERTER_DOC WHERE ID = @P_ID
32
	End
33

  
34
RETURN
35

  
36
SET FMTONLY ON;
37
SET NOCOUNT OFF
38
RETURN
39
END;
ConvertService/ServiceBase/StationControllerSQL/dbo/Stored Procedures/SELECT_CONVERT_INSERT.sql
1
-- =============================================
2
-- Author:		<Author,,Name>
3
-- Create date: <Create Date,,>
4
-- Description:	<Description,,>
5
-- =============================================
6
CREATE PROCEDURE [dbo].[SELECT_CONVERT_INSERT]  
7
(
8
    @P_ID NVARCHAR(50),          --ID 
9
    @P_PROJECT_NO NVARCHAR(10),   --PROJECT NO 
10
	@P_DOCUMENT_URL NVARCHAR(500),--DOCUMENT ID
11
	@P_DOCUMENT_ID NVARCHAR(50)  --DOCUMENT ID
12
	--@P_CREATE_DATETIME DATETIME,  --CREATE DATETIME
13
    --@P_STATUS INT null,           --STATUS
14
	--@P_TOTAL_PAGE int null,       --TOTAL_PAGE
15
	--@P_CURRENT_PAGE int null,     --CURRENT_PAGE
16
	--@P_EXCEPTION NVARCHAR(max) null, --EXCEPTION
17
    --@P_END_DATETIME DATETIME null,   --END DATETIME
18
	--@P_START_DATETIME DATETIME null, --START DATETIME
19
	--@P_SERVICE_ID NVARCHAR(50) null, --SERVICE ID
20
	--@P_RECONVERTER int null          --RECONVERTER
21
)
22

  
23
AS
24
BEGIN
25

  
26
SET FMTONLY OFF;
27
SET NOCOUNT ON 
28
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
29

  
30
	Begin
31
	INSERT INTO CONVERTER_DOC VALUES (@P_ID, @P_PROJECT_NO, @P_DOCUMENT_URL, @P_DOCUMENT_ID, GETDATE(), 0, 0, 0, null, null, null, null, 0, 0)
32
	End
33

  
34
RETURN
35

  
36
SET FMTONLY ON;
37
SET NOCOUNT OFF
38
RETURN
39
END;
ConvertService/ServiceBase/StationControllerSQL/dbo/Stored Procedures/SELECT_CONVERT_ITEM.sql
1
CREATE PROCEDURE [dbo].[SELECT_CONVERT_ITEM]
2
(
3
    @P_ID NVARCHAR(50),
4
    @P_PROJECT_NO NVARCHAR(10),--PROJECT NO
5
	@P_DOCUMENT_ID NVARCHAR(10),--DOCUMENT ID
6
    @P_STATUS INT  = NULL,              --STATUS
7
	@P_TAKE_COUNT INT = NULL,          --Select Item Count
8

  
9
	@P_BEGIN_CREATE_DATETIME DATETIME = NULL,--CREATE DATETIME
10
	@P_FINISH_CREATE_DATETIME DATETIME = NULL,--CREATE DATETIME  
11
	
12
	@P_BEGIN_START_DATETIE DATETIME  = NULL, --START DATETIME
13
	@P_FINISH_START_DATETIME DATETIME = NULL, --START DATETIME
14

  
15
	@P_BEGIN_END_DATETIME DATETIME = NULL, -- END DATETIME
16
	@P_FINISH_END_DATETIME DATETIME = NULL, --END DATETIME
17

  
18
	@P_GROUP_NO NVARCHAR(10),   --GROUP NO
19
	@P_DOCUMENT_NAME NVARCHAR(500),--DOCUMENT NAME
20
	@P_DOCUMENT_NO NVARCHAR(50),--DOCUMENT NO
21
	@P_REVISION NVARCHAR(10),    --REVISON
22

  
23
	@P_SERVICE_ID NVARCHAR(50),
24
	@P_RECONVERTER int,
25

  
26
	@P_DOCUMENT_URL NVARCHAR(500)
27

  
28
	--@P_PROPERTIES_TYPE NVARCHAR(50),
29
	--@P_PROPERTIES_PROPERTY NVARCHAR(100)
30
	--@P_PROPERTIES_VALUE NVARCHAR(max)
31
)
32

  
33
/* test
34

  
35
USE [markus]
36
GO
37

  
38
DECLARE	@return_value int
39

  
40
EXEC	@return_value = [dbo].[SELECT_CONVERT_ITEM]
41
		@P_PROJECT_NO = N'000000',
42
		@P_STATUS = 1,
43
		@P_TAKE_COUNT = 12
44

  
45
SELECT	'Return Value' = @return_value
46

  
47
GO
48
*/
49

  
50
AS
51
BEGIN
52

  
53
SET FMTONLY OFF;
54
SET NOCOUNT ON 
55
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
56

  
57
	DECLARE @sqlCommand NVARCHAR(MAX)
58
	DECLARE @WhereCommand NVARCHAR(MAX)
59
	
60
	create table #temp
61
	(
62
		ID nvarchar(50) not null,
63
		PROJECT_NO nvarchar(10) not null,
64
		DOCUMENT_URL nvarchar(500) not null,
65
		DOCUMENT_ID nvarchar(50) not null,
66
		CREATE_DATETIME datetime not null,
67
		STATUS int not null,
68
		TOTAL_PAGE int not null,
69
		CURRENT_PAGE int not null,
70
		EXCEPTION nvarchar(max) null,
71
		END_DATETIME datetime null,
72
		START_DATETIME datetime null,
73
		SERVICE_ID varchar(50) null,
74
		RECONVERTER int null,
75
		REVISION nvarchar(50) null,
76
		DOCUMENT_NO nvarchar(50) null,
77
		DOCUMENT_NAME nvarchar(500) null,
78
		GROUP_NO nvarchar(50) null,
79
		RESULT_FILE nvarchar(500) null,
80
		RESULT nvarchar(50) null,
81
		PROPERTIES_VALUE NVARCHAR(max),
82
		CONVERT_PATH  NVARCHAR(max),
83
		CONVERT_COUNT INT
84
	)
85

  
86

  
87
	SET @sqlCommand =''
88
	SET @WhereCommand = ''
89

  
90
	-- TAKE COUNT
91
	IF @P_TAKE_COUNT > 0
92
		BEGIN
93
			SET @sqlCommand = 'SELECT TOP(' + CAST(@P_TAKE_COUNT AS varchar(10)) + ')'
94
		END
95
	ELSE
96
		BEGIN
97
			SET @sqlCommand = 'SELECT '
98
		END
99

  
100
		/*
101
		SELECT  TOP (200) CONVERTER_DOC.*, DOCUMENT_ITEM.REVISION, DOCUMENT_ITEM.DOCUMENT_NO, DOCUMENT_ITEM.DOCUMENT_NAME, DOCUMENT_ITEM.GROUP_NO, 
102
               DOCUMENT_ITEM.RESULT_FILE, DOCUMENT_ITEM.RESULT
103
         FROM     CONVERTER_DOC LEFT OUTER JOIN
104
     DOCUMENT_ITEM ON CONVERTER_DOC.DOCUMENT_ID = DOCUMENT_ITEM.DOCUMENT_ID AND CONVERTER_DOC.PROJECT_NO = DOCUMENT_ITEM.PROJECT_NO
105

  
106
	 -- 필터 조건
107
	 [CONVERTER_DOC].[PROJECT_NO]
108
	 [CONVERTER_DOC].[DOCUMENT_ID]
109
	 [CONVERTER_DOC].[STATUS]
110
	 [CONVERTER_DOC].[CREATE_DATETIME]
111

  
112
	 [DOCUMENT_ITEM].[GROUP_NO]
113
	 [DOCUMENT_ITEM].[DOCUMENT_NAME]
114
	 [DOCUMENT_ITEM].[DOCUMENT_NO]
115
	 [DOCUMENT_ITEM].[REVISION]
116
 */
117
	-- 기본 쿼리
118
	SET @sqlCommand =  @sqlCommand +
119
	            '[CONVERTER_DOC].[ID] as ID
120
				,[CONVERTER_DOC].[PROJECT_NO] as PROJECT_NO
121
				,[CONVERTER_DOC].[DOCUMENT_URL] as DOCUMENT_URL
122
				,[CONVERTER_DOC].[DOCUMENT_ID] as DOCUMENT_ID
123
				,[CONVERTER_DOC].[CREATE_DATETIME] as CREATE_DATETIME
124
				,[CONVERTER_DOC].[STATUS] as STATUS
125
				,[CONVERTER_DOC].[TOTAL_PAGE] as TOTAL_PAGE
126
				,[CONVERTER_DOC].[CURRENT_PAGE] as CURRENT_PAGE
127
				,[CONVERTER_DOC].[EXCEPTION] as EXCEPTION
128
				,[CONVERTER_DOC].[END_DATETIME] as END_DATETIME
129
				,[CONVERTER_DOC].[START_DATETIME] as START_DATETIME
130
				,[CONVERTER_DOC].[SERVICE_ID] as SERVICE_ID
131
				,[CONVERTER_DOC].[RECONVERTER] as RECONVERTER
132
				,[DOCUMENT_ITEM].[REVISION] as REVISION
133
				,[DOCUMENT_ITEM].[DOCUMENT_NO] as DOCUMENT_NO
134
				,[DOCUMENT_ITEM].[DOCUMENT_NAME] as DOCUMENT_NAME
135
				,[DOCUMENT_ITEM].[GROUP_NO] as GROUP_NO
136
				,[DOCUMENT_ITEM].[RESULT_FILE] as RESULT_FILE
137
				,[DOCUMENT_ITEM].[RESULT] as RESULT
138
				,[PROPERTIES].[VALUE] as PROPERTIES_VALUE
139
				,([PROPERTIES].[VALUE] + ''\'' + [CONVERTER_DOC].[PROJECT_NO] + ''_Tile\'' + CAST([CONVERTER_DOC].[DOCUMENT_ID] / 100 AS nvarchar(50)) + ''\'' + [CONVERTER_DOC].[DOCUMENT_ID]) as CONVERT_PATH
140
				,[CONVERTER_DOC].[CONVERT_COUNT] as CONVERT_COUNT
141
				FROM [CONVERTER_DOC] 
142
				LEFT OUTER JOIN [DOCUMENT_ITEM] ON [CONVERTER_DOC].[DOCUMENT_ID] = [DOCUMENT_ITEM].[DOCUMENT_ID] AND [CONVERTER_DOC].[PROJECT_NO] = [DOCUMENT_ITEM].[PROJECT_NO]
143
				LEFT OUTER JOIN [PROPERTIES] ON [CONVERTER_DOC].[PROJECT_NO] = [PROPERTIES].[PROPERTY] AND [PROPERTIES].[TYPE]  =  ''FinalPDFStorageRemote''
144
				WHERE '
145

  
146
				--G:\TileSource\OL1_Tile\198\19833
147
PRINT @sqlCommand;
148

  
149
     -- PROJECT NO
150
		IF @P_ID IS not NULL
151
		BEGIN
152
		  SET @WhereCommand = @WhereCommand + '[CONVERTER_DOC].[ID] = ''' + @P_ID +''''
153
		END
154

  
155
		-- id
156
	IF @P_PROJECT_NO IS NOT NULL
157
		BEGIN
158
			IF @WhereCommand != ''
159
			BEGIN
160
			 SET @WhereCommand = @WhereCommand + ' AND '
161
			end
162
		SET @WhereCommand = @WhereCommand + '[CONVERTER_DOC].[PROJECT_NO] = ''' + @P_PROJECT_NO + ''''
163
		END
164

  
165
	-- document id
166
	IF @P_DOCUMENT_ID IS NOT NULL
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)