Đang chuẩn bị liên kết để tải về tài liệu:
The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P71

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P71: Congratulations on your journey to become certified in SQL Server 2008. This book will help prepare you for your exam and give you a practical view of working with SQL Server 2008. | 332 Chapter 8 ETL Techniques After running the statement however you get a simple report back from SQL Server 19972 row s affected Of course you could use the same format files either traditional or XML that we discussed earlier. So as you can see the BULK INSERT statement is very similar in functionality to the BCP command line utility. From the previous two sections you should have a pretty good idea about the mechanics of bulk inserting data. You may be wondering what all the parameters we haven t discussed are for. Mostly they have to do with performance. In the next two sections well discuss a few pointers on maximizing the performance of your bulk loads. We ll start by looking at how the transaction log is used during bulk operations. But first get your hands dirty and try a BULK INSERT. EXERCISE 8.2 Using BULK INSERT In this exercise you will export and import the data file that you created previously in Exercise 8.1 back into SQL Server. This exercise assumes that you have administrative privileges on the SQL Server instance you are working with that you have the AdventureWorks2008 sample database installed on your SQL Server instance and that you are running the exercise from the same computer where the SQL Server instance is installed. 1. Launch SQL Server Management Studio and open a new query window in the AdventureWorks2008 database. 2. Create the target table by running the following T-SQL statement SELECT TOP 0 INTO AdventureWorks2008.Person.PersonCopy FROM AdventureWorks2008.Person.Person 3. Use the following T-SQL statement to load the data from the data file into the new table BULK INSERT AdventureWorks2008.Person.PersonCopy FROM C bcp Person.tsv WITH DATAFILETYPE widechar 4. Run the following query to view the imported data SELECT FROM AdventureWorks2008.Person.PersonCopy ETL Techniques Chapter 8 333 Recovery Model and Bulk Operations Every SQL Server database has an option that determines its recovery model. The recovery model of the database .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.