A task of getting an extra column using ssis

hi...
I need a help in solving this task. I did this in sql but don't know, why I am getting error in ssis.
the task is about creating a new column, in this column I should get the id in such a way that the first two letters and the last two letters before @ are displayed and other letters are replaced by *.
my source column:                                              
MY DESTINATION COLUMN
ID  NAME    EMAILID                                             
ID    NAME         EMAILID                    NEWEMAILID
1   AKHI     AKHI1985@                                         
1      AKHI         AKHI1985@               AK****85@
2 SRESHTA SRESH_GG@                                        2     
SRESHTA  SRESH_GG@              SR****GG@     
3 RENU      RENU_COOL1989@                               3      
RENU       RENU_COOL1989@     RE********89@
please solve this.

If your source is database table you can do this in sql itself
ie use a query like below in OLEDB source
SELECT ID,NAME,EMAILID,STUFF(EMAILID,3,CHARINDEX('@',EMAILID)-5,REPLICATE('*',CHARINDEX('@',EMAILID)-5)) AS NewEmailID
FROM SourceTable
And just map the new column to destination table NEWEMAILID column
If your source is a file or some other type then you need to do this inside a derived column in SSIS data flow task
for that use an expression like
ColumnName Expression
NEWEMAIL ID <Add As New Column> SUBSTRING([EMAILID],1,2) + REPLICATE('*',FINDSTRING([EMAILID],"@",1)-5) + SUBSTRING([EMAILID],FINDSTRING([EMAILID],"@",1) + 1,LEN([EMAILID]))
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • How can I get list of columns used of specific table in all stored procedure?

    How can I get used column list of a specific table in among all stored procedure?
    Suppose that,
    I have a table(VendorMaster) which has 100 columns just I want to know how many columns used in among all stored procedure.

    We have solved by below query...
    IF OBJECT_ID('tempdb.dbo.#SPDependencyDetails') IS NOT NULL
    DROP TABLE #SPDependencyDetails
    CREATE TABLE #SPDependencyDetails
     Or_Object_Database NVARCHAR(128)
    ,Or_Object_Name NVARCHAR(128)
    ,Ref_Database_Name NVARCHAR(128)
    ,Ref_Schema_Name NVARCHAR(128)
    ,Ref_Object_Name NVARCHAR(128)
    ,Ref_Column_Name NVARCHAR(128)
    ,Is_Selected BIT
    ,Is_Updated BIT
    ,Is_Select_All BIT
    ,Is_All_Columns_Found BIT
    DECLARE @database_name VARCHAR(100)
    DECLARE database_cursor CURSOR
    FOR
    SELECT name
        FROM sys.databases
        WHERE database_id =8
    OPEN database_cursor
    FETCH NEXT FROM database_cursor
    INTO @database_name
    WHILE @@FETCH_STATUS = 0 --Outer Loop begin
    BEGIN
        DECLARE  @WholeLotofSQL NVARCHAR(MAX) =       '
        DECLARE @object_name VARCHAR(150)
        ,@sqlstatement NVARCHAR(2500)
        DECLARE object_cursor CURSOR --Inner cursor, iterates list of objects that match type
        FOR
            SELECT name
                FROM '+@database_name+'.sys.objects AS o
                WHERE o.type = ''P'' --Change Object type to find dependencies of Functions, Views and etc.
                ORDER BY 1    
        OPEN object_cursor
        FETCH NEXT FROM object_cursor INTO @object_name
        WHILE @@FETCH_STATUS = 0  --Inner Loop Begin
            BEGIN
                SET @sqlstatement = ''USE '+@database_name+';
                                    INSERT INTO #SPDependencyDetails
                                    SELECT DB_NAME() AS Or_Object_Database
                                            ,'''''' + @object_name + '''''' AS Or_Object_Name
                                            ,CASE WHEN referenced_database_name IS NULL THEN DB_NAME()
                                                    ELSE referenced_database_name
                                            END AS Ref_Database_Name
                                            ,referenced_schema_name AS Ref_Schema_Name
                                            ,referenced_entity_name AS Ref_Object_Name
                                            ,referenced_minor_name AS Ref_Column_Name
                                            ,is_selected
                                            ,is_updated
                                            ,is_select_all
                                            ,is_all_columns_found
                                        FROM sys.dm_sql_referenced_entities(''''dbo.'' + @object_name + '''''', ''''OBJECT'''');''
                EXEC sys.sp_executesql @sqlstatement
                FETCH NEXT FROM object_cursor INTO @object_name
            END      
        CLOSE object_cursor
        DEALLOCATE object_cursor'
        EXEC sys.sp_executesql @WholeLotofSQL
        FETCH NEXT FROM database_cursor INTO @database_name
    END
    CLOSE database_cursor;
    DEALLOCATE database_cursor;
    SELECT Or_Object_Database as 'Database'
    ,Or_Object_Name as 'Procedure'
    ,Ref_Object_Name as 'Table'
    ,Ref_Column_Name as 'Column'
    FROM #SPDependencyDetails

  • Alias getting created for column used in prompt

    I am using the default catalog provided with Oracle BI Apps, i.e. EnterpriseBusinessAnalytics.
    In the Servie CRM - Assets subject area there is a column Product --> Product Line. On using this column in a prompt, the following query gets fired:
    select distinct PR_PROD_LN as PROD_LN from APPS.W_PRODUCT_D
    Now i have 2 issues:
    1) I get the error "[nQSError: 59015] The requested column PROD_LN does not exist in this table". I dont understand why the server is searching for the alias PROD_LN instead of the actual column. How do i disable this alias creation?
    2) The schema name APPS also gets attached by default. That is not the schema i use. How do i rectify this?
    Slightly urgent. Quick answers would be highly appreciated!
    Jimit

    Hi Jimit,
    Open the RPD ..Presentation Layer --> Right click Display related -->Physical column for the (Servie CRM - Assets subject area --> Product --> Product Line) and double click on the connection pool details to verify whether you have right credentials or not in DSN section (Uncheck the full qualified name section ) to get rid of schema name in physical query
    thanks,
    Saichand

  • Getting an extra column value in a group by expression

    I have the following table-
    CREATE TABLE dummy_data (
    ID number NOT NULL , mark number not null
    ,test_Timestamp timestamp NOT NULL
    insert into dummy_data (id,mark,test_TimeStamp) values (1,12,'08-MAR-10 09.43.30.922000000');
    insert into dummy_data (id,mark,test_TimeStamp) values (2,12,'08-MAR-10 09.46.30.922000000');
    insert into dummy_data (id,mark,test_TimeStamp) values (3,16,'08-MAR-10 09.23.30.922000000');
    insert into dummy_data (id,mark,test_TimeStamp) values (4,18,'08-MAR-10 09.26.30.922000000');
    insert into dummy_data (id,mark,test_TimeStamp) values (5,20,'08-MAR-10 09.13.30.922000000');
    insert into dummy_data (id,mark,test_TimeStamp) values (6,22,'08-MAR-10 09.12.30.922000000');
    select TO_CHAR(TO_DATE (ceil(to_number(to_char(test_Timestamp, 'yyyymmddhh24mi'))/5)*5,'yyyymmddhh24mi'),'yyyy-mm-dd hh24:mi') as ts , id
    from dummy_data
    group by TO_CHAR(TO_DATE (ceil(to_number(to_char(test_Timestamp, 'yyyymmddhh24mi'))/5)*5,'yyyymmddhh24mi'),'yyyy-mm-dd hh24:mi'), id;
    I use the below query to get the id grouped by 5 minutes interval.
    Now I also need to get the Mark associated with the id, in a single query. Is there a way to get it ?
    Thanks
    _Pete                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I am sorry should have given little more details on my request and I am not sure even if it possible to do that in sql.
    Though I am grouping by 5 minute interval. If the mark is there for the last one hour, show that entry only once.
    In other words, in my example
    Take this to samples (see same mark)
    insert into dummy_data (id,mark,test_TimeStamp) values (6,12,'08-MAR-10 09.12.30.922000000');
    insert into dummy_data (id,mark,test_TimeStamp) values (2,12,'08-MAR-10 09.46.30.922000000');
    When you group by id, you will get separate values for 9:10-9:15 5 minute interval and another one for 9:45-9:50 interval.
    What I want is if the mark has already appeared in that one hour interval, I don't want it to be repeated.
    Thanks
    _Pete                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Split flat file column data into multiple columns using ssis

    Hi All, I need one help in SSIS.
    I have a source file with column1, I want to split the column1 data into
    multiple columns when there is a semicolon(';') and there is no specific
    length between each semicolon,let say..
    Column1:
    John;Sam;Greg;David
    And at destination we have 4 columns let say D1,D2,D3,D4
    I want to map
    John -> D1
    Sam->D2
    Greg->D3
    David->D4
    Please I need it ASAP
    Thanks in Advance,
    RH
    sql

    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper
    Imports Microsoft.SqlServer.Dts.Runtime.Wrapper
    Imports System.IO
    Public Class ScriptMain
    Inherits UserComponent
    Private textReader As StreamReader
    Private exportedAddressFile As String
    Public Overrides Sub AcquireConnections(ByVal Transaction As Object)
    Dim connMgr As IDTSConnectionManager90 = _
    Me.Connections.Connection
    exportedAddressFile = _
    CType(connMgr.AcquireConnection(Nothing), String)
    End Sub
    Public Overrides Sub PreExecute()
    MyBase.PreExecute()
    textReader = New StreamReader(exportedAddressFile)
    End Sub
    Public Overrides Sub CreateNewOutputRows()
    Dim nextLine As String
    Dim columns As String()
    Dim cols As String()
    Dim delimiters As Char()
    delimiters = ",".ToCharArray
    nextLine = textReader.ReadLine
    Do While nextLine IsNot Nothing
    columns = nextLine.Split(delimiters)
    With Output0Buffer
    cols = columns(1).Split(";".ToCharArray)
    .AddRow()
    .ID = Convert.ToInt32(columns(0))
    If cols.GetUpperBound(0) >= 0 Then
    .Col1 = cols(0)
    End If
    If cols.GetUpperBound(0) >= 1 Then
    .Col2 = cols(1)
    End If
    If cols.GetUpperBound(0) >= 2 Then
    .Col3 = cols(2)
    End If
    If cols.GetUpperBound(0) >= 3 Then
    .Col4 = cols(3)
    End If
    End With
    nextLine = textReader.ReadLine
    Loop
    End Sub
    Public Overrides Sub PostExecute()
    MyBase.PostExecute()
    textReader.Close()
    End Sub
    End Class
    Put this code in ur script component. Before that add 5 columns to the script component output and name them as ID, col1, co2..,col4. ID is of data type int. Create a flat file destination and name it as connection and point it to the flat file as the source.
    Im not sure whats the delimiter in ur flat file between the 2 columns. I have use a comma change it accordingly.
    This is the output I get:
    ID Col1
    Col2 Col3
    Col4
    1 john
    Greg David
    Sam
    2 tom
    tony NULL
    NULL
    3 harry
    NULL NULL
    NULL

  • Compare 2 Columns using SSIS from two different tables

    Hello,
    A newbie to ssis.
    I have a Table 1 with Address Details and Table 2 with Address Details of same customer but from different sources. I have loaded these two data sources and also joined these two tables.
    I want to compare address column of one table with the other table, if they are not equal need to insert into another table.
    With Sql query we can perform it, but just want to know how to perform this with ssis.

    You can use the
    LookUp Transformation
    Arthur
    MyBlog
    Twitter

  • How to get the primarykey columns of the table in SAP BI Java SDK

    Hi, I'm new to sap BI Java SDK. I'm not getting how to get the primarykey columns, using BI JDBC Connector (for relational data sources). If anybody knows, please let me know. its very very urgent task to be done in my project. In the below following code.... I have written a code to connect to the database through resource bundle, reading table names, once user select table name, i need to show the primary key columns of that table to the user. here i'm not getting how to get the primary key columns . Please send me the code if there is any method to find out the primarykey columns or a logic to get them. I will be greatful to you.... if you can do this favour.
    Please check out the following code ........
    ManagedConnectionFactory mcf;
    IConnectionFactory cf;
    IConnectionSpec cs;
    mcf = new JdbcManagedConnectionFactory();
    cf = (IConnectionFactory) mcf.createConnectionFactory();
    cs = cf.getConnectionSpec();
    ResourceBundle rbLocal = ResourceBundle.getBundle( "xxxx");
    Enumeration propnames = rbLocal.getKeys();
    while (propnames.hasMoreElements())
    String key = (String) propnames.nextElement(); //out.print(key); //out.println("="rbLocal.getString(key)"");
    cs.setPropertyValue(key, rbLocal.getString(key));
    // Establishing the connection. // The IBIRelational interface provides an entrypoint to access // metadata and execute queries.
    IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs); I
    BIRelational rel = connection.getRelational();
    IBIQuery query = rel.createQuery();
    String sqlStatement = "SELECT * FROM " + "BICQPERSON where type='pk'"; ResultSet rs = IBIDataSet dataset = query.execute();
    Thanks SreeKanth

    Hi,
    looks like you are on Infomation Builders, correct? If yes through which adapter and to what DB are you connecting?? in an R3/BW system you can do the folowing:
    "(ABAP)
    SELECT DISTINCT FIELDNAME
    FROM DD03L
    WHERE TABNAME = '/BIC/QPERSON'
      AND AS4LOCAL = 'A'
      AND KEYFLAG = 'X'
    ORDER BY 1
    Another option is goto directly to the RDBMS; in this case let me which one are you using
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Have Firefox pinned to the Task bar in Windows 7. when I open firefox I get an extra firefox icon in my task bar while having firefox open. It used to show as

    I have Firefox pinned to the Task bar in Windows 7. when I open firefox I get an extra firefox icon in my task bar while having firefox open. It used to show as being open on the icon that is pinned to the task bar

    # Click the pinned icon to launch Firefox.
    # Right-click the pinned icon and choose "Unpin this program from taskbar".
    # Right-click the Firefox icon and choose "Pin this program to taskbar".

  • Using SAP Tokens & showing extra columns to choose

    I have a Crystal Report where I have a SAP token parameter to select a budget scenario to run the report based on.
    My token is selecting the 3 columns I need to display inorder to select the correct scenario - AbsID, Name & FinancYear.
    Budget@Select AbsID, Name,FinancYear  from OBGS order by 3
    When I preview in SAP my drop down box only gives me AbsID and name - which is of course a list diplaying "Main Budget" repeated for the number of financial year I have in the database.
    As these Main Budgets can (and have) been created in any order, it is impossible toexpect the users to select the correct budget from the displayed data.
    As there is no direct join from OBGS to OFPR on financial year, I can't work out how to either display the additional column in the choose from list, or filter my selection statement so it will only give scenarios that relate to the financial year for the period I have selected
    Any sensible suggestions welomed!

    Hi Julie,
    Remember that combo box controls in SAP can only display two values, a code and description, or in the case of report tokens the first two columns you specify in the token query. Seeing as you need the third column to distinguish between the first two sets of values a combo box is no use to you on it's own.
    The following is off the top of my head and untested but what about either replacing the combo box with a CFL that shows as many columns as you need (and by nice coincidence the first column in that table is the value you want selected, AbsID), OR, created two report parameters the first displays the Financial Year and the second displays the AbsID and Name values for the selected FinYr?
    Remember I'm writing this free hand so you'll need to test to make sure it's ok.
    Replace Cbo with CFL
    Budget@Select * From OBGS order by 3
    This should display a CFL where you can add any extra columns needed from the form settings.
    Two Cbo Parameters
    FinYr@ SELECT F_RefDate FROM OFPR
    Budget@Select AbsID, Name from OBGS WHERE FinancYear = ('FinYr@') order by 3
    So you can reference one parameter name inside another to limit the results displayed by the second parameter.
    One of the above or some variation should get you what you need.
    Regards,
    Andrew.

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to get all input columns of script components checked by default to use the same in code ?

    Hi ,
    I am working on BIML Script component, where I am taking data from OLEDB Source.
    In Script Component I want all the input columns to be checked by default as input.
    I have no idea how to proceed for the same.
    Below is my code :-
    <Biml
    xmlns="http://schemas.varigence.com/biml.xsd">
    <Container
    Name="Load Data Truncate Staging"
    ConstraintMode="Parallel"
    DelayValidation="true" >
    <Tasks>
    <Dataflow
    Name="Archive Data"
    DelayValidation="true" >
    <Transformations>
    <OleDbSource
    Name="Source"
    ConnectionName="DataStaging"
    ValidateExternalMetadata="false"
    LocaleId="None" >
    <VariableInput
    VariableName="User.V_Archivequery"
    />
    </OleDbSource>
    <RowCount
    Name="Count Source Records"
    VariableName="User.sourceRecords"/>-->
    <ScriptComponentTransformation
    ProjectCoreName="MMd5"
    Name="MD5_Checksum">
    <ScriptComponentProject>
    <ScriptComponentProject
    ProjectCoreName="SC_Example.csproj"
    Name="ExampleScriptComponent">
    <AssemblyReferences>
    <AssemblyReference
    AssemblyPath="Microsoft.SqlServer.DTSPipelineWrap"
    />
    <AssemblyReference
    AssemblyPath="Microsoft.SqlServer.DTSRuntimeWrap"
    />
    <AssemblyReference
    AssemblyPath="Microsoft.SqlServer.PipelineHost"
    />
    <AssemblyReference
    AssemblyPath="Microsoft.SqlServer.TxScript"
    />
    <AssemblyReference
    AssemblyPath="System.Windows.Forms.dll"
    />
    <AssemblyReference
    AssemblyPath="System.dll"
    />
    <AssemblyReference
    AssemblyPath="System.AddIn.dll"
    />
    <AssemblyReference
    AssemblyPath="System.Data.dll"
    />
    <AssemblyReference
    AssemblyPath="System.Xml.dll"
    />
    </AssemblyReferences>
    <Files>
    <File
    Path="Properties\AssemblyInfo.cs">
    using System.Reflection;
    using System.Runtime.CompilerServices;
    [assembly: AssemblyTitle("SC_Example.csproj")]
    [assembly: AssemblyDescription("")]
    [assembly: AssemblyConfiguration("")]
    [assembly: AssemblyCompany("Ciber Nederland")]
    [assembly: AssemblyProduct("SC_Example.csproj")]
    [assembly: AssemblyCopyright("Copyright @ Ciber Nederland 2012")]
    [assembly: AssemblyTrademark("")]
    [assembly: AssemblyCulture("")]
    [assembly: AssemblyVersion("1.0.*")]
    </File>
    <File
    Path="main.cs">
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    using System.Security.Cryptography;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Reflection;
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
    public override void Input0_ProcessInputRow(Input0Buffer Row)
    string strColumnsValue = string.Empty;
    Type rowType = Row.GetType();
    PropertyInfo columnProperty;
    MD5 md5 = new MD5CryptoServiceProvider();
    Encoder enc = System.Text.Encoding.Unicode.GetEncoder();
    foreach(IDTSInputColumn100 Rw in this.ComponentMetaData.InputCollection[0].InputColumnCollection)
    columnProperty = rowType.GetProperty(Rw.Name);
    strColumnsValue += Convert.ToString(columnProperty.GetValue(Row,null));
    byte[] bbb = new byte[strColumnsValue.Length * 3];
    bbb = UnicodeEncoding.Unicode.GetBytes(strColumnsValue);
    byte[] hash = md5.ComputeHash(bbb);
    String strHash = Convert.ToBase64String(hash);
    Row.RowChecksum = strHash;
    </File>
    </Files>
    <InputBuffer
    Name="Input0">
    </InputBuffer>
    <OutputBuffers>
    <OutputBuffer
    Name="Output0">
    <Columns>
           <Column
    Name="RowChecksum"
    DataType="String"
    Length="1000"/>
    </Columns>
    </OutputBuffer>
    </OutputBuffers>
    </ScriptComponentProject>
    </ScriptComponentProject>
    </ScriptComponentTransformation>
    </Transformations>
    </Dataflow>
    </Tasks>
    </Container>
    </Tasks>
    </Package>
    </Packages>
    </Biml>
    Please suggest me where i am doing mistake.
    Regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    http://stackoverflow.com/questions/21440993/adding-a-script-task-using-biml
    http://stackoverflow.com/questions/22455000/automatically-generate-ssis-package-from-biml-script
    Both links have nothing to do with the question.
    @Vipin: what I did in one of my BIML scripts was looping over the columns using C# in the BIMLScript, and adding each column to the input using this code. Do you have the metadata of the columns somewhere?
    I don't have the scripts with me unfortunately.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • How to get table and column names thats being used in SQL , that's generating all my reports on SSRS.

    Good day,
    I searched through the forum and cant find anything.
    I have around 300 published reports on SSRS and we are busy migrating to a new system.
    They have already setup their tables on the new system and I need to provide them with a list of table names and column names that are being used currently to generate the 300 reports on SSRS.
    We use various tables and databases to generate these reports, and will take me forever to go through each query to get this info.
    Is it at all possible to write a query in SQL 2008 that will give me all the table names and columns being used?
    Your assistance is greatly appreciated.
    I thank you.
    Andre.

    There's no straightforward method for that I guess. There are couple of things you can use to get these details
    1. query the ReportServer.dbo.Catalog table
    for getting details
    you may use script below for that
    http://gallery.technet.microsoft.com/scriptcenter/42440a6b-c5b1-4acc-9632-d608d1c40a5c
    2. Another method is to run the reports and run sql profiler trace on background to retrieve queries used.
    But in some of these cases the report might be using a procedure and you will get only procedure. Then its upto you to get the other details from procedure like tables used, columns etc
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How can I get the real column of an alias in a view using system catalogs?

    Given a view with columns that use aliases, I would like to get the real column name for the view column with the alias.
    For example,
    CREATE VIEW myView AS
    SELECT name as col_1, price as col_2, price + 1000 as col_3
    FROM myTable
    I want to get that 'col_1' is actually the 'name' column and 'col_2' is the 'price' column by querying the system catalogs of SQL Server. It would be great to know whether I can resolve what 'col_3' is in the
    example as well (i.e., when an alias is an expression, not just a column). 
    Thanks in advance.

    Or you can use the System function
    sys.dm_exec_describe_first_result_set, example
    CREATE TABLE myTable
    (name varchar(30), price money);
    GO
    CREATE VIEW myView AS
    SELECT name as col_1, price as col_2, price + 1000 as col_3
    FROM myTable;
    GO
    SELECT name, source_table, source_column
    FROM sys.dm_exec_describe_first_result_set(N'SELECT * FROM myView', NULL, 1) AS FRS
    =>
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • TA48312 I NEED TO UPGRADE FROM 10.5.8 TO USE MY ITUNES MATCH, WHAT DO I NEED TO DO TO DO THIS?  I HAVE PAID FOR IT AND HAVE DONE ALL THE NECESSARY TASKS TO GET ICLOUD UP BUT MY ITUNES WILL NOT WORK?

    I NEED TO UPGRADE FROM 10.5.8 TO USE MY ITUNES MATCH, WHAT DO I NEED TO DO TO DO THIS?  I HAVE PAID FOR IT AND HAVE DONE ALL THE NECESSARY TASKS TO GET ICLOUD UP BUT MY ITUNES WILL NOT WORK?

    jbrie8210 wrote:
    I NEED TO UPGRADE FROM 10.5.8 ...
    The first step in Upgrading... is to Snow Leopard = OS X 10.6.x
    It is Not available as a download... It is a Paid Upgrade.
    Do this first...
    Check that your Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Tech Specs
    http://support.apple.com/kb/SP575
    If so... Purchase a Snow Leopard Install Disc...
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    Other countries...
    http://support.apple.com/kb/HE57
    After the Successful Install, run Software Update to get the latest updates for Snow Leopard.
    Be sure to make a Backup of your Current System Before Upgrading...
    Next...
    Upgrade to Mountain Lion
    With Regard to ML...  Check here for compatibility of 3rd party Software you may be using... Also note that Rosetta is no longer supported in Lion and Mountain Lion...
    http://roaringapps.com/apps:table
    You should also consider more RAM... Get the Maximum you can for your Mac...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com
    The above site also has videos on how to Install RAM should you need it...

  • How do I get the last COLUMN in an Excel Sheet using Report Generation toolkit in LV7.1?

    I am trying to get the last column in an Excel sheet using the Report Generation toolkit. The function "Excel Get Last Row" does not give last column info. Is there a function that will do this?
    Thanks

    Hello –
    I think the following example program might be helpful to get you started programming your application.
    Get Excel Data from Specified Field.
    Hope this helps!
    SVences
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Error while posting in J1IEX.

    Hi SAP Gurus, I have done MIGO on 31st march, on 1st of April i am Posting in J1IEX, I am getting following error: Maintain number range object for object J1IRG23C2, year 2009, excise group E1_ Please tell me how to solve this error. Regards, Vijay

  • Error while changing the data source at runtime

    Hi All, I want to change the DB connection(from Dev to QA) in the code before viewing it to the user. I browsed through the samples and found a code. But when I', trying to use the code, I'm getting the following error. com.crystaldecisions.sdk.occa.

  • Oid and sso configuration in ebs

    Hi, how to configure the sso and oid for EBS.i red the metalink id 261914.1.i could n't able to understand. Os : red hat 4.2 application server10.1.2: oraapps.yantro.com ebs suite 11.5.10 :ebs.yantro.com how to achieve that and also we need portal an

  • Seg fault compiling Fractal C example in ss 12.1  opensolaris 117 x64

    Hello, When i try to compile the Fractal example with default settings i get : CC -o dist/Debug/SunStudio-Solaris-x86/fractal_2 build/Debug/SunStudio-Solaris-x86/fractal.o CC: Fatal error in ld: Segmentation Fault (core dumped) ld: fatal: file /opt/s

  • Unable to set site permissions for AD group

    Hello, I have upgraded TFS from 2012 to 2013 Update 2 and using SharePoint SP1. The TFS server is installed in Domain A which has Trust to Domain B (domain B doesnt have trust to domain A). User account that the TFS runs under is from Domain B, also