|
查看: 1902|回复: 4
|
如何將notepad/wordpad裏的data store進database?
[复制链接]
|
|
|
如題
我是新手,很多都不會
不一定要用到notepad/wordpad,可以介紹一些file format嗎?
用到html/php,要如何才可做到呢?
請大家幫幫忙,謝謝
[ 本帖最后由 CP9 于 7-6-2009 03:34 PM 编辑 ] |
|
|
|
|
|
|
|
|
|
|
发表于 8-6-2009 05:44 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 10-6-2009 08:22 AM
|
显示全部楼层
pls see below
[ 本帖最后由 数据库专区 于 10-6-2009 08:27 AM 编辑 ] |
|
|
|
|
|
|
|
|
|
|
发表于 10-6-2009 08:25 AM
|
显示全部楼层
use Excel to create SQL statement, for example, enter your data (i.e. A1 and B1) into Excel worksheet, use another column (D1 here) to create the SQL statement which refer to the A1 and B1, then AutoFill the D1 until D999, assumed you have 999 rows of data in A1 and B1.
A1 B1 C1 D1
ibm International Business Machine ="insert into table1 (id,name) values ('" & A1 & "','" & B1 & "';" |
|
|
|
|
|
|
|
|
|
|
发表于 18-6-2009 11:49 PM
|
显示全部楼层
|
so.. what database you have? |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|