Export of data from text to MicroSoft Acess via SQLExec

I was able to export numberical data in a Microsoft Access (mdb) database.  However, I have problems of export of text from a datamember data.  I use the SQLExec object to achieve this.

Here is the general syntax of SQLExec I put in place for the text values:

"INSERT INTO test (column1) VALUES('"&(text(\\.\Process1\TEXTENTRY.value,"0")& "')

The value of the datamember TEXTENTRY will matter in the mdb file, column1 if it is digital.  Not if it is alpha-numeric.  The column is implemented for the text format.

However, I am unable to import 'fixed' characters (not datamember text) to the database that is to say:

"INSERT INTO test VALUES ('hello') (column1) the result is Hello will be in Column1.

Please notify.

Thank you!

The text() function converts the digital text, so you do not need.

Try the VALUE ('"' & TEXTENTRY &" ' ")

Tags: NI Software

Similar Questions

  • Download data from text file for Hyperion ESSBASE by FDM.

    Hello

    I want to upload data from text file for Hyperion ESSBASE by FDM. The file format is given below.


    Entity, Department, designation, effective, SalaryPaid
    E11001, BSG, AsstManager, 12, 820000
    E11001, BSG, Manager, 6, 740000


    Where staff and SalaryPaid is the Member of the account dimension. Entity, Department, and designations are the dimensiosn in the ESSBASE.

    Is it possible to download the file above using FDM, can we have two account member in the line?

    I am brand new with FDM. ask for your help.

    Kind regards
    Sunil

    Create two scripts to import (choose Import Data Pump when you are prompted for the type of import script)

    (1) call the GetAccounts 1st and 2nd PutAccounts
    (2) associate GetAccounts size amount in your import format.
    (3) associate PutAccounts with the account dimension in your import format
    (4) adding NZP expression to dimension of amount
    (5) in GetAccounts put the following code...
    +' Get the names of account in the header line.
    If DW. Utilities.fParseString (strRecord, 5, 4, ",") = "number of head" Then
    + ' Local variables for the account names.
    + Acct1 dim +.
    + Acct2 dim +.
    +     +
    + ' Head Count (column 4 of 5) +.
    + Acct1 = DW. Utilities.fParseString (strRecord, 4, 5, ",") +.
    + ' Wages (column 5 of 5) +.
    + Acct2 = DW. Utilities.fParseString(strRecord, 5, 5, ",") +.
    +     +
    End If

    GetAccounts strField =

    (6) in PutAccounts put the following code...

    +'+ Local Variables
    Dim AcctName (2)
    Dim AmountVal (2)
    Dim z
    Dim rsAppend

    + "The names of individual account is analyzed and stored +"
    AcctName (1) = DW. Utilities.fParseString (RES. PvarTemp1, 2, 1, ',')
    AcctName (2) = DW. Utilities.fParseString (RES. PvarTemp1, 2, 2, ',')

    +' If student for accounts from here import file.
    AmountVal (1) = DW. Utilities.fParseString (strRecord, 5, 4, ",")
    AmountVal (2) = DW. Utilities.fParseString (strRecord, 5, 5, ",")

    +' Name of temporary importation work table +.
    strWorkTableName = RES. PstrWorkTable

    +' Create temporary table recordset trial balance +.
    Set rsAppend = DW. DataAccess.farsTable (strWorkTableName)

    For z = 01:58 ' this can change depending on the number of additional accounts processing

    + If IsNumeric (AmountVal (z)) Then +.
    +          +
    + If (z) AmountVal <> 0 Then +.
    +          +
    + ' Create a new record and to provide its field values.
    + rsAppend.AddNew +
    + rsAppend.Fields ("DataView") = "CDA" +.
    + rsAppend.Fields ("PartitionKey") = RES. PlngLocKey +.
    + rsAppend.Fields ("CatKey") = RES. PlngCatKey +.
    + rsAppend.Fields ("PeriodKey") = RES. PdtePerKey +.
    + rsAppend.Fields ("CalcAcctType") = 9 +.
    + rsAppend.Fields ("Account") = AcctName (z) +.
    + rsAppend.Fields ("Amount") = AmountVal (z) +.
    + rsAppend.Fields ("Entity") = 'chain of the entity here ' +.
    + rsAppend.Fields ("UD1") = "string C1 here +.
    + rsAppend.Fields ("node2") = "String C2 here +.
    + rsAppend.Fields ("UD3") = "String C3 here +.
    + rsAppend.Fields ("UD4") = "string C4 here +.
    + "Add folder to the collection +"
    + rsAppend.Update +
    +               +
    + End if +.
    +     +
    + End if +.

    Next

    +' Close the recordset.
    rsAppend.close

    If DW. Utilities.fParseString (strRecord, 5, 4, ',') <> '0' then
    + PutAccounts = DW. Utilities.fParseString (RES. PvarTemp1, 2, 1, ',') +.
    On the other
    + RES. PblnSkip = True.
    End If

    You may need to change the aboveto that meet your exact needs, but the basic structure of the scripts should not change too

    Published by: SH on May 25, 2012 10:34

  • I downloaded Microsoft Money Plus sunset and want to transfer the data from the files Microsoft Money 2005. Is this possible?

    I am using Windows 7 and have accounts with MSN Money 2005 and I try to have more data from the Money 2005 file updated in a format that is compatible with the money, and I can use the money more

    See the information displayed by SpiritX MS MVP in the http://answers.microsoft.com/en-us/feedback/forum/user/microsoft-money-question/13ef1581-2dfd-45fc-85ba-92cbcade313a thread

  • Cannot find the file error when loading data from text file to Oracle

    Hello

    I have an interface where I am loading a data from the text file to Oracle.
    But when I try to do that I am getting following error.

    ODI-1227: SrcSet0 (load) task fails on the source FILES SAPMM connections.
    Caused by: java.sql.SQLException: file not found: d:/mdb/#General.get_filename
    to com.sunopsis.jdbc.driver.file.FileResultSet. < init > (FileResultSet.java:160)
    at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
    at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)

    SAPMM is the name of the connection.
    I use get_filename to get the name of the file and it is fetching a correct value as long as this variable is updated in the previous stage of this interface.
    KM, used for loading is SQL file

    What would be the cause of this error?

    Thank you
    Mahesh

    Also a single query would be ok if I'm moving only generated package (according to your scenario3) scenario and not UI? It running properly?

    Yes... It runs successfully

  • Collection of data from more than an instrument via the same labVIEW program

    Hello

    I have a program whereby I collect data on a scale of and save the data in the text file. Now, I need to collect data of three identical scales and save the data. I wonder if it is possible to do so in the same program? I mean how to manage three ports and save three different text files?

    I enclose the current program. Communication with the scale series and I use VI:s. thanks in advance for the help = VISA)

    This is easily possible with a single program, and there are several ways to do so.  I recommend the following:

    1. Take data from these devices in a separate loop (this could be in a separate - VI, as well).  These loops should be state machines if you can start and stop the acquisitions in a clean way.  This assumes that the instruments are on separate ports.  If they are on the same port, you probably want to use the same loop.

    2. Write to the file in a single loop.  This, too, should be a state machine.

    3. Queues to send data from the acquisition of loops to the loop of file I/O.

    4. Use still another loop for your user interface.  It must contain a structure of the event.

    To do this, you will need to learn more about the State machines and producer/consumer architectures.  Start with the help of LabVIEW, then search these forums.  There are a multitude of implementations of State machines and producer/consumer architectures.  If you have the time, I highly recommend you learn and to use the classes in LabVIEW (requires LabVIEW 8.2 or later).  This will facilitate your work in the long term.

    Let us know if you encounter any problems...

  • Digital loading data from text file for Test of numerical limit

    I am a new user of TestStand 2014.  Just downloaded the demo ran successfully the computer.dll tutorial & example "loading limits a File.seq text"; & is now trying to build my own sequence from scratch.  I want to load a number from a text file using the property Loader.  The file contains the following:

    GGbeg
    484
    GGend

    My hand sequence contains 2 markets (see attachment):

    Charger property (which reads the text file & must store the number 484 in the Step.Result.Numeric variable, right?)

    GG-digital-test (which should test the number 484 in Step.Result.Numeric as a Data Source, right?)

    But when I run it, the measure indicates "0" for the value instead of "484".  What I am doing wrong?  Thank you in advance for your help!

    George

    Hi George,.

    The text file must be in the format, includes no property magazine. Use the following in the text file to make it work:

    GGbeg
    Result.Numeric
    GG-digital-test 484

    Value of the variable

    Value of the variable

    Value of the variable
    GGend

    In the Tools menu of the sequence editor, there are some 'Properties Export/Import' tool, which helps to create text files to be used with charger property stage. I highly recommend to create the new file using the tool and then edit the file to change the values.

    -Shashidhar

  • Convert data from text file to display for hex UDP transmission controls

    Hello

    I'm reading packets ethernet from a text file containing the actual hex data packets to then send these accurate return through a writing UDP hex data. I can't understand how to feed data into the function of writing UDP as real rather than characters ASCII hex data, as it does by default. I had the screen on the last VI before the writing of the UDP to "hexadecimal display mode" and if I manually type the hexadecimal values in the VI (hexadecimal string to binary String.vi - attached), then it passes the commands correctly. However,... when I fed the string of text in my text file data in this VI, it seems to be the substitution of this hexadecimal display on the VI input mode and the resulting entry in my UDP is still ASCII character mode. I tried to use a cast inside this VI, type... but that doesn't seem to work right. I have attached the main VI and VI which tries to prepare data before reading the UDP protocol. I've also attached an example of text file of data that I am an attempt of analysis.

    Any help would be appreciated,

    Thank you

    Hi jsrocket,

    the attached example should work as a transformation.

    Mike

  • Import data from text file of control of the ring.

    Is it possible to import data to a text ring with labview control.

    I have several definitions of register in the ring controls, but manual entry would take a lot of time.

    Was wondering if there was more automatic way, I could read the values from a file.

    Thank you

    Jim

    Using the first method gives you the ability to extend such that each column specifies a control of the ring if you need fill the multiple rings.

    This example assumes that all of the three rings contain the same number of elements. If this isn't the case, you will need to create a Subvi, which removes the empty elements. [Edit - create a text file that contains a column for each ring, separated by a tab character.]

  • How to get data from text fields in double.

    Here is the sample code that I had done with,

    var textf:textField;
    for(var i:int = 0;i<=7;i++)
    {
       textf = new textField;
       this.addChild(textf);
       textf.name = "textdata"+i;   textf.x = 500;  textf.y = 50+50*i ; 
    }
    nextbtn:button = new button();this.addChild(nextbtn)nextbtn.x = 400;nextbtn.y = 500;nextbtn.addEventListener(MouseEvent.CLICK,getdata);
    function getdata(e:MouseEvent):void
    {
       trace(textf.text)
    }
    

    From the code above will add six textfields, but in the next button function, it has to be traced back all the data in the fields of text I typed, but the code shown next button only the last textfield data are drawn, all data can be recovered, how do I get the data of all the textfields remaining...

    Please help me,

    Thanks in advance

    You can also watch the event 'target' to determine the object that generated the event.

  • How to export select data from table in the file?

    Hello..

    Here's my query to select data in 2 tables and I join help call_id column: -.

    Select n.nbr_calling, n.nbr_called, c.tec, n.conversation_duration
    of albn_ngnsm_280110 n, albc_ngnsm_280110 c
    where c.call_id = n.call_id
    and c.route_to_arbor = 1;

    The problem is what is the query to export all the output in text files?


    Thank you
    Balleur

    Hello

    set echo off
    set heading off
    set pagesize 0
    set linesize 150
    
    spool D:\file.csv
    SELECT Query
    spool off
    

    Thank you
    Ankur

  • read and medium n data from text file

    I acquire [a waveform of reading] oscilloscope digital data that is stored in a column in a text file.

    I need to read selectable amount of data at average/parcel them points.

    So basically I want to have a text file with millions of data points, but I want to draw not to say that all 1000. data point. I tried a lot of things I found here on the forum, but as I'm new to LabView, none of them really worked.

    Does anyone have a suggestion.

    Thank you.


  • Copy data from text - Hyperion Planning 11.1.2.3

    Hello

    Using Hyperion Planning 11.1.2.3.

    When you copy a cell by using a calc script, cell A cell B, and the account type is text, if the user changes the text in the B cell, the text in A cell is updated with the text changed to B?

    Is there a way to avoid this, I mean, using text data type as if it were a number?

    Thanks in advance!

    Planning creates an entry for each new text in the relational DB. It does not create an entry if it finds an exact match and uses the id of the string that exists as value.

    If the value of cell1 is "Text1", after running a calc script to copy cell1 cell2 to cell2 is now "Text1" as well. There is only one entry in the table. Now if you go and change them to "Text1 modified", a new entry is added to the table for this cell. If you return to "Text1", no new entry will be created.

    So in short if cell B changes, the value of the cell does not change.

  • Loading data from text using ODI in planning

    Hi John,.

    Hope you do well...

    In your blog, more to life than that...: ODI - get the textual data in the planning of the, you mentioned to restart services to update the textual data, once it is loaded into the Cell_Text table. Is it always applies to the current version of planning. I have a requirement to load text data into Workforce Planning.

    Thank you

    Sravan

    Yes, you put combinations of members in the POV, it's the same concept that when you use the outlineload utility.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Import data from text file

    Dear friends,

    I am facing an error below when the select statement

    SQL > select * from ext_test;
    ORA-29913: error in execution of legend ODCIEXTTABLEOPEN ORA-29400: data cartridge error error opening file c:\mydata\EXT_TEST_1948_3788.log



    I did it under labour. Please resolve above problem, I will be very thankful to you.


    CREATE or REPLACE DIRECTORY TEST_DIR AS "c:\mydata."
    GRANT READ, WRITE on DIRECTORY TEST_DIR FOR myuser.


    As myuser:
    SQL > CREATE TABLE ext_test
    2 (id NUMBER,
    3 empname VARCHAR2 (20).
    Note NUMBER 4)
    5 ORGANIZATION EXTERNAL
    6 (TYPE ORACLE_LOADER
    7 DEFAULT DIRECTORY TEST_DIR
    8 ACCESS SETTINGS
    9 (RECORDS DELIMITED BY NEWLINE
    10 FIELDS TERMINATED BY ', '.
    ' 11 JOINT POSSIBLY BY ' "'
    12 (id,
    13 empname
    14 rate
    15)
    16)
    17 RENTAL ("test.txt")
    (18);

    Table created.

    Concerning
    Kamran

    >

    Hi Keita,

    SQL > select * from ext_test;
    ORA-29913: error in execution of legend ODCIEXTTABLEOPEN ORA-29400: data cartridge
    Error opening file c:\mydata\EXT_TEST_1948_3788.log error

    You have no "LOGFILE" clause in the CREATE TABLE section - I wonder why she strives
    Create one if you did not?

    It's probably the permissions as Jac said. If you have checked that, look here

    http://orafaq.com/node/848
    http://www.adp-GmbH.ch/ora/Misc/ext_table.html
    http://www.Oracle-base.com/articles/9i/external-tables-9i.php
    [url www.oracle-developer.net/display.php?id=204]<=== exp.="" this="">

    The four sites above are very good for Oracle generally if you're looking for tips, tricks, & c.

    HTH,

    Paul...

    >
    >
    >

    I did it under labour. Please resolve above problem, I will be very thankful to you.

    CREATE or REPLACE DIRECTORY TEST_DIR AS "c:\mydata."
    GRANT READ, WRITE on DIRECTORY TEST_DIR FOR myuser.

    As myuser:
    SQL > CREATE TABLE ext_test
    2 (id NUMBER,
    3 empname VARCHAR2 (20).
    Note NUMBER 4)
    5 ORGANIZATION EXTERNAL
    6 (TYPE ORACLE_LOADER
    7 DEFAULT DIRECTORY TEST_DIR
    8 ACCESS SETTINGS
    9 (RECORDS DELIMITED BY NEWLINE
    10 FIELDS TERMINATED BY ', '.
    ' 11 JOINT POSSIBLY BY ' "'
    12 (id,
    13 empname
    14 rate
    15)
    16)
    17 RENTAL ("test.txt")
    (18);

    Table created.

    Concerning
    Kamran

    Published by: Paulie July 24, 2012 10:12

  • Export of data from a RDBMS Table to an another RDBMS Table using functions of the ODI

    Hello
    I am facing a problem while exporting a RDBMS table data to an another RDBMS Table using user ODI functions.
    Name:-User_Func
    Group:-training
    Syntax:-User_Func($(SrcField))

    Implementation syntax: -.

    (CASE
    WHEN $(SrcField) > 40000 THEN 'HIGH '.
    WHEN $(SrcField) BETWEEN 30000 AND 40000 THEN 'AVERAGE '.
    OTHER "LOW".
    )
    Technology:-Oracle

    To map the column RANK of my TARGET_EMPTABLE I write
    User_Func (SRC_TABLENAME. SALARY)
    using the Expression Editor.
    I got the following error

    ODI-1227: task failed ODI_FUNC_INTERFACE (export) on the source of ORACLE Source_DataServer connection.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00905: lack of keyword

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
    at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:189)
    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:89)
    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:619)
    and in the code tab is: -.

    Select
    SRC_FUNC_TABLE. E_NUMBER E_NUMBER,
    SRC_FUNC_TABLE. E_NAME E_NAME,
    SRC_FUNC_TABLE. E_LOC E_LOC,
    (CASE
    WHEN SRC_FUNC_TABLE. E_SAL > 40000 THEN 'HIGH '.
    WHEN SRC_FUNC_TABLE. E_SAL BETWEEN 30000 AND 40000 THEN 'AVERAGE '.
    OTHER "LOW".
    ) E_GRADE
    of SOURCE_SCHEMA. SRC_FUNC_TABLE SRC_FUNC_TABLE
    where (1 = 1)


    Help, please

    Anindya Chatterjee wrote:
    Hello
    I am facing a problem while exporting a RDBMS table data to an another RDBMS Table using user ODI functions.
    Name:-User_Func
    Group:-training
    Syntax:-User_Func($(SrcField))

    Implementation syntax: -.

    (CASE
    WHEN $(SrcField) > 40000 THEN 'HIGH '.
    WHEN $(SrcField) BETWEEN 30000 AND 40000 THEN 'AVERAGE '.
    OTHER "LOW".
    )

    Your syntax of the CASE statement is not correct
    Missing END keyword
    It should be

    (CASE
    WHEN $(SrcField) > 40000 THEN 'HIGH '.
    WHEN $(SrcField) BETWEEN 30000 AND 40000 THEN 'AVERAGE '.
    OTHER "LOW".
    END)

    Technology:-Oracle

    To map the column RANK of my TARGET_EMPTABLE I write
    User_Func (SRC_TABLENAME. SALARY)
    using the Expression Editor.
    I got the following error

    ODI-1227: task failed ODI_FUNC_INTERFACE (export) on the source of ORACLE Source_DataServer connection.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00905: lack of keyword

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
    at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:189)
    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:89)
    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:619)
    and in the code tab is: -.

    Select
    SRC_FUNC_TABLE. E_NUMBER E_NUMBER,
    SRC_FUNC_TABLE. E_NAME E_NAME,
    SRC_FUNC_TABLE. E_LOC E_LOC,
    (CASE
    WHEN SRC_FUNC_TABLE. E_SAL > 40000 THEN 'HIGH '.


    WHEN SRC_FUNC_TABLE. E_SAL BETWEEN 30000 AND 40000 THEN 'AVERAGE '.
    OTHER "LOW".
    ) E_GRADE
    of SOURCE_SCHEMA. SRC_FUNC_TABLE SRC_FUNC_TABLE
    where (1 = 1)

    Help, please

Maybe you are looking for