批量添加数据 一个一个的黏贴就out了,借助微软的excel,功能还是很强大的

1 篇文章 0 订阅

<a href="http://www.baidu.com" target="-blank">百度</a>

比如批量添加  只有两列数  怎么插入?一条一条的改么?

update SceneAgentTree set EarlyCount='9 '  where SceneId='2 '
update SceneAgentTree set EarlyCount='1 '  where SceneId='3 '
update SceneAgentTree set EarlyCount='67 '  where SceneId='4 '
update SceneAgentTree set EarlyCount='4 '  where SceneId='7 '
update SceneAgentTree set EarlyCount='69 '  where SceneId='1 '
update SceneAgentTree set EarlyCount='0 '  where SceneId='9 '
update SceneAgentTree set EarlyCount='41 '  where SceneId='31 '
update SceneAgentTree set EarlyCount='63 '  where SceneId='32 '
update SceneAgentTree set EarlyCount='67 '  where SceneId='33 '
update SceneAgentTree set EarlyCount='108 '  where SceneId='34 '
update SceneAgentTree set EarlyCount='109 '  where SceneId='35 '
update SceneAgentTree set EarlyCount='45 '  where SceneId='36 '
update SceneAgentTree set EarlyCount='12 '  where SceneId='37 '
update SceneAgentTree set EarlyCount='16 '  where SceneId='38 '
update SceneAgentTree set EarlyCount='105 '  where SceneId='39 

’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’

、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、

突然想到了拼接字符串,可是怎么拼接啊 ,

想啊想,记得曾经用过excell拼接过,对就是它了,

把方法列下来,以后可以用到,希望也帮的到你


有时在使用Excel过程中,需要把两个或多个单元格的文本进行连接,从而组成一个新的字符串。

方法1: 使用CONCATENATE函数

        =CONCATENATE(A1,A2,A3,A4)


方法2:使用&运算符

    在A10单元格中输入公式:

    =A1&A2&A3&A4

    在连接字符串的操作中,使用&运算符的方法既简洁又方便,而使用CONCATENATE函数在输入时就显得有些烦琐。在此推荐大家使用&运算符。




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值