今天老大让我录入一大批数据,我的第一个想法就是用inser来一条条插入,或者用C#代码读取Excel然后再插入到数据库,经过老大的介绍。我才知道,还有用sql脚本导入数据的方法。呵呵,真的是长知识了。其实代码很简单BULK INSERT cartemp FROM 'd:\1.txt'WITH(FIE...
分类:
数据库 时间:
2014-07-16 19:27:57
阅读次数:
478
分别以两个(带头结点的)循环有序链表表示集合A和B,完成这两个集合并集的操作:代码如下:#includetypedef struct LNode { int data ; struct LNode *next ;}LNode , *LinkList ;void union_OL(L...
分类:
其他好文 时间:
2014-07-16 19:26:37
阅读次数:
211
There are several ways to delete elements from a list. If you know the index of the element you want, you can use pop: pop modifies the list...
分类:
其他好文 时间:
2014-07-16 19:26:12
阅读次数:
189
The slice operator can take a third argument that determines the step size, so t[::2] creates a list that contains every other element from t. If the ...
分类:
其他好文 时间:
2014-07-15 09:12:42
阅读次数:
328
帕波斯(Pappus of Alexandria) 生于亚历山大,活跃于公元300—350前后.该螺线是一种绕在圆锥上的曲线.#http://www.mathcurve.com/courbes3d/spiraleconic/pappus.shtmlvertices = 12000t = from (...
分类:
移动开发 时间:
2014-07-13 19:57:15
阅读次数:
243
Android is designed to run on many different types of devices, from phones to tablets and televisions. As a developer, the range of devices provide...
分类:
移动开发 时间:
2014-07-13 19:49:24
阅读次数:
300
BACKGROUNDMany algorithms on a graphics processing unit (GPU) may benefit from doing a query in a hierarchical tree structure (including quad-trees, o...
分类:
其他好文 时间:
2014-07-13 19:47:28
阅读次数:
289
create database data_Test --创建数据库data_Test GO use data_Test GO create table tb_TestTable --创建表 ( id int identity(1,1) primary key, userName nvarchar(2...
分类:
其他好文 时间:
2014-07-13 19:11:16
阅读次数:
292
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
A checksum is an algorithm that scans a packet of data and returns a single numb...
分类:
其他好文 时间:
2014-07-13 18:47:10
阅读次数:
219
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Adapted from Wikipedia, the free encyclopedia
The humidex is a measurement used...
分类:
其他好文 时间:
2014-07-13 18:00:41
阅读次数:
340