SQL 教程
http://www.w3school.com.cn/sql/index.asp
使用游标循环进行SQL更新插入的SQL语句
http://database.51cto.com/art/201009/226986.htm
http://blog.sina.com.cn/s/blog_48b5f8270100lq9y.html