惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
C
Check Point Blog
博客园 - 聂微东
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
U
Unit 42
WordPress大学
WordPress大学
B
Blog
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
D
DataBreaches.Net
G
Google Developers Blog
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家

博客园 - 叶晓丰

2342432432 list2json C#将Json字符串反序列化成List对象类集合 list排序 MSSQL自动备份数据库 IIS 7完全攻略之日志记录配置(摘自网络) 今天开始57商城开发 sSELECT INTO 和 INSERT INTO SELECT记录 网站性能优化之缓存篇 通过Web Services上传和下载文件 jquery.tablesorter - 叶晓丰 - 博客园 把image转换为byte[] 基于wcf的异步上传 - 叶晓丰 - 博客园 .net 获取目录uri |虚拟目录 ajax开源网址 jQuery图片滚动十佳插件重点介绍 jqery正规表达式 - 叶晓丰 - 博客园 jqery插件资源 弹出窗体
excel导入记录
叶晓丰 · 2015-11-17 · via 博客园 - 叶晓丰

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