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

推荐订阅源

罗磊的独立博客
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
A
About on SuperTechFans
Martin Fowler
Martin Fowler
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
D
DataBreaches.Net
B
Blog
博客园 - 【当耐特】
爱范儿
爱范儿
有赞技术团队
有赞技术团队
P
Proofpoint News Feed
WordPress大学
WordPress大学
小众软件
小众软件
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
Microsoft Azure Blog
Microsoft Azure Blog
雷峰网
雷峰网
量子位
G
Google Developers Blog

博客园 - ant520

GNS3的使用2 SecureCRT 应用 sql 2000 修复问题 GNS3的使用 虚拟机-文件 无法显示隐藏文件的解决方法 看QQ是否在线 百度地图指南 配置静态路由使用出站接口和下一跳IP的差别 如何计算冲突域和广播域-图解分析 240多个jQuery插件 C#中使用SQLite数据库 Visual studio 配置文件下载 SQL2000 安装,挂起 委托/事件 在口上打对钩√ DataTab转换XML XML转换DataTable 的类[转] excel 2003系列 全角转半角与半角转全角
sql 知识摘录
ant520 · 2011-12-26 · via 博客园 - ant520

没事,看看sql,

BULK   INSERT 

CREATE TABLE [dbo].[course](
 [id] [int] NULL,
 [name] [nvarchar](50) NULL,
 [CourseType] [nvarchar](50) NULL,
 [Course] [float] NULL
)

  导入数据:

将下面的数据存储为文本文件或SQL文件

2,李刚,语文,89;3,李刚,数学,79;3,李刚,英语,69;4,李刚,化学,89

导入语句:

BULK   INSERT    dbo.course
      FROM   'd:\course.txt ' 
      WITH   
            ( 
                  FIELDTERMINATOR   =   ','
                  ROWTERMINATOR   =   ';' 
            )