Database Administrators familiar with SQL server 2000 know that DTS can import and export data. In fact, we can also use Transact-SQL statements to import and export data. In a Transact-SQL statement, we mainly use the OpenDataSource function and OPENROWSET function. For more information about functions, see SQL online help. You can easily convert SQL SERVER, ACCESS, and EXCEL data by using the following methods:
I. Import and export data from SQL SERVER and ACCESS
General data import and export:
Use the DTS wizard to migrate your Access data to SQL Server. You can use these steps:
1. On the Tools menu in SQL SERVER Enterprise Manager, select Data Transformation
2 Services, and then select czdImport Data (import Data ).
3. In the Choose a Data Source dialog box, select Microsoft Access as the Source, and then type your. mdb database (. mdb File Extension) or browse to find the file.
4. In the Choose a Destination (select target) dialog box, select Microsoft ole db Prov ider for SQL Server, select database Server, and click the required authentication method.
5. In the Specify Table Copy or Query dialog box, click Copy tables ).
6. In the Select Source Tables dialog box, click Select All ). Next, complete.
Use a Transact-SQL statement to import and export data:
Summary: with the above statements, we can easily convert data in SQL SERVER, ACCESS, and EXCEL spreadsheet software, which provides us with great convenience!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.