declare @C_ID varchar(36)
          set @C_ID='4d2c77ef---------'
          declare @N_ID varchar(36)
          set @N_ID='4d2c77ef'
          declare @N_TITLE varchar(36)
          set @N_TITLE='4d2c77ef'
          declare @N_SORT int
          set @N_SORT=1
          declare @N_CONTENT varchar(36)
          set @N_CONTENT='4d2c77ef'
          if exists(select 1 from Dynamicnews where N_ID=@N_ID) begin update Dynamicnews set [N_TITLE]=@N_TITLE,[N_CONTENT]=@N_CONTENT,[N_SORT]=@N_SORT where N_ID=@N_ID end else begin insert into Dynamicnews([C_ID],[N_TITLE],[N_CONTENT],[N_SORT]) values(@C_ID,@N_TITLE,@N_CONTENT,@N_SORT) end
          posted on 2009-04-08 17:32 sanmao 閱讀(120) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 上杭县| 彰化县| 金沙县| 辽宁省| 申扎县| 应城市| 安福县| 宣城市| 顺昌县| 汽车| 上林县| 襄汾县| 宁波市| 鹤壁市| 尼玛县| 宣武区| 邵武市| 德兴市| 尉氏县| 舟山市| 资溪县| 池州市| 长宁区| 博罗县| 镇江市| 大城县| 华亭县| 汽车| 灵山县| 全椒县| 陇西县| 孟州市| 华池县| 东乡县| 延川县| 上栗县| 株洲市| 民乐县| 太仆寺旗| 互助| 阳新县|