TAILIEUCHUNG - The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P71

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 Using BULK INSERT In this exercise you will export and import the data file that you created previously in Exercise 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 FROM 3. Use the following T-SQL statement to load the data from the data file into the new table BULK INSERT FROM C bcp WITH DATAFILETYPE widechar 4. Run the following query to view the imported data SELECT FROM 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 .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.