首页 > 数据库技术 > 详细

Sql全局变量

时间:2014-02-20 09:56:40      阅读:508      评论:0      收藏:0      [点我收藏+]
strValue = Replace(strValue.ToUpper, "$G_SITE", sysParams(0))   ‘公司
 strValue = Replace(strValue.ToUpper, "$G_HS", sysParams(5))     ‘核算体系
 strValue = Replace(strValue.ToUpper, "$G_USER_NAME", G_USER_NAME)   ‘用户
 strValue = Replace(strValue.ToUpper, "$G_USER", sysParams(1))   ‘用户
 strValue = Replace(strValue.ToUpper, "$G_YEAR", Microsoft.VisualBasic.Format(CDate(G_Main.BasicDataDS.Tables("ServerDate").Rows(0).Item(0).ToString), "yyyy"))
 strValue = Replace(strValue.ToUpper, "$G_MONTH", CInt(Microsoft.VisualBasic.Format(CDate(G_Main.BasicDataDS.Tables("ServerDate").Rows(0).Item(0).ToString), "dd")))
     strValue = Replace(strValue.ToUpper, "$G_BILL_ID", BillID)       ‘单据ID
     strValue = Replace(strValue.ToUpper, "$G_DEL_VALUE", DelValue)       ‘删除值


Sql全局变量

原文:http://iderun.blog.51cto.com/6445088/1360749

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!