Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Cơ sở dữ liệu
Microsoft SQL Server 2000 Data Transformation Services- P13
Đang chuẩn bị liên kết để tải về tài liệu:
Microsoft SQL Server 2000 Data Transformation Services- P13
Gia Khiêm
55
50
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Microsoft SQL Server 2000 Data Transformation Services- P13: 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. | DTS Packages and Steps 576 Part V Figure 28.5 Column names versus column ordinal numbers in scripts in Transform Data tasks. There are two problems with switching from column names to column ordinal numbers The code is harder to read and write. The ordinal numbers do not consistently identify the columns. All the ordinal numbers of the columns are changed whenever you view the Source Columns tab or the Destination Columns tab of the Transformation Options dialog. Listing 28.1 shows VBScript code for an ActiveX Script task that will dynamically modify all the ActiveX Script transformations in all the Transform Data tasks in the package replacing the column names with the column ordinal numbers. This code is included on the CD in a package stored in the ReplaceNamesWithOrdinals.dts file. This package also has a task that switches all the ordinal numbers back to names which can be run at the end of the package execution. Listing 28.1 VBScript Code That Switches Column Names to Column Ordinal Numbers for All Transform Data Tasks in a DTS Package Option Explicit Function Main High-Performance DTS Packages 577 Chapter 28 Listing 28.1 Continued Dim pkg tsk cus trn col Dim sScript sFind sReplace Set pkg DTSGlobalVariables.Parent For Each tsk in pkg.Tasks Select Case tsk.CustomTaskID Case DTSDataPumpTask DTSDataPumpTask2 Set cus tsk.CustomTask For Each trn in cus.Transformations Select Case trn.TransformServerlD Case DTSPump.DataPumpTransformScript _ DTSPump.DataPumpTransformScriptProperties2 sScript trn.TransformServerProperties Text .Value For Each col in trn.DestinationColumns sFind DTSDestination . col.Name . sReplace DTSDestination CStr col.Ordinal sScript Replace sScript sFind sReplace Next 28 High For Each col in trn.SourceColumns sFind DTSSource . col.Name . sReplace DTSSource CStr col.Ordinal sScript Replace sScript sFind sReplace Next trn.TransformServerProperties Text .Value sScript End Select Next End Select Next Main DTSTaskExecResult_Success End Function DTS .
TÀI LIỆU LIÊN QUAN
Microsoft SQL Server 2000 Bible
Lecture Database security and auditing - Protecting data integrity and accessibility - Chapter 9: Application Data Auditing
Microsoft SQL Server 2000 Weekend Crash Course
Designing SQL Server Databases for .NET Enterprise Servers
Microsoft SQL Server 2000 Data Transformation Services- P1
Microsoft SQL Server 2000 Data Transformation Services- P2
Microsoft SQL Server 2000 Data Transformation Services- P3
Microsoft SQL Server 2000 Data Transformation Services- P4
Microsoft SQL Server 2000 Data Transformation Services- P5
Microsoft SQL Server 2000 Data Transformation Services- P6
crossorigin="anonymous">
Đã 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.