DB Adapter -Polling SQL and  After Read SQL:

Hi..,
I have DB adapter Configured for logical delete. Here is the SQLs
Polling SQL:
SELECT LOG_ID, ORG_ID, ROUTE, ATTRIBUTE9 FROM GETS_UX.GETS_UX_PROF_TRANS_LOG WHERE (((ROUTE = 'ERP INBOUND') AND (((ORG_ID = 123) OR (ORG_ID = 234)) OR (ORG_ID = 5))) AND ((ATTRIBUTE9 <> 'Y') OR (ATTRIBUTE9 IS NULL))) FOR UPDATE SKIP LOCKED
After Read SQL:
UPDATE GETS_UX.GETS_UX_PROF_TRANS_LOG SET ATTRIBUTE9 = 'Y' WHERE (ORG_ID = #ORG_ID)
My Question is. Do we have option to edit After Read SQL.
I want to add condition in After Read SQL to update the records which i read in above select Query. Is it valid question or my understanding for this Config is wrong.
I have configured Org id as unique key in DB config. seems that made Update Query to use ORG_ID as param.
Thanks in advance
Sujan

I have configured Org id as unique key in DB configThat's probably the cause of your issue... You have to give here a field that DbAdapter can use to address one unique row in the table so it can mark it as processed...
I want to add condition in After Read SQL to update the records which i read in above select QueryOnce you have the right configuration that shouldn't be needed... DbAdapter will update the lines one by one...
Hope this helps...
Cheers,
Vlad

Similar Messages

  • How to get the query result of improvement (Before and After ) using sql de

    how to get the query result of improvement (Before and After ) using sql developer.

    Check
    http://www.oracle.com/technetwork/articles/sql/exploring-sql-developer-1637307.html

  • Importing/Parsing XML using SQL and/or PL/SQL

    What is the recomended way of importing/parsing XML data using SQL and/or PL/SQL?
    I have an XSD that defines the structure of the file, and an XML file that has the content in the appropriate structure. I have parsed (checked) the structure of the XML file using JDOM in my java application, and then passed it to a function in a package on the database as a CLOB.
    What I need to do is parse the contents of the XML file that is passed into the function and extract the values of each XML element so that I can then do some appropriate validation before inserting and committing the data to the database (hence completing the import function).
    A DBA colleague of mine has been experimenting with various ways of acheiving this, but has encountered a number of problems along the way, one of which being that he thinks that it is not possible to parse XML elements that are nested more than four levels deep - is this the case?
    The structure of the XSD/XML that the database function needs to manipulate and import data from is very complex (and recursive by it's nature).
    I would appreciate any suggestions as to how I can achieve the above in the most efficient manner.
    Thanks in advance for your help
    David

    This is the forum for the SQLDeveloper tool. You will get better answers in the SQL and PL/SQL forum, and especially the XML DB forum.
    Oracle has comprehensive and varied support for XML, including a PL/SQL parser.

  • Guide to differences between SQL Server Transact SQL and Oracle PL/SQL

    Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)

    Hello,
    Below links will surely be helpful
    Discontinued features in SQL 2012
    Depricated features in SQL Server 2012
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • DB Adapter polling : Not deleting the read records

    Hi,
    I have a simple BPEL process to poll a database table to delete records after reading them.I tried testing by inserting a single record into the table.BPEL is simply creating new instance (as it is not deleting the read records).
    I am using fusion middleware version 11.1.1.3.0.
    Also i am not able to view flow trace.I see a row under flow trace but there is no link to open audit trail or flow page.How to enable this.
    thanks,
    ashok

    Hi Naresh,
    Here is the contents of jca file:
    <adapter-config name="readDB" adapter="Database Adapter" wsdlLocation="readDB.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/ArbonneProd" UIConnectionName="ArbonneProd" adapterRef=""/>
    <endpoint-activation portType="readDB_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="readDB.CustomersToOracle"/>
    <property name="QueryName" value="readDBSelect"/>
    <property name="MappingsMetaDataURL" value="readDB-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="10"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    Under trace i see below record:
    Instance Type Usage State
    ReadDB of service:<instanceid> JCA Adapter Service Completed

  • Unable to protect SQL Server after adding SQL Aliases

    DPM 2012 R2 had been successfully backing up a Server 2012 R2 virtual machine running SQL Server 2012 SP2 with 3 databases. It had been working properly for several months, the Virtual Machine is running on a Hyper-V Cluster.
    Approximately a week ago we configured aliases for the various SQL databases to provide better resiliency in case of server failure.  IE, instead of connecting to SQL as ServerName\DatabaseA, you could connect to just DatabaseADNS.  Doing so we
    had to add extra IP addresses to the server's adapter.  Initially all the addresses were registering in DNS and Named Pipes was disabled in SQL Configuration Manager for the Databases so it led to some connection difficulties when trying to connect to
    the named instances (ServerName\DatabaseA).  We resolved this so that while the server's adapter has multiple IP address there is only one DNS entry for the ServerName and one entry for each Database in DNS.  Named pipes is enabled so SQL Manager
    can connect properly.
    Since Aliases were applied however DPM began failing on 2 of the 3 Databases.  It was unable to create recovery points.
    The connection to the DPM agent on the SQL Server is OK, but if you try to modify a protection group and browse to the SQL Server when you expand it it just displays an hourglass and will not error out or display ANY sources to backup.  Even after several
    hours.
    We stopped protection of all items on the SQL Server, uninstalled the DPM agent, restarted, re-installed the DPM agent, restarted.  Restarted DPM Server, and are still unable to protect ANY items of the SQL Server. 
    There are no errors in the event logs on either server I could find.  And I've watched the DPMRA service start on the SQL Server when the DPM Server attempts to query it, so there is some communication.  Any help would be appreciated as I am at
    a loss.

    After much testing and troubleshooting a solution was found.  Our configuration is apparently a perfect storm of settings that cause DPM issues.  Our SQL Server has multiple NICs (if one is disabled it begins working) Our SQL Server's multiple
    instance are all using the default port 1433 (if ports are set differently it works), and we are using TCP aliases for more than one instance (if only one, it works)
    Each instance in SQL Config manager is assigned a unique IP address, so our production NIC has multiple IPs, set this nic to NOT register in DNS.  Manually create a Static DNS entry for the server and each alias IP address.
    In SQL Config manager set a Named Pipe alias for each instance.  Be sure to do both 32 and 64 bit aliasing.
    On the SQL Server run cliconfg.exe and enable both TCP/IP and Named Pipe protocols.
    And DPM can now enumerate and backup the server again.

  • Plz suggest book for Oracle - SQL and Oracle PL/ SQL

    Hello Experts,
    Please suggest me the best book(s) for Oracle - SQL
    As well,
    For the Oracle - PLSQL
    searched on the net but bit confused.
    Thanks in advance................

    SShubhangi wrote:
    Rahul...
    i got the following book..
    OCA Oracle Database 11g:
    SQL Fundamentals I
    Exam Guide (Exam 1Z0-051) by John Watson
    Roopesh Ramklass.
    please let me know other books of this series...Just downloading/purchasing the Books is not going to help you learn SQL. You will have to read and practice.
    My take is:
    1. Oracle Documentation -- Download from Here
    2. Effective Oracle by Design by Tom Kyte (Might have to purchase it as its not available for free download).
    Once you read these and practice simultaneously, you would be able to grasp much more than reading all the above 4-5 books mentioned.
    Also, I would say, to read just one of the books at a time than to make a mess by reading all and understanding none.

  • Tricky SQL - is it possible using just SQL and no PL/SQL

    Hello everyone,
    Here is my data
    create table experience (exp_id number(10), exp_name varchar2(20), root_exp_id number(10));
    insert into experience values (642, 'Test', 5172);
    create table experience_node (exp_node_id number(10), exp_node_type_id number(2));
    insert into experience_node values (5172, 1);
    insert into experience_node values (5173, 2);
    insert into experience_node values (5174, 2);
    create table experience_connector (exp_conn_id number(10), exp_conn_type_id number(2), exp_node_id number(10), parent_exp_node number(10) );
    insert into experience_connector values (4287, 1, 5173, 5172);
    insert into experience_connector values (4288, 2, 5174, 5173);
    insert into experience_connector values (4289, 2, 5175, 5174);
    When we run these queries:
    select     parent_experience_node_id
    from     experience_connector
    where     experience_node_id = 5175;
    select     parent_experience_node_id
    from     experience_connector
    where     experience_node_id = 5174;
    select     parent_experience_node_id
    from     experience_connector
    where     experience_node_id = 5173;
    select     parent_experience_node_id
    from     experience_connector
    where     experience_node_id = 5172;
    gives 5174, 5173, and 5172 and null. exp_node_type_id = 1 and exp_node_conn_type_id = 1 indicate that it is at the root level. Hope my explanation is helpful. What I am trying to get is - to get great great grant parent for 5175 which is 5172. Is this possible to do this with SQL?
    Thank you so much for you help.
    Best,
    Lakshmi

    We can use "model clause" ;-)
    create table T (id number(10), parentID number(10) );
    insert into T values (5173, 5172);
    insert into T values (5174, 5173);
    insert into T values (5175, 5174);
    commit;
    select parentID
      from T
    model RETURN UPDATED ROWS
    dimension by(id)
    measures(parentID)
    rules(
    parentID[9999] = parentID[5175],
    parentID[9999] = parentID[parentID[9999]],
    parentID[9999] = parentID[parentID[9999]]);
    PARENTID
        5172
    or
    select parentID
      from T
    model RETURN UPDATED ROWS
    dimension by(id)
    measures(parentID)
    rules(
    parentID[9999] = parentID[parentID[5175]],
    parentID[9999] = parentID[parentID[9999]]);

  • HOW TO CREATE WINDOWS AUTHENTICATION USER IN SQL SERVER AFTER INSTALLING SQL SERVER 2008

    I had an error while executing asp.net appcation from IIS as follows
    Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.
    [SqlException (0x80131904): Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.]
    Can the above problem be solved by CREATING WINDOWS AUTHENTICATION LOGIN FOR
    'IIS APPPOOL\ASP.NET v4.0'  ?
    If yes, how to create the login?
    If no,what is the best possible solution?
    Please reply as soon as possible as i am unable to run my project which I had done in my lab,in my home system.

    Hi Praveen,
    To fix this issue, you need to change the Identity of your website's Application Pool to use the
    NetworkService account (or the less secure LocalSystem account).  By default, IIS7 seems to set the Application Pools Identity to 'ApplicationPoolIdentity' instead of NetworkService or LocalSystem.
    Here's a step-by-step guide for determining your websites Application Pool, then changing its Process Model Idenitty in IIS7:
    1.Open Internet Information Services (IIS) Manger.
    2.In the Connections sidebar, drill down into Default Web Site and click on your website.
    3.Now in the Actions sidebar (on right side), click on Advance Settings... In the popup box, under General you will see your Application Pool listed for your website (in my case the app pool is: ASP.NET V4.0).
    4.Click Cancel...  If you choose, you can change the Application Pool here, but for the sake of this example we just wanted to find out what the website's App Pool was.
    Then change the app pool's (Process Model) Identity to 'NetworkService', the steps are showed as below:
    1.Open Internet Information Services (IIS) Manger.
    2.In the Connections sidebar, click on Application Pools.
    3.Now right-click on theApplication Pool that your website is using (in this case my site is using the ASP.NET v4.0 application pool), and select Advanced Settings... from the menu.
    4.In the Advanced Settings pop-up box, locate the Process Model -> Identity section and click on the Application Pool Identity.
    5.In the Application Pool Identity pop-up box, change the Built-in account to NetworkService (or if you want LocalSystem), then click OK, and click OK again to save your Advanced Settings changes.
    Hope this helps.
    Best Regards,
    Peja
    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I have the same problem and after reading all of these posts I still don't see an answer! HELP

    Same problem "Set the PC to start scanning:  Need an answer, no help so far.

    Hi, thecooktooo!
    So that the Community can help you better, we will need to know exactly which model of printer or scanner you're using, operating system is running on your computer, and which applications you're trying to scan with. That, and any other details you'd like to give will help the Community better understand your issue!
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

  • About SQL and Oracle

    Hello, I was using a MySQL database and i will soon use Oracle8. I was wandering if Oracle authorize something like mysql_result... I'm looking too for simple documentation about connecting to an Oracle database from a php file using Sql. Do u know books or sites ? Tks

    user12317666 wrote:
    Does Oracle support T-SQL ? Why would Oracle support a proprietary macro-based language implementation from a competitor?
    If it is not supported in Oracle, what is the major grammer difference between T-SQL and Oracle supported SQL ? Oracle has two languages. SQL. PL/SQL.
    PL/SQL is formal declarative procedural language with object orientation programming features. It is based on the Ada language (close relative of the Pascal language).
    SQL is fully integrated with PL/SQL. Which means that you can write and mix SQL source code with PL/SQL source code and the PL/SQL compiler will figure out which is which and where to make calls to the SQL engine for executing SQL code.
    Is there any efficient way for programmer to complete T-SQL transition to Oracle SQL ? Yes. Unfortunately not the answer that you are likely hoping for.
    Forget EVERYTHING you did with T-SQL.
    There is no real comparison between the two. And not only many differences, but some fundamental and conceptual differences too.

  • Database Adapter Poll doubt

    My requirement is, when ever a new recored inserted to CREDITCARDINFOPARENT table need to insert the same record to CREDITCARDINFORESULT;
    desc CREDITCARDINFOPARENT;
    Name Null? Type
    SNO NUMBER
    SSN NOT NULL VARCHAR2(15)
    FIRST_NAME VARCHAR2(30)
    LAST_NAME VARCHAR2(30)
    CCNUMBER NOT NULL VARCHAR2(20)
    CREDITRATING NUMBER
    STATUS NOT NULL VARCHAR2(20)
    CCNumber is my primary key
    desc CREDITCARDINFORESULT;
    Name Null? Type
    NO NUMBER
    SN NOT NULL VARCHAR2(15)
    FIRSTNAME VARCHAR2(30)
    LASTNAME VARCHAR2(30)
    CCNUMBER VARCHAR2(20)
    CRATING NUMBER
    CCSTATUS NOT NULL VARCHAR2(20)
    CCNUMBER is Foreign Key.
    I tried Poll DB adapter example in the following way
    Created a project with "Composite with Mediator"
    under exposed services I dragged DB Adapter
    Service Name-> Example Service
    Step 4 of 13 -> selected Poll or Changed Records in a table
    step 5 of 13 -> imported 2 tables (CREDITCARDINFOPARENT, CREDITCARDINFORESULT)
    step 6 of 13 -> displayed the Relationships
    step 8 of 13 -> After Read -> selected Update a Sequencing Table
    step 9 of 13 -> Sequencing Table: CREDITCARDINFORESULT
         Sequence Name Field: CCNUMBER
         Sequence Value Field: STATUS
         Sequence ID Field: CCNUMBER
    step 10 of 13 -> Polling Options: SQL
              Pre Polling SQL:
    SELECT STATUS FROM CREDITCARDINFORESULT WHERE (CCNUMBER = 'CREDITCARDINFOPARENT')
    Polling SQL:
    SELECT SNO, SSN, FIRST_NAME, LAST_NAME, CCNUMBER, CREDITRATING, STATUS FROM CREDITCARDINFOPARENT WHERE ((STATUS = 'VALID') AND (CCNUMBER > #STATUS)) ORDER BY CCNUMBER ASC
    After Read SQL:
    UPDATE CREDITCARDINFORESULT SET STATUS = #STATUS WHERE (CCNUMBER = 'CREDITCARDINFOPARENT')
    step 11 of 13 ->Define Selection Criteria:
              Parameters:ccno
              SQL: SELECT SNO, SSN, FIRST_NAME, LAST_NAME, CCNUMBER, CREDITRATING, STATUS FROM CREDITCARDINFOPARENT WHERE ((STATUS = 'VALID') AND (CCNUMBER > #STATUS)) ORDER BY CCNUMBER ASC
    Under External Services : I dragged DB Adapter and i selected Perform an Operation on a table as Insert Only. and I imported CREDITCARDINFORESULT
    I deployed the the Project. Project depolyed successfully;
    under EnterpriseManager command prompt I got
    <Jun 29, 2010 2:25:46 PM IST> <Warning> <oracle.soa.adapter> <BEA-000000> <JCABinding=> ExampleProject JNDI lookup of 'eis/DB/soademodatabase' f
    ailed due to: Unable to resolve 'eis.DB.soademodatabase'. Resolved 'eis.DB'>
    <Jun 29, 2010 2:25:46 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> ExampleProject Error while performing endpoint Activation:
    BINDING.JCA-12561
    JCA Resource Adapter location error (WebLogic).
    Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
    The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademodata
    base'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic J2EE Application server or
    2) the JNDI <jndi-name> setting in the WebLogic JCA deployment descriptor has not been set to eis/DB/soademodatabase. In the last case you might
    have to add a new 'connector-factory' entry (connection) to the deployment descriptor.
    Please correct this and then restart the WebLogic Application Server
    >
    I confugired the Connection factory properly; I checked at DB Adapter -> Configuration -> Outbound Connection Pools -> xADataSourceName -     jdbc/soadeoDatabase
    when I checked at JNDI tree I dont have any value under it.
    in Firefox EM, when I clicked on Example Project Test button is disabled. and I inserted one record to CREDITCARDINFOPARENT; but CREDITCARDINFORESULT table is not updated.
    can any body help me in this?
    Please let me know whether I follwed correct procedure or not?
    If I am wrong, please provide me the correct steps.
    Thanks in Advance.

    This error is usually raised if there is no outbound pool connections with the "eis/db/soademodata" name in the database adapter.
    First create a data source to the database in the JDBC Resources.
    Next in Weblogic server console --> Deployments --> DBAdapter --> Configurations --> Outbound Pool Connections --> create a new outbound pool connection with the name "eis/db/soademodata".
    Now update the "xADataSourceName" property of this connection pool with the JNDI name of the datasource created in the first step.
    Regards,
    KSN Pavan
    Edited by: KSN Pavan on Jun 30, 2010 2:51 AM

  • How to get the SQL file name in SQL*plus

    hi all,
         I have created two sql file at C drive as "c:\Createtable.sql" and "c:\Deletetable.sql"
    afterwards i open
    C:\>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 30 11:37:10 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter user-name: scott/tiger
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @C:\Createtable.sql'
    Table created.
    SQL> @'C:\Deletetable.sql'
    Table dropped.
    SQL>My problem is to get the name of the file as "c:\createtable.sql" and "C:\Deletetable.sql" in sql*plus enviornment.
    Thanks & Regards
    Singh

    Dear Damorgan,
         >>your version number to three decimal places
         My Oracle DB Version i have already stated in my previous post is 10.2.0.1.0
    Actually my problem is to get the sql files name we run in sqlplus enviornment with @ symbol. like
    i have created one sql file in c drive as
    "C:\Createtable.sql"
    afterwords i have connected to sqlplus as
    sql> conn scott/tiger
    sql>@c:\createtable.sql
    Now i want some query to get the name of the file which is run.
    In actual my problem is as
    i have suppose 10 or more SQL files in some folder ( sql1.sql, sql2.sql, sql3.sql ....).
    i created one file to call all the 10 sql files (main.sql)
    i have also one track_table which will keep track that which sql file is runned.
    I want some automated script which will insert the record in that track_table....... for that i need the name of sql file which is runned.
    Hope this will help you.
    Thanks & Regards
    Singh

  • Issue with Lightroom CC 2015's before and after (\) - Windows 7

    Okay, I downloaded Lr CC 2015 and everything is working great except for one thing - before and after. I edit an image then move to another (settings synced but needs a few refinements). I finish the edit and hit \ to take a look at where it started. When I do so, Lr decides to go back to the previous image, thinks about it, then shows me the before of the correct image. After the first time pressing \ it doesn't happen again, unless you move to another image. A little irritating, but something I can put up with. Is anyone having the same issue? Everything is up to date; graphics, OS, etc. Also worth noting, this does not happen with Lr 5.7.
    Any ideas, or should I post a bug report over on feedback.photoshop.com?
    Thank you,
    Benjamin

    Issue with Lightroom CC 2015 - Before and After (\)

  • Difference in behavior of sql and pl/sql after migrating from 9i to 11g

    after migrating our database from oracle 9i to oracle11g, the developpers are worry that the behavior of the queries and pl/sql procedures/functions will change
    example :
    in 9i, select salary,count(*) from emp group by salary, it will display the rows sorted by salary
    in 11gi, select salary,count(*) from emp group by salary, it will display the rows not sorted by default, we have to add the clause order by salary.
    somebody could give the list of other difference in behavior (SQL and PL/SQL) agter migrating from 9i to 11g
    Thanks a lot.

    Tell your developers: garbage in - garbage out. In relational databases only ORDER BY ensures row order. If your developers relied on GROUP BY implemented by SORT and therefore returning ordered rows they had to realize code they wrote is Oracle release dependent and sooner or later code would require changes. And that "sooner or later" is now reality. In newer versions ORACLE can do GROUP BY via SORT or via HASH. And if it is done via HASH - don't expect ordered results. So tell your developers "payback time".
    SY.

Maybe you are looking for

  • Voice Memos sync to itunes, but don't sync back to iPhone

    When I sync my iPhone with iTunes, the "Voice Memos" playlist gets created and I get my memos into iTunes just fine. However, I'm pretty sure I read somewhere that when you delete a memo from iTunes it should be deleted from your iPhone on the next s

  • Due to ORA-01033, I could not start my BW 3.5 instance

    Hello Friends, I am not able to start up my BI 3.5 instance from SAP GUI. Error in the SAP Manager console is "Database: > ORA-01033: ORACLE initialization or shutdown in progress"    So I shutdown my oracle database,log on as sysdba and applied foll

  • HELP!! PLEASE!! 3 PROBLEMS!!

    I have what appears to be "2 o_o" in between my battery charge indicator and the time... it won't go away, i have no notifcations left unchecked or voicemails.. Also I deleted my E-mail address because I thought that's why my fb wasn't working so I c

  • Acrobat.tlb / Accessibility.api

    Hello, I'm currently just starting work with the Acrobat APIs. In our product we want to let our customers (who purchase adobe, optionally) create their own legal forms in PDF and send the results to a web page which captures the finished product and

  • PC won't boot with CDRom Drives hooked up after iTunes install

    Hello All, After installing iTunes (initial, first time install on this machine) the computer would not fully boot. It would get to the Windows starting screen and the indicator bar would reach about 2/3 of the way complete and sit there. I tried reb