<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    alter proc Proc_UpdateInfomation(@C_ID varchar(50),@State int output)
    as
    begin
    declare @Tran varchar(50)
    set @State=0
    begin tran @Tran
    delete from companyinfo where C_ID=@C_ID
    if @@error<>0 or @@rowcount>1
    begin
    rollback tran @Tran
    set @State=0
    end
    delete from EnterpriseContent where C_ID=@C_ID
    if @@error<>0 or @@rowcount>1
    begin
    rollback tran @Tran
    set @State=0
    end
    insert into companyinfo([C_ID],[CompanyName],[GenderID],[Introduce],[LogoPath],[CompanyPath],[PurchaseProduct],[MainProduct],[DealType],[CompanyType],[Sort],[SortOrder],[regMoney],[regTime],[regPlace],[CompanyAdderss],[FoundTime],[PPerson],[PSex],[PDept],[PDuty],[PAddress],[PZip],[PTel],[PEmail],[PPhone],[PMobile],[PFax],[PQQ],[PMSN],[PWebSite],[KeyWord],[KeyStartTime],[KeyEndTime],[AddTime],[Scores],[Award],[IsPass],[PassTime],[PassAdmin],[OpenedMonth],[IsPayment],[isdelete]) select [C_ID],[CompanyName],[GenderID],[Introduce],[LogoPath],[CompanyPath],[PurchaseProduct],[MainProduct],[DealType],[CompanyType],[Sort],[SortOrder],[regMoney],[regTime],[regPlace],[CompanyAdderss],[FoundTime],[PPerson],[PSex],[PDept],[PDuty],[PAddress],[PZip],[PTel],[PEmail],[PPhone],[PMobile],[PFax],[PQQ],[PMSN],[PWebSite],[KeyWord],[KeyStartTime],[KeyEndTime],[AddTime],[Scores],[Award],[IsPass],[PassTime],[PassAdmin],[OpenedMonth],[IsPayment],[isdelete] from UpdateCompanyInfo where C_ID=@C_ID
    if @@error<>0 or @@rowcount>1
    begin
    rollback tran @Tran
    set @State=0
    end
    insert into EnterpriseContent([C_ID],[LegalPerson],[DeveloperNum],[WorkerNum],[InCome],[MainMarket],[MainPlace],[IsOem],[PlantArea],[BrandName],[Turnover],[Import],[Export],[QualityControl],[ManagementSystem],[OurBank],[BankAccount]) select [C_ID],[LegalPerson],[DeveloperNum],[WorkerNum],[InCome],[MainMarket],[MainPlace],[IsOem],[PlantArea],[BrandName],[Turnover],[Import],[Export],[QualityControl],[ManagementSystem],[OurBank],[BankAccount] from UpdateCompanyInfo where C_ID=@C_ID
    if @@error<>0 or @@rowcount>1
    begin
    rollback tran @Tran
    set @State=0
    end
    delete from UpdateCompanyInfo where C_ID=@C_ID
    if @@error<>0 or @@rowcount>1
    begin
    rollback tran @Tran
    set @State=0
    end
    if @@error=0 and @@rowcount>0
    begin
    commit tran @Tran
    set @State=1
    end
    else
    begin
    rollback tran @Tran
    set @State=0
    end
    end
    go
    文章來源:http://www.cnblogs.com/wangdetian168/archive/2008/06/25/1230026.html
    posted on 2010-09-28 11:00 sanmao 閱讀(139) 評(píng)論(0)  編輯  收藏

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     

    常用鏈接

    留言簿(5)

    隨筆分類

    隨筆檔案

    搜索

    •  

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 久久精品国产免费一区| aa午夜免费剧场| 黄色一级视频免费| 成人免费av一区二区三区| 免费人成在线观看网站| 中文字幕乱码免费视频| 欧洲美熟女乱又伦免费视频| 可以免费观看一级毛片黄a| 国产偷国产偷亚洲清高动态图| 亚洲综合久久综合激情久久| 97se亚洲国产综合自在线| 黄色a三级免费看| 一级毛片免费不卡在线| 国产在线国偷精品产拍免费| 成人亚洲综合天堂| 亚洲AV无码久久精品成人| 亚洲av永久无码嘿嘿嘿| 四虎影视在线看免费观看| 无码人妻一区二区三区免费看| 成人a视频片在线观看免费| 久久精品国产精品亚洲人人 | 日本午夜免费福利视频| 中文字幕亚洲一区| 亚洲AV无码乱码在线观看代蜜桃| 无码精品人妻一区二区三区免费| 一区二区免费视频| 手机看片久久国产免费| 亚洲国产成人片在线观看无码| 亚洲综合激情五月色一区| 中文字幕永久免费| 嫩草视频在线免费观看| 亚洲国产精品一区二区第一页| 亚洲精品久久无码| 四虎影视成人永久免费观看视频| 免费看a级黄色片| 亚洲狠狠综合久久| 极品美女一级毛片免费| 国产a视频精品免费观看| 国产亚洲精午夜久久久久久| 亚洲中文字幕无码爆乳| 国产精品免费AV片在线观看|