memberview-会员充值记录视图.sql 1.2 KB

1234567891011121314151617181920
  1. USE [db]
  2. GO
  3. /****** 对象: View [dbo].[memberview] 脚本日期: 06/28/2014 10:59:17 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. ALTER VIEW [dbo].[memberview] AS SELECT
  9. dbo.membermanage.name, /* 会员姓名 */
  10. dbo.memberreg3.memberno, /* 充值的会员卡号 */
  11. dbo.memberreg3.money, /* 充值金额 */
  12. dbo.memberreg3.date, /* 充值日期 */
  13. dbo.memberreg3.clerk, /* 经手人 */
  14. dbo.memberreg3.id, /* 充值记录id */
  15. dbo.memberreg3.financecheck, /* 财务审核 */
  16. dbo.memberreg3.moneytype, /* 支付方式 */
  17. dbo.memberreg3.time /* 充值时间 */
  18. FROM dbo.memberreg3 INNER JOIN
  19. dbo.membermanage ON
  20. dbo.memberreg3.memberno = dbo.membermanage.memberno