Executing SQL queries in SAP-GUI e.g. select * from but000

Hallo,
I am newbie in the SAP world. Is there a way to run select statements from SAP GUI? e.g. I want to know how many rows are returning from a join xyz.
select count() from tabA and tabB where tabA.id = tabB.id and tabA.Name is not null.*
Is it possible with SQVI (SQ01)?
Please help.

Testcase:
SQL> create table scott.testit
     ( id number not null,
       value1 varchar2(10) not null )
     tablespace DATA;
Table created.
SQL> desc scott.testit;
Name       Null?    Type
ID        NOT NULL NUMBER
VALUE1    NOT NULL VARCHAR2(10)
SQL> insert into scott.testit (id,value1) values ( 1, 'Hello' );
1 row created.
SQL> commit;
Commit complete.
SQL> select * from scott.testit;
        ID VALUE1
         1 Hello
ADD COLUMN, the old fashioned way
SQL> alter table scott.testit add  ( ADDFIELD1 varchar2(5) );
Table altered.
SQL> desc scott.testit;
Name        Null?    Type
ID         NOT NULL NUMBER
VALUE1     NOT NULL VARCHAR2(10)
ADDFIELD1           VARCHAR2(5)
SQL> select * from scott.testit where ADDFIELD1 is null;
        ID VALUE1     ADDFI
         1 Hello
Works as expected
Try to get NOT NULL and DEFAULT to work
SQL> alter table scott.testit modify ( ADDFIELD1 NOT NULL );
alter table scott.testit modify ( ADDFIELD1 NOT NULL )
ERROR at line 1:
ORA-02296: cannot enable (SCOTT.) - null values found
SQL> alter table scott.testit modify  ADDFIELD1 default '000';
Table altered.
SQL> alter table scott.testit modify ( ADDFIELD1 NOT NULL );
alter table scott.testit modify ( ADDFIELD1 NOT NULL )
ERROR at line 1:
ORA-02296: cannot enable (SCOTT.) - null values found
No suprise so far. You would usually need to update all NOT NULL
values to some values and you would be able to enable the NOT NULL constraint
allthough this may run for quite a while on big tables.
Now lets try the new stuff
SQL> alter table scott.testit drop column ADDFIELD1;
Table altered.
SQL> alter table scott.testit ADD ADDFIELD1 varchar2(3) DEFAULT '000' not null;
Table altered.
SQL> desc scott.testit
Name        Null?    Type
ID         NOT NULL NUMBER
VALUE1     NOT NULL VARCHAR2(10)
ADDFIELD1  NOT NULL VARCHAR2(3)     <<<< BING !!!
SQL> select * from scott.testit;
        ID VALUE1     ADD
         1 Hello      000            <<<< Default '000' is working
SQL> select * from scott.testit where ADDFIELD1 is NULL;
no rows selected                     <<<< NOW this might be suprising
SQL> insert into scott.testit (id,value1,addfield1) values (2,'Bye', '000');
1 row created.
SQL> commit;                         <<<< Trying to compare "real" '000' with DEFAULT '000'
Commit complete.
SQL> select * from scott.testit;
        ID VALUE1     ADD
         1 Hello      000            <<<< Added with default
         2 Bye        000            <<<< inserted as '000'
SQL> alter table scott.testit modify ADDFIELD1 default '111';
Table altered.
SQL> select * from scott.testit;     <<<< Now it gets exciting
        ID VALUE1     ADD
         1 Hello      000            <<<< WOA... How does this work?
         2 Bye        000
