zoukankan      html  css  js  c++  java
  • excel导入记录

    use DangJian
    SELECT vale1, value2 into Table2 from Table1

    select COUNT(*) from tmpdangyuan where 手机号 in (select phone from T_YEWU_User)

    select COUNT(1) from T_YEWU_User

    delete from tmpyexf where phone in (select phone from T_YEWU_User)

    --ELECT vale1, value2 into Table2 from Table1

    insert into T_YEWU_User
    (Name , Phone,Password,Sex ,Type ,IsBind ,IsDelete ,IsTransfer,SystemID,Dues, Balance ,IsAdmin,[IsLeave],[AutoMoney] ,[Birthday],[JoinTime],[RegularTime])
    select

    name, phone,'123456',1, 1,0 ,0 ,1 ,systemid ,0 ,0 ,0,0,0 ,'1947-08-23 00:00:00.000', '1967-07-01 00:00:00.000' , '1968-07-01 00:00:00.000'

    from tmpyexf



    select COUNT(1) from dbo.T_YEWU_User


    select top 50 convert(varchar(20),convert(decimal(18,0),手机号)) from tmpdangyuan

    update tmpdangyuan set phone =FLOOR(手机号)

    update tmpdangyuan set tmpphone='a'+convert(varchar(20),FLOOR(手机号))

    SELECT FLOOR(手机号)

    select 'a'+convert(varchar(20),FLOOR(13656875943.00))

    insert into tmpyexf ( phone,name,number) select convert(varchar(20),convert(decimal(18,0),手机号)),姓名, convert(varchar(20),convert(decimal(18,0),组织编码))
    from tmpdangyuan

    delete from tmpyexf


    select * from tmpdangyuan

    update tmpdangyuan set tmpphone=0, phone=''

    select convert(varchar(20),convert(decimal(18,0),手机号)) as phone from tmpdangyuan

    select CAST(手机号 as decimal) from tmpdangyuan




    select top 116602 * from tmpdangyuan where phone =1.36148317581395E+20

    delete from tmpdangyuan where 手机号=1.39589719053806E+20

    select * from tmpdangyuan where 手机号=1.83587971121835E+21

  • 相关阅读:
    HDFS Maintenance State
    HDFS Maintenance State
    HDFS“慢节点”监控分析功能
    Confluence 6 找到你的支持识别代码(SEN)
    Confluence 6 降级你的许可证
    Confluence 6 增加和减少你许可证的用户数
    Confluence 6 理解你许可证的用户数
    Confluence 6 升级你的许可证
    Confluence 6 查看你的许可证细节
    Confluence 6 管理你的 Confluence 许可证
  • 原文地址:https://www.cnblogs.com/wzyexf/p/4972373.html
Copyright © 2011-2022 走看看