SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
ALTER view [dbo].[v_udb_extract_contract]
as
select
'I' as inp_source_code
,LS_MASTER.CONTRACT_NO as contract_id
,LS_BILLING.REMIT_TO as remit_to_cd
,LS_AADDR.AR_NAME as customer_name
,LS_AADDR.AR_CITY as ar_city
,LS_AADDR.AR_STATE as ar_state
,LS_AADDR.AR_ZIP...