SQL> set longC 20000 long 20000
SQL> select dbms_metadata.get_ddl('TABLE','TESTIT','SCOTT') from dual;
DBMS_METADATA.GET_DDL('TABLE','TESTIT','SCOTT')
CREATE TABLE "SCOTT"."TESTIT"
(  "ID" NUMBER NOT NULL ENABLE,
    "VALUE1" VARCHAR2(10) NOT NULL ENABLE,
    "ADDFIELD1" VARCHAR2(3) DEFAULT '111' NOT NULL ENABLE           <<<< No '000' DEFAULT
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "DATA"
SQL>
Looks like Oracle is at least a whole lot more clever than I expected.
It must have stored the first Default value somewhere else, as the documentation
says, that the effective rows will NOT be updated (otherwise it would never work so fast).
I need to dig into how datablocks are dumped and read.
Just to finalize this:
SQL> alter table scott.testit modify ADDFIELD1 NULL;
Table altered.
SQL> select * from scott.testit;
        ID VALUE1     ADD
         1 Hello      000
         2 Bye        000
SQL> select * from scott.testit where addfield1 is null;
no rows selected
SQL>
So the change persists even if you revert the constraint allthough the data
should not been changed. Surely need to do a datablock dump of this.
Need to do additional tests with indexes.
But right now I am running out of time.
May be someone else likes to join the expedition.
Volker

Similar Messages

  • How to use database control to execute sql queries which change at run time

    Hi all,
    I need to execute sql queries using database controls , where the sql changes
    at run time
    based on some condition. For eg. based on the condition , I can add some where
    condition.
    Eg. sql = select id,name from emp where id = ?.
    based on some condition , I can add the following condition .
    and location = ?.
    Have anybody had this kind of situation.
    thanks,
    sathish

    From the perspective of the database control, you've got two options:
    1) use the sql: keyword to do parameter substitution. Your observation
    about {foo} style sbustitution is correct -- this is like using a
    PreparedStatement. To do substitution into the rest of the SQL
    statement, you can use the {sql: foo} substitution syntax which was
    undocumented in GA but is documented in SP2. Then, you can build up
    the filter clause String yourself in a JPF / JWS / etc and pass it into
    the DB control.
    For example:
    * @jc:sql statement="select * from product {sql: filter}"
    public Product[] getProducts(String filter) throws SQLException;
    This will substitute the String filter directly into the statement that
    is executed. The filter string could be null, "", "WHERE ID=12345", etc.
    2) you can use the DatabaseFilter object to build up a set of custom
    sorts and filters and pass that object into the DB control method.
    There have been other posts here about doing this, look for the subject
    "DatabaseFilter example".
    Hope that helps...
    Eddie
    Dan Hayes wrote:
    "Sathish Venkatesan" <[email protected]> wrote:
    Hi Maruthi,
    The parameter substituion , I guess is used like setting the values for
    prepared
    statements.
    What I'm trying to do , is change the sql at run time based on some condition.
    For example ,
    consider the following query :
    select col1,col2 from table t where t.col3 > 1
    At run time , based on some condition , I need to add one more and condition.
    i.e. select col1,col2 from table t where t.col3 > 1 and t.col4 < 10.
    This MAY not address your issue but if you are trying to add "optional" parameters
    you may try including ALL the possible parameters in the SQL but send in null
    for those params that you don't want to filter on in any particular case. Then,
    if you word your query
    as follows:
    select col1, col2 from table t where t.col3 > 1 and (t.col4 = {col4param} or
    {col4param} is null) and (t.col5 = {col5param} or {col5param} is null) ...
    you will get "dynamic" filters. In other words, col4 and col5 will only be
    filtered if you send in non-null parameters for those arguments.
    I have not tried this in a WL Workshop database control but I've used
    this strategy dozens of times in stored procedures or jdbc prepared statements.
    Good luck,
    Dan

  • How to execute sql-queries through shell scripting in linux?

    How to execute sql-queries through shell scripting in linux?

    http://www.oracle.com/technology/pub/articles/saternos_scripting.html
    Two simple examples:
    #!/usr/bin/env bash
    set_orafra () {
       orafra=`echo 'set heading off
       select name from v$recovery_file_dest;
       exit' | sqlplus -s / as sysdba`
    set_orafra
    echo $orafra
    #!/usr/bin/env bash
    export ORACLE_SID=instance_name
    export ORACLE_HOME=/path_to_oracle_home_directory
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=/$ORACLE_HOME/bin/$PATH
    $ORACLE_HOME/bin/sqlplus -s <<EOF
    connect scott/tiger@my_instance_name
    INSERT INTO table VALUES (sysdate);
    exit
    EOFEdited by: Markus Waldorf on Sep 17, 2010 12:19 AM

  • PL/SQL: ORA-22992: cannot use LOB locators selected from remote tables

    Dear ALL,
    My O/S is Redhatlinux 5.2 and i had Migrated my Oracle databse to 11g2. But after that while i am retrieving records through dblinks from one of my other Oracle 9.2.0.8 databse it's throwing the error : PL/SQL: ORA-22992: cannot use LOB locators selected from remote tables.* This error i am getting in TOAD as well as SQL Developer.
    Can anybody tell me how to fix this error ? Because am not able to get the records.
    Also am getting another error during retrieving data from some of my tables after migrating i.e the table which having CLOB data type while am accessing to retrieve the records using select query it's throwing the error :
    +(The following error has occurred:+
    A query with LOB's requires OCI8 mode, but OCI7 mode is used.)
    If anyone having any idea kindly share.
    Thanks and Regards
    Biswa

    Hi,
    Ya what u sent that is fine. But already am using one procudure which is accessing LOB data from another databse through DBlink and working fine. But there Both the databse are 9.2.0.8.
    But while am executing the same procedure in oracle 11g where the Dblink accessing the data from Oracle 9i , there am getting this error.
    Kindly tell if u know any resolution.
    Thanks

  • Multiple SQL Queries in SAP BPC  5.1 EVMODIFY

    Hi All,
    We have multiple SQL Queries in Outlooksoft 4.2 which extracts data from Oracle source system with different set of selections and conditions and parameters. We were able to use multiple SQL Queries in Outlooksoft 4.2 using Transform Data Flow Task and paste parameters using evModify dynamic script task, where ever extract to source system is needed.
    According to  SAP BPC 5.1, all these multiple SQL Queries and extracts by passing parameters will be coded in EVMODIFY dynamic script editor.But, EVMODIFY dynamic script editor is not working with the sets of multiple SQL Queris.It's able to recognize and execute the first SQL Query, but not able to execute from the second SQL Query.
    Does any body, did multiple extracts using SQL Queries to the source system by passing parameters using SAP BPC 5.1 data  manager and SSIS Packages, please let me know, how you did achieve the above functionality.
    Regards,
    Sreekanth.

    Hi Sorin,
    Thanks for your update, I tried declaring the variable between %%....GLOBAL(%GTIMEID%,%SELECTION%) and the package runs now but the problem is that the package is executed using the default date value for the variable GTIMEID declared in the DTSX package and its not taken the date that I'm trying to pass from BPC.  As showed below, please if you could take a look to the ModifyScript and see the last line for the global variable and line 13  PROMTP(SELECTINPUT,%SELECTION%,,,%TIME_DIM%) where I am selecting the TIMEID:
    DEBUG(ON)
    PROMPT(INFILES,,"Import file:",)
    PROMPT(TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    PROMPT(RADIOBUTTON,%CLEARDATA%,"Select the method for importing the data from the source file to the destination database",0,{"Merge data values (Imports all records, leaving all remaining records in the destination intact)","Replace && clear data values (Clears the data values for any existing records that mirror each entity/category/time combination defined in the source, then imports the source records)"},{"0","1"})
    PROMPT(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after importing",1,{"Yes","No"},{"1","0"})
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})
    INFO(%TEMPFILE%,%TEMPPATH%%RANDOMFILE%)
    PROMPT(SELECTINPUT,%SELECTION%,,,%TIME_DIM%)
    TASK(CONVERT Task,INPUTFILE,%FILE%)
    TASK(CONVERT Task,OUTPUTFILE,%TEMPFILE%)
    TASK(CONVERT Task,CONVERSIONFILE,%TRANSFORMATION%)
    TASK(CONVERT Task,STRAPPSET,%APPSET%)
    TASK(CONVERT Task,STRAPP,%APP%)
    TASK(CONVERT Task,STRUSERNAME,%USER%)
    TASK(Dumpload Task,APPSET,%APPSET%)
    TASK(Dumpload Task,APP,%APP%)
    TASK(Dumpload Task,USER,%USER%)
    TASK(Dumpload Task,DATATRANSFERMODE,1)
    TASK(Dumpload Task,CLEARDATA,1)
    TASK(Dumpload Task,FILE,%TEMPFILE%)
    TASK(Dumpload Task,RUNTHELOGIC,1)
    TASK(Dumpload Task,CHECKLCK,1)
    GLOBAL(%GTIMEID%,%SELECTION%)
    Do you guess That I am missing something?
    Thanks in advanced
    Regards

  • How to execute SQL queris in BPEL using JDeveloper?????..Please suggest

    Hi,
    I am very new to JDeveloper. Curently i am tryin to execute an SQL query from the BPEL process, there is an query in the source field and the output of the query is to be mapped to a variable field in the target xsd file. the query is fairly simple, like
    SELECT emp
    FROM emp_table
    WHERE emp_id=123
    The target field, namely "employee", is an element from the xsd file. I tried using Java embedding activity to connect to the db and execute the query through a piece of Java code, but couldn't find a way to assign the output of the query to the associated target field. however lately i also discovered the Database Adapter services which helps me to create a database connection, but still i am not sure as of how to handle and map the output of the query to the variable field. Is there any other way to execute database queries in Jdeveloper using BPEL process????????? Please suggest.
    Can somebody please help me in resolving the issue either through Java Embed activity or Database Adapter services??
    Thanks in advance
    Prabha

    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm
    maybe this one is helpful for you.
    best is to use the db adapter for this.
    if you just execute it you will see the format of the output in your audittrial (so some kind of list of employees). In bpel when you doubleclick the invoke-activity you will see the outputvariable.
    With use of xpath you coud loop over this 'list' (collection/array/etc) of employees and do with it whatever you want.
    Too see how you need to loop over the array you could check this :
    http://clemensblog.blogspot.com/2006/03/bpel-looping-over-arrays-collections.html

  • Want to execute SQL Queries from Textfile

    I have a text file full of a bunch of sql queries, of the format:
    select something1, something2
    from someplace
    select something3, something4
    from someplace2
    select something5, something6
    from someplace3
    I want to execute these queries one at a time and then after each one executes, I will do something with the resultset. Question is, how do I pull each query from the text file one at a time and execute? I was doing this by using java.util.Scanner and java.lang.StringBuilder where I would scan one line at a time and then check to see if the line is empty, otherwise I append the line to the StringBuilder. If the line is empty, I process whatever is stored in the StringBuilder. The problem with doing this is that it does not preserve the newline from the text file, so I get queries that look like:
    "select something5, something6from someplace3"
    which of course are invalid. Does anyone know a better way to build SQL queries / statements from a text file? How do I get the newline or carriage return character?

    Just replace newline by space?

  • ORACLE SQL QUERIES  FOR SAP

    Hello All,
    Can any body give me the total SQL queries which will be used in SAP.
    Thanks&Regards,
    Praveen Kondabala

    Hi,
    If you do need that kind of information, then it is easier that you do not use any.
    > Like Oracle DBA
    you only need to read the documentation about
    1) brtools
    2) dbacockpit (I assume you have a fairly recent SAP version)
    you can find the information about this two "things" in
    SAP on Oracle

  • BSP Application connection to SQL Express DB to execute SQL Queries

    Hi There everyone,
    I am not sure if I am posting this discussion in the correct section, but please try and help me out.
    I have been tasked to write a BSP Application in the ABAP Workbench.  The purpose of this application is to enable our Weighbridge operators to execute pre-defined SQL Queries by selecting certain criteria from the Application.  The application is based on an HTML frontend which includes the Web Form (Input Fields, Submit buttons).  We have 6 Weighbridges, each has its own HTML page in this application.
    What I need to achieve is the following;
    I need to know how I must setup the connection between the BSP Application and the SQL Express DB.  Each Weighbridge has its own dedicated SQL Express instance + DB.  These SQL Instances are not on the same host as where the BSP Application is located, I think the correct term is "External SQL Instances".  Everything is on the same domain though.
    What code would I need to add to the "OnInitialize" section in the BSP Application, to be able to establish the connection to the SQL Express database using Windows Authentication?
    And what code would I need to attach to my submit buttons in the "OnInputProcessing" in the BSP Application, to execute a SQL Query to that DB and display the results in .CSV format back to the user?
    I have attached 2 screenshots of what the BSP Application interface looks like.  (This is what the user sees)
    I am very new to creating BSP's, and I have never had to link to SQL from HTML / PHP before, so I basically have no knowledge of this.
    Any help will be greatly appreciated.

    Sorry for the late reply.
    Yes, database is always available and online, not involved in Log Shipping or other things.
    At the time of the connection failure I can find the following in the log of the application:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:20 - \PCV/src/ni/src/pcvnireceive.cpp - 4741 - Thread 4768 - Receive Thread Started for Remote Node 043SBTMS10DRSP: In Thread index 1:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:40 - \PCV/src/ni/src/pcvnireceive.cpp - 4968 - Thread 4768 - Receive Thread Ended for Remote Node 043SBTMS10DRSP: In Thread index 1:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:40 - \PCV/src/ni/src/pcvnireceive.cpp - 115 - Thread 4768 - Merge Memory Usage: KB Allocated = 2186, KB in use = 889
    ProcessID:2452 ,ThreadID:1408 : NiJ - E - 25/08/2012-19:35:29 - \PCV/src/ni/src/pcvnijournal.cpp - 2842 - PcvNiJournal::isRetrievePending() - DB Exception.Error: TCP Provider: The specified network name is no longer available.
    Communication link failureQuery timeout expired - State:08S01,Native:64,Origin:[Microsoft][SQL Server Native Client 10.0] State:08S01,Native:64,Origin:Microsoft][SQL Server Native Client 10.0]
    State:S1T00,Native:0,Origin:[Microsoft][SQL Server Native Client 10.0]

  • Can I restore SAP GUI patch level 5 from Patch level 7

    Hi,
    I updated SAP GUI 710 from patch level 5 to level 7, is it possible to revert this change to patch level 5 again, as our business requirement is only patch level 5.
    How to restore it back?
    Also, what changes made by SAP in patch level 7 from 5, 3 etc?
    Thanks

    Hi Martin
    Thanks for answering my queries.
    Reason for going back to patch 5 is to maintain all client of production system at one level.
    Certainly using higer patch level will also includes all functionalities of lower level.
    But, did someone try to load patch 5 on patch 7, does it work?
    Becoz, I am in production, so not in very good position to take this risk.
    What you ppl say?
    There should be some way to restore your GUI to back date, is it!, like one we do to restore our windows machine.

  • What is the difference between Execute SQL Task and OLE DB Command

    Besides the obvious, Execute SQL Task being used in Control Flow, and
    OLE DB Command being used in Data Flow what is the difference between the two? Is one supposed to use
    Execute SQL Task to produce a result set that then gets handed over to
    Data Flow and OLE DB Command ? Everything that I have seen on
    OLE DB Command is pretty much execution of a Stored Procedure with ? parameters. It seems as though I got to a point where I had to perform my data edits pretty much entirely in a Stored Procedure executed by
    OLE DB Command rather than trying to use the SSIS GUI for everything. I didn't really see in any of my Google searches out there that simply used
    OLE DB Command as a straight parameterized SQL against tables for editing and cleansing purposes and handling returns back from SQL Server for COUNT(*), etc..
    I know I have posted multiple forums out there regarding this issue but I cannot seem to get a straight answer and some solid direction. So for now, my
    Execute SQL Task gives me my editable result set and then control is handed off to
    Data Flow and ultimately to my Stored Procedure executed by an
    OLE DB Command  which pretty much does the chunking for me and performs my data edits and handles my record anomalies through SQL Server Table data stores accordingly or sets flags accordingly if the data passes.
    I welcome your thoughts and Thanks for your review and Thanks in advance for any replies and direction that anyone might provide.
     

    Hi ITBobbyP,
    OLE DB Command will always process data row by row, whereas Execute SQL task if you call a Stored Procedure it can process data in bulk. As you said, the biggest difference is that Execute SQL Task being used in Control Flow, and OLE DB Command being
    used in Data Flow. They are used in different places.
    Using Execute SQL Task, we can save the rowset returned from a query into a variable. The Execute SQL task can be used in combination with the Foreach Loop and For Loop containers to run multiple SQL statements. These containers implement repeating control
    flows in a package and they can run the Execute SQL task repeatedly. For example, using the Foreach Loop container, a package can enumerate files in a folder and run an Execute SQL task repeatedly to execute the SQL statement stored in each file. I think this
    is a big advantage for Execute SQL Task.
    As to OLE DB Command, we can easily run an SQL statement for each row transformation in a data flow, then directly insert the outputs to a destination.
    To sum up, there are many difference between those two components. We should make better choice based on our actual requirement.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SAP GUI 7.10 - Issue reading files from Solution Manager

    Hi everyone,
    We have just installed SAP GUI 7.10 on our PC and have tried to open documents from Solution Manager.
    On both Display and Change mode we are getting "The document cannot be displayed" (SOLAR_DOC021)
    Can you suggest anything regarding the source of the problem? Any quick resolution?
    Thank you
    Corinne

    Found it myself. Tricky indeed.
    http://service.sap.com/patches
    - Search for Support Packages and Patches
    - Enter Search Term "SAP GUI"
    - Select SAP GUI FOR WINDOWS
    - Select SAP GUI FOR WINDOWS 7.10 CORE
    - Select SAP GUI FOR WINDOWS 7.10 CORE, on the next page also
    - Select Win 32
    - Arrive at avail. downloads
    Regards,
    Nathan

  • SSO Using SAP GUI Logon

    Here's my question gurus...
    Is there a way to enable SSO so that, after a user authenticates themselves within the portal, go back to the standard Windows SAP GUI Logon(pad) select the system enter the desired client and logon with having to provide a username and password? The credentials would be passed from the portal to the connected backend system.
    We currently have a slew of systems and there corresponding clients it would be awesome to sync all systems with the portal and only have to administer passwords from and for the portal. Consequently the portal would handle the rest. The folks here have not fully embraced using the html version of the gui hence the reason for this posting.

    Hi Mike,
       If i understood your requirement, You want to use SAP functionality form portal.
      You Can do that, by creating a SAP System from your portal and you can call any Transactions from the portal it self, by using that System.
      How to create System and User mapping for that System you can find in the below link. It may helpful to you. Ping me back, if you have any doubts.
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/b5f9c2ea65c242957ee504ca4a37a9/frameset.htm
    Transaction Iview with integrated ITS.
    Please correct me, if i am wrong.
    Regards,
    Sridhar

  • Execute SQL Task with Parameter - from DB2 to SQL Server

    I am pulling data from DB2 to SQL Server.
    1st Execute SQL task runs the following against DB2:
    SELECT TIMESTAMP(CHAR(CURRENT_DATE - (DAY(CURRENT_DATE)-1) DAYS - 1 MONTH)) as START_MONTH
    FROM SYSIBM.SYSDUMMY1;
    I'm storing it as a Result Set.
    Next I have a Data Flow Task.  This pulls data from DB2 where the date matches the parameter.
    FROM SCHEMA.TABLE t
    WHERE DATE_TIME_COLUMN= ?
    This works fine. Guessing, because the parameter source is DB2 and the Data Flow source is DB2.
    The problem is, I want to remove existing data for the same date in the SQL table.  IE, if I'm pulling March 2014 data from DB2, I want to be sure there is no March 2014 data in the SQL table.  The main use is for re-runs.
    So, I added another Execute SQL task after the first one that assigns the variable, and before the Data Flow Task. This runs the following statement against SQL Server:
    DELETE FROM
    database.dbo.table
    WHERE DATE_TIME_FIELD >= ?
    The package fails at the new Execute SQL Task with the following error message:
    Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "DELETE FROM
    SBO.dbo.tblHE_MSP_FEE_BUCKETS
    WHERE T..." failed with the following error: "Parameter name is unrecognized.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
    Task failed: Execute SQL Task
    SSIS package "Load_MSP_Fee_Buckets_SQL.dtsx" finished: Success.
    The program '[14240] Load_MSP_Fee_Buckets_SQL.dtsx: DTS' has exited with code 0 (0x0).
    I am assuming this is something to do with the Parameter source being DB2, and trying to use against SQL?
    Any suggestions on how to make this work??
    Thanks,
    -Al H

    Parameter name is unrecognized
    is the key, how come DB2 is related if it runs against SQL Server
    What I think is happening you do not use the OLEDB connection to SQL Server.
    Likewise, if it is ADO then the query needs to be
    DELETE FROM
    database.dbo.table
    WHERE DATE_TIME_FIELD >= @MyDate
    Arthur My Blog

  • What is the name of the EXE to invoke SAP GUI

    Hi All,
    Can any one provide me the exe file name of SAP GUI related.
    I need to call the SAP GUI related exe file from java.
    Regds
    Rajesh

    Hi
    Thanks for your fast response.
    I am getting this exception at the time of execution.
       java.io.IOException: CreateProcess: C:\Program Files\SAP\Frontend\SAPGUI\sapgui.exe" /H/10.113.10.201/S/3200 /3 error=2
    Actually i wrote the program like this.
    public static void main(String[] args) {
              try{
                   Runtime rt=Runtime.getRuntime();
                                                    rt.exec("C:
    Program Files
    SAP
    Frontend
    SAPGUI
    sapgui.exe\" /H/10.113.10.201/S/3200 /3");
    }catch(Exception e){
                   System.out.println(e);
    The way i wrote the program and i passed the value inside the rt.exec(----) method is correct or not?
    and one more thing, we are not using message server and any log on group.
    PLZ help, to resolve this issue
    Regds
    Rajesh

Maybe you are looking for

  • Rowcount is zero , but the table displays data on the screen

    Hi, I have created an arraylist, which holds objects of a custom class. The custom class contains variables, that holds the data of each row. I did binding between this arraylist and a table. On the UI, the table is displayed with the data present in

  • Recognizing Changes in System_Constants.lgl

    I've made changes in the System_Constants.lgl file whereby I've changed the: *FUNCTION ACCOUNTDIM=ACCOUNT_FS   (from the default ACCOUNT) However when I try to load DATA via the IMPORT Package, the error message I receive is:  Invalid dimension ACCOU

  • DSN Connection Issue

    Hi, We have created the ODBC Connection and which we are trying to open the rpd in online mode but it is not opening the online mobe. My question is Once the odbc connecion is configured we need to restart the client server r not ? wat are the other

  • Mon ipad ne redémarre plus

    bonjour, Ce matin, comme d' habitude, j' utilise mon Ipad et aprés cinq minutes environ, il s' est éteint. Il ya avait encore 25 pour cent de la batterie . Plus moyen de le mettre en recharge ni de l' allumer. Pouvez-vous m' aider ? D' avance, merci

  • Question about unlocking 4s

    Hi. Ive recently had my 4s unlocked from vodafine uk. Anyway they sent me a message today saying it has been done and i should now conmect my phone to itunes and do some restore or something. Thing is my laptop doesnt work and i dont have access to i