You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
882 B
Transact-SQL
43 lines
882 B
Transact-SQL
/****** Object: View [dbo].[vMsTruckClient] Script Date: 03/28/2014 10:16:38 ******/
|
|
IF EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[vMsTruckClient]'))
|
|
DROP VIEW [dbo].[vMsTruckClient]
|
|
GO
|
|
|
|
/****** Object: View [dbo].[vMsTruckClient] Script Date: 03/28/2014 10:16:38 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
|
|
CREATE VIEW [dbo].[vMsTruckClient]
|
|
AS
|
|
SELECT Gid, CODENAME as CustCode,SHORTNAME as CustName,CODENAME+'-'+SHORTNAME as CodeAndName,
|
|
[ISCARRIER]
|
|
,[ISBOOKING]
|
|
,[ISYARD]
|
|
,[ISTRUCK]
|
|
,[ISCONTROLLER]
|
|
,[ISCUSTOM]
|
|
,[ISAGENT]
|
|
,[ISAGENTCN]
|
|
,[ISEXPRESS]
|
|
,[ISAIRLINES]
|
|
,[ISSHIPPER]
|
|
,[ISCONSIGNEE]
|
|
,[ISNOTIFYPARTY]
|
|
,[ISWAREHOUSE]
|
|
,[ISOTHER]
|
|
,BillRises1--·¢Æ±Ì§Í·
|
|
,[unitprice]
|
|
,[description]
|
|
FROM dbo.info_client
|
|
|
|
|
|
|
|
|
|
GO
|
|
|
|
|