TAILIEUCHUNG - Microsoft SQL Server 2000 Data Transformation Services- P15

Microsoft SQL Server 2000 Data Transformation Services- P15: Data Transformation Services in Microsoft SQL Server 2000 is a powerful tool for moving data. It’s easy to use, especially when you’re creating transformation packages with the DTS Wizard. But it’s also a flexible tool that you can customize to gain a high degree of control over the transformation of your data. | 676 Extending the Power of DTS Part VI Listing Continued Destination column type is 8-byte real. pdAverage double cint for j 0 j m_iDecimals j pdAverage pdAverage 10 memcpy pDestData pdAverage pulLength break default pdAverage double cint for j 0 j m_iDecimals j pdAverage pdAverage 10 memcpy pDestData pdAverage pulLength break pulStatus DBSTATUS_S_OK END ADDED CODE. return NOERROR Adding the Project s Error Definitions If you want to return specific error codes for conditions that occur in your custom transformation add them in the .idl file following this line import The code that defines the errors for the AvgXform task is shown in Listing . Listing The Error Definitions for the Custom Task .Error codes for the Average Transform. typedef helpstring Error codes generated by the average transform enum DTSAvgTransformError DTSAvgXform_Error_WRONG_NUM_DEST_COLS 0x80041001 DTSAvgXform_Error_NOT_CORRECT_TYPE 0x80041002 DTSAvgXformError LPDTSAvgXformError ---------------------------------------------------------------------- Creating a Custom Transformation with VC Chapter 32 677 Registering the Custom Transformation The ATL COM wizard creates the code to register the custom transformation during the build process. You can register the transformation on other computers by using the regsvr32 command-line utility regsvr32 Path Unlike the registration of custom tasks there are no special registry entries that need to be created for a custom transformation. Conclusion DTS provides many excellent built-in tools. One of the best characteristics of DTS though is its extensibility. You can build new tools within the DTS environment to handle new data transformation situations more effectively. Build a custom transformation when you need the best possible performance or when you are using a particular ActiveX transformation script repeatedly. 32 Creating a Custom .

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.