TAILIEUCHUNG - Hands-On Microsoft SQL Server 2008 Integration Services part 54

Hands-On Microsoft SQL Server 2008 Integration Services part 54. Deploy and manage high-performance data transformation solutions across your enterprise using the step-by-step techniques in this fully revised guide. Hands-On Microsoft SQL Server 2008 Integration Services, Second Edition explains the tools and methods necessary to extract conclusive business intelligence from disparate corporate data. Learn how to build and secure packages, load and cleanse data, establish workflow, and optimize performance. Real-world examples, detailed illustrations, and hands-on exercises are included throughout this practical resource. . | 508 Hands-On Microsoft SQL Server 2008 Integration Services import. We have to write custom code to parse the good rows of data into the correct columns. So let s start configuring our first Script component. 1. Add a new Integration Services package in the Programming SSIS project and rename it as Extending Data Flow with Script . 2. Add a Flat File Connection Manager for C SSIS RawFiles file with default settings and rename it to Sales. 3. Add a Data Flow task in the newly created package and double-click it to go to the Data Flow tab. Drag and drop the Script component onto the Data Flow Designer surface. The Select Script Component Type dialog box will pop up on the screen see Figure 11-10 . Select the radio button to configure the component as a Source and click OK to place this task as a source on the Data Flow Designer surface. 4. Rename the component as Script Source Component and double-click to open the Script Transformation Editor. Change the ScriptLanguage to Microsoft Visual Basic 2008. 5. Rename the Output 0 in the Inputs And Outputs page to SalesOutput. Note that you have only one output available in this tab and no inputs. Though you can add more outputs if you wish to create a multiple outputs source you can t add an input here. This is because the Sources have no inputs. You refer to outputs and inputs with their names suffixed by buffer in the code. For example the SalesOutput will be referenced in the code with the name SalesOutputBuffer. Figure 11-10 Selecting the Script component type in the Data Flow Designer Chapter 11 Programming Integration Services 509 6. Expand the SalesOutput and click the Output Columns node. Now you can add columns to SalesOutput by clicking Add Column. Click this button four times to add four columns with the following details as shown in Figure 11-11. Column Name Data Type Length FirstName string DT_STR 20 LastName string DT_STR 20 Title string DT_STR 20 SalesAmount four-byte signed integer .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
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.