当前位置:网站首页>14、 Two methods of database export and import
14、 Two methods of database export and import
2022-07-07 23:10:00 【Beyond proverb】
One 、 With SQL Script format export ( recommend )
export
Right click the database to export , Mission —> Generation script 
next step 
Select the database to export , next step 
The content shall be modified as required , There is no need to go directly to the next step 
Check surface 
Check the table in the database to be exported 
Select the path and name of the script to save 
complete 
close 
Open the location where the script is located 

Import
The first line of the script USE [fiber_yy]
So we need to manually create a file named fiber_yy The database of 
Click on New query choice fiber_yy database 
Copy all the script contents 
After clicking on perform 
You can see fiber_yy There are all the tables in the database
Two 、 With mdb File format export
export


C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA
Copy these two files
For example, I copied to G Inside the plate 
Import

Find the location of the database 


The permissions of these two files need to be modified
Right click .mdf file attribute 
If the report is wrong , You need to assign permissions to the parent folder
How to put it? , It is recommended to store it in C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA Under the path
Because this is Microsoft SQL Server Where the database is stored , Therefore, it has authority , There is no need to modify anything 
Just i You can import the database 
边栏推荐
- Early childhood education industry of "screwing bar": trillion market, difficult to be a giant
- Qt Graphicsview图形视图使用总结附流程图开发案例雏形
- 一次搞明白 Session、Cookie、Token,面试问题全稿定
- Guessing game (read data from file)
- [record of question brushing] 3 Longest substring without duplicate characters
- Circumvention Technology: Registry
- 二叉树(Binary Tree)
- 微信论坛交流小程序系统毕业设计毕设(1)开发概要
- GBU1510-ASEMI电源专用15A整流桥GBU1510
- 位运算(Bit Operation)
猜你喜欢
![Cause analysis and solution of too laggy page of [test interview questions]](/img/33/2c2256fd98b908ddaf5573f644ad7f.png)
Cause analysis and solution of too laggy page of [test interview questions]

微信论坛交流小程序系统毕业设计毕设(7)中期检查报告

iNFTnews | Web5 vs Web3:未来是一个过程,而不是目的地

Line measurement - graphic reasoning -9- line problem class
![Leetcode interview question 02.07 Linked list intersection [double pointer]](/img/a5/58b4735cd0e47f1417ac151a1bcca4.jpg)
Leetcode interview question 02.07 Linked list intersection [double pointer]

GEE(四):计算两个变量(影像)之间的相关性并绘制散点图

Develop those things: go plus c.free to free memory, and what are the reasons for compilation errors?
![LeetCode206. Reverse linked list [double pointer and recursion]](/img/3c/84351e771ac9763c1e5f7b4921c099.jpg)
LeetCode206. Reverse linked list [double pointer and recursion]

Ligne - raisonnement graphique - 4 - classe de lettres

Line test - graphic reasoning - 4 - alphabetic class
随机推荐
Years of summary, some core suggestions for learning programming
网络安全-联合查询注入
一次搞明白 Session、Cookie、Token,面试问题全稿定
Line test graph reasoning graph group class
小程序多种开发方式对比-跨端?低代码?原生?还是云开发?
微信论坛交流小程序系统毕业设计毕设(7)中期检查报告
网格(Grid)
ArcGIS:矢量要素相同字段属性融合的两种方法
Line measurement - graphic reasoning -9- line problem class
Debezium系列之:支持 mysql8 的 set role 語句
微信论坛交流小程序系统毕业设计毕设(4)开题报告
Basic knowledge of linked list
微信论坛交流小程序系统毕业设计毕设(2)小程序功能
【测试面试题】页面很卡的原因分析及解决方案
Cause analysis and solution of too laggy page of [test interview questions]
LeetCode203. Remove linked list elements
Introduction to redis and jedis and redis things
网络安全-安装CentOS
About idea cannot find or load the main class
Use JfreeChart to generate curves, histograms, pie charts, and distribution charts and display them to jsp-2