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.
DS7/DSWeb/word/天津中物储_设计文档/客户信息视图.sql

43 lines
882 B
MySQL

2 years ago
/****** 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--<EFBFBD><EFBFBD>Ʊ̧ͷ
,[unitprice]
,[description]
FROM dbo.info_client
GO