• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
素蔓、无暇至永恒
承诺总是那么不堪一击~
博客园    首页    新随笔    联系   管理    订阅  订阅
2012年12月14日
sql 临时表循环更新月租金
摘要: declare @pt_Year intdeclare @pt_Month intdeclare @pt_Day intdeclare @pt_MonthCount int--得到二个日期的年份declare @pt_table table(InfoId bigint identity(1,1),ContractCode varchar(100),RendStartDate datetime ,RendEndDate datetime ,TotalAmount money)insert into @pt_tableselect ContractCode,RendStartDate,RendE. 阅读全文
posted @ 2012-12-14 14:59 pain1033 阅读(536) 评论(0) 推荐(0)
Sql datetime类型数据默认1900
摘要: alter procedure Asset_sspExcuteTicket( @pi_Action varchar(200), @pi_TicketMoney3 money, @pi_CompanyNote varchar(50), @pi_ContractCode varchar(50), @pi_TicketType2 varchar(50), @pi_TicketMoney money, @pi_InfoId bigint, @pi_TicketType3 varchar(50), @pi_TicketMoney1 money, @pi_TicketMoney4 money, @pi_T 阅读全文
posted @ 2012-12-14 09:14 pain1033 阅读(1166) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3