Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

Featured Database Articles

MS SQL

Posted Jul 21, 2003

Build a Web Site Traffic Analysis Cube: Part I - Page 6

By William Pearson

49.         Type Date Transformation into the Name box.

50.         Click the Properties button.

The Middle of String Transformation Properties dialog appears.

51.         Set Start Position at 2.

52.         Check the Limit Number of Characters to: checkbox, and set the number at 11.

53.         Leave the rest of the settings at default

The completed Middle of String Transformation Properties dialog appears as shown in Illustration 18.


Illustration 18: The Middle of String Transformation Properties Dialog

54.         Click OK.

We are returned to the Transformation Options dialog, General Tab, which appears as shown in Illustration 19.


Illustration 19: The Transformation Options Dialog - General Tab

55.         Click the Source Columns tab.

56.         Double-click Col003 on the left to add it to the Selected Columns box on the right.

57.         Click the Destination Columns tab.

58.         Double-click Date on the left to add it to the Selected Columns box on the right.

59.         Click OK.

We are returned to the Transformations tab, which appears as shown in Illustration20.


Illustration 20: The Transform Data Task Properties - Transformations Tab

60.         Click Test to ascertain the correctness of setup of the transformation.

The Testing Transformation dialog briefly appears, and then is eclipsed by the appearance of the Package Execution Results message box, which announces successful completion of the process, and appears as shown in Illustration 21.


Illustration 21: Package Execution Results - Successful Completion

61.         Click OK.

The Package Execution Results dialog disappears, leaving the Testing Transformation dialog in place, as shown in Illustration 22.


Illustration 22: The Testing Transformation Dialog - Indicating Completion

The Testing Transformation dialog offers us an opportunity to preview the output of our transformation, before we move on to a second one.

62.         Click the View Results button.

The View Data dialog presents a sample view of the results of our transformation, as shown in Illustration 23.


Illustration 23: View Data - Showing a Sample of the Transformation Results

63.         Click OK to return to the Testing Transformation dialog.

64.         Click Done to close the dialog, and to return to the Transform Data Task Properties dialog - Transformations tab.

65.         Click New to once again open the Create New Transformation dialog.

66.         Highlight the Copy Column option to select it.

67.         Click OK.



MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 




Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM