[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
注意这篇博客主要讲解SQL
server2012使用时的错误,一般的错误出现就是你选择建立的Excel或者Access文件不是2003版本的,只需要在保存文件时选择文件默认格式就行,如果不会就请认真阅读下面的文章
数据导入
右击数据库
在任务中选择导入数据
1/选择数据源,如果是数据库本身可能要手动输入,数据库也需要选择
选择Excel和Access它会自动选择,但是也要手动输入
黄色钥匙是Access,蓝色X是Excel
注意,这里选择的文件类型必须是与版本匹配的,SQL sever2012中应该是Excel2013
选择文件后一直"下一步"
选择文件后面以$结尾的文件
继续下一步,最后点击完成。
Access文件与Excel相似。
数据导出
右击数据库
在任务栏中选择导入数据
建议看第一张图。
注意数据导出是最容易出错的一下我们将举例说明
Access建表需要选择以‘.mdb’结尾的文件,因为Access从2007版本后变成以‘.accdb’结尾
Excel文件创建
选择‘‘.xls’’结尾的,因为‘.xlsx结尾的也是新版本
数据导出过程注意事项
选择出错是‘’忽略‘’这一点很重要尤其是当你使用家庭版的office,这里建议如果是家庭版的请换位专业版,一般大学官网里有,或者找盗版。不然特别容易出错。