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]]);

Similar Messages

  • Face time with wifi only.  I have a 4Gs iPhone traveling to Japan.  Can I use face time with another 4Gs or IMacback in the States using just wifi and with I have my Celluar Data and Data Roaming off?

    Face time with wifi only.  I have a 4Gs iPhone traveling to Japan.  Can I use face time with another 4Gs or IMacback in the States using just wifi and with I have my Celluar Data and Data Roaming off?

    Thanks,  After changing my settings in face time per your suggestion, (it needed to be done),  I turned off cellular data and data roaming and made a call using face time.  It worked!  Great way to stay in touch while overseas without the need for those egregious phone data plans. 

  • Is RDC integration with Lotus notes apps possible using CR XI and lotus 8

    Hi,
    We have reporting feature implemented in one of lotus notes application using crystal reports 6 (OCX)  and as Crystal report is going to be upgraded to CR XI version in my organisation, we need to implement the same using RDC component.
    Background (on how it has been implemented using CR 6 ) :-
    i) Lotusscript generate few CSV file and pick a .RPT file from profile doc and places it under one folder on local machin (say x).
    ii) RPT file is designed to pick data from CSV file using system DSN (data source).
    iii) Data source (system DSN) has been configured with folder (x) that contains CSV and RPT file .
    iv) Crystal report control object has been embedded in the lotus notes form and lotusscript code gets handle of control object and opens the  report (RPT)file .
    We have set up all neccesary environment and trying to implement above functionality using RDC component but when we are embedding the crstal report report viewer in a lotus notes form , it throws an error "An error has occured while processing a request on an object".
    Please let me know if it possible using RDC or can anyone suggest me some other alternatives .
    TIA

    Hello,
    You should be able to use the RDC in Lotus Notes. There are significant differences between the object model for the old OCX (crystl32.ocx) compared to the Report Designer Component (RDC) and it's components, the craxdrt.dll, crviewer.dll, etc.
    I was able to find an older document that shows how to integrate CR9 into Lotus Notes: "[Using the Report Designer Component (RDC) in Lotus Notes|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50ce64b3-241f-2b10-b792-9685d3815a21]". You can use this as a starting point to compare with your code.
    The RDC object model hasn't changed much since CR9, but some of the runtime component references in the document may need to be correct (e.g. craxdrt.dll for v11.x vs craxdrt9.dll for v9.x).
    It is worth noting that the RDC has been retired with the release of CR2008. CR XIR2 (v11.5) is the last version of Crystal Reports that uses the RDC. The suggested migration path is to move to the Crystal Reports .NET SDK. This means you'll have no upgrade path with a v11.x application.
    Sincerely,
    Dan Kelleher

  • Can I package an app using just html and javascript and not flash ?

    Hi :
    Sorry for the question, but I'm a little confused. 
    I know I can use javascript with adobe air, I made some test and works great, but I'm not sure if my app will work in an iphone after I build the package.
    Thanks in advanced.

    No, that's not supported in this version of PFI.  From the Developer Guide: "You cannot write HTML- and JavaScript-based AIR applications for the mobile device profile."

  • If CASE Statement can be used just nest to 'WHERE' keyword in sql?

    HI All,
    There are 2 tables,
     dbo.headcount_smart_view & dbo.headcount_user_view,they
    are not joined i.e. there is no join between these 2 tables.
     User is trying to create the access restriction on table
    dbo.headcount_smart_view as below,
    The following case clause is just next to 'WHERE' keyword :
    CASE select distinct dbo.headcount_user_view.role_cd from
    dbo.headcount_user_view where UPPER(dbo.headcount_user_view.cmt_id) = UPPER(@Variable('BOUSER'))
    WHEN 8 THEN dbo.headcount_smart_view.l3_id In (select distinct
    dbo.headcount_user_view.divid from dbo.headcount_user_view
    where UPPER(dbo.headcount_user_view.cmt_id)=UPPER(@Variable('BOUSER')))
    WHEN 9 THEN dbo.headcount_smart_view.l4_id In (select distinct
    dbo.headcount_user_view.divid from dbo.headcount_user_view
    where UPPER(dbo.headcount_user_view.cmt_id)=UPPER(@Variable('BOUSER')))
    ELSE
    dbo.headcount_smart_view.l2_id In (select distinct
    dbo.headcount_user_view.divid from dbo.headcount_user_view
    where UPPER(dbo.headcount_user_view.cmt_id)=UPPER(@Variable('BOUSER')))
    END
    The user is getting 'syntax error', it seems that the value is not getting compared with any column hence getting the error.
    can case statment  be used just next to 'WHERE' keyword in sql? 

    I don't have the entire table query...
    but could u tell me wil the sql given below work ....
    if not, why? and what can be done to make it work ?
    SELECT * FROM Customers 
    where case select  CustomerID from customers 
    when 8 then 'Spock'
    when 9 then 'Yedi'
    else 'Jedi'
    end;
    Nope
    because of wrong syntax
    What the purpose of the case when statement here? I'm not seeing a condition in WHERE. You should use it in a condition like below
    SELECT * FROM Customers
    where case CustomerID
    when 8 then 'Spock'
    when 9 then 'Yedi'
    else 'Jedi'
    end = @SomeParameter
    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

  • Is it possible using SQLite to collect data from an older SQL database?

    Is it possible using SQLite to collect data from an older SQL database? Where can I find a possible answer. Thanks in advance.

    There are 3rd-party tools (see comprehensive list at http://www.kenhamady.com/bookmarks.html) that provide extra pdf functionality on top of the pdf export from Crystal. 
    In the case of my Visual CUT software, you can use hidden formulas inside your Crystal report to generate form fields (pre-populated as well as empty) as part of the pdf export process.
    hth,
    ido

  • Need help in writing a tricky sql/PL/Sql Procedure

    Hi,
    I have a Branch table with just two fields in it node1 and Node2, The table looks like this
    node1 | node2
    -------|---------
    1 | 2
    3 | 2
    3 | 4
    4 | 5
    1 | 5
    1 | 6
    5 | 6
    in the above data if you draw lines between node_1 and node_2 you will see that there are 3 different paths to get from 1 to 5, as follows
    /--------6-------\
    1----------------------5
    \2------3-------4/
    Now I need to Find all the nodes between 1 and 5 or all the possible paths from node 1 to node 5 in this case I have 3 possible paths they are as follows
    1-2-3-4-5
    1-3-5
    1-5
    Now I know if this data was stored in a hierarchical manner I can get the results i want by using CONNECT BY and SYS_CONNECT_BY_PATH.
    Is there a way to transform this data into a hierarchcal manner so that I can use the CONNECT BY or can somebody give me an Idea as to how to write a PL/SQL procedure to get the result I want.
    Any help will be greatly appreciated

    Hi!
    1.Create another table Branch1 to hold 'transformed data'.
    2.Use the following procedure to insert data into branch1 table.
    declare
    cursor n is select * from branch;
    begin
    for nrec in n loop
    if nrec.node1 = 5 then
         insert into branch1(node1,node2) values(nrec.node2,nrec.node1);
    elsif nrec.node2= 5 then
         insert into branch1(node1,node2) values(nrec.node1,nrec.node2);
    else
    if      nrec.node2> 5      then
         insert into branch1(node1,node2) values(nrec.node1,nrec.node2);
    elsif nrec.node1> 5 then
         insert into branch1(node1,node2) values(nrec.node2,nrec.node1);
    elsif (nrec.node1 < nrec.node2 ) then
         insert into branch1(node1,node2) values(nrec.node1,nrec.node2);
    else
         insert into branch1(node1,node2) values(nrec.node2,nrec.node1);
    end if;
    end if;
    end loop;
    commit;
    end;
    3.Then execute the following connect by query:
    SQL> select lpad(' ',level*2,' ')||node1 from branch1
    2 start with node1=1
    3 connect by prior node2=node1;
    Hope this is satisfactory.
    Thanks!

  • A few tricky SQL statements

    I'm trying to do two fairly tricky SQL statements for a class, and been trying for a while and have gotten stuck.
    The first one is, "Find Courses where more than half the students got an A"
    I've basically been trying to use not exist statements to set it up and then compared the count(sid)/2 > count(sid) query of all A's and am just not getting decent results from it.
    The REALLY tricky one is "Find the pairs of students who took exactly the same set of courses"
    I can get a cross product from all students with something like this
    SELECT s1.sname, s2.sname
    FROM lab6_student s1, lab6_student s2
    WHERE s1.sname > s2.sname
    but after that I can't seem to get it to work properly at all.
    Thanks for any pointers/advice!

    1.
    SQL> WITH T
      2       AS (SELECT 'mathematics' course_name, 'john' student_name, 'A' grade FROM DUAL
      3           UNION ALL
      4           SELECT 'mathematics' course_name, 'john1' student_name, 'A' grade FROM DUAL
      5           UNION ALL
      6           SELECT 'mathematics' course_name, 'john2' student_name, 'A' grade FROM DUAL
      7           UNION ALL
      8           SELECT 'mathematics' course_name, 'john3' student_name, 'B' grade FROM DUAL
      9           UNION ALL
    10           SELECT 'physics' course_name, 'john' student_name, 'A' grade FROM DUAL
    11           UNION ALL
    12           SELECT 'physics' course_name, 'john1' student_name, 'B' grade FROM DUAL
    13           UNION ALL
    14           SELECT 'physics' course_name, 'john2' student_name, 'B' grade FROM DUAL
    15           UNION ALL
    16           SELECT 'physics' course_name, 'john3' student_name, 'B' grade FROM DUAL)
    17  SELECT   *
    18    FROM   T;
    COURSE_NAME STUDE G
    mathematics john  A
    mathematics john1 A
    mathematics john2 A
    mathematics john3 B
    physics     john  A
    physics     john1 B
    physics     john2 B
    physics     john3 B
    8 rows selected.
    SQL> WITH T
      2       AS (SELECT 'mathematics' course_name, 'john' student_name, 'A' grade FROM DUAL
      3           UNION ALL
      4           SELECT 'mathematics' course_name, 'john1' student_name, 'A' grade FROM DUAL
      5           UNION ALL
      6           SELECT 'mathematics' course_name, 'john2' student_name, 'A' grade FROM DUAL
      7           UNION ALL
      8           SELECT 'mathematics' course_name, 'john3' student_name, 'B' grade FROM DUAL
      9           UNION ALL
    10           SELECT 'physics' course_name, 'john' student_name, 'A' grade FROM DUAL
    11           UNION ALL
    12           SELECT 'physics' course_name, 'john1' student_name, 'B' grade FROM DUAL
    13           UNION ALL
    14           SELECT 'physics' course_name, 'john2' student_name, 'B' grade FROM DUAL
    15           UNION ALL
    16           SELECT 'physics' course_name, 'john3' student_name, 'B' grade FROM DUAL)
    17  SELECT   *
    18    FROM   (SELECT     course_name, COUNT (*) total_cnt, SUM (CASE WHEN grade = 'A' THEN 1 ELSE 0 END) grade_cnt
    19                FROM   T
    20            GROUP BY   course_name)
    21   WHERE   grade_cnt > total_cnt / 2;
    COURSE_NAME  TOTAL_CNT  GRADE_CNT
    mathematics          4          3
    SQL>
    2.
    SQL> WITH T
      2       AS (SELECT '1' course_id, 'john' student_name FROM DUAL
      3           UNION ALL
      4           SELECT '2' course_id, 'john' student_name FROM DUAL
      5           UNION ALL
      6           SELECT '1' course_id, 'peter' student_name FROM DUAL
      7           UNION ALL
      8           SELECT '2' course_id, 'peter' student_name FROM DUAL
      9           UNION ALL
    10           SELECT '3' course_id, 'king' student_name FROM DUAL
    11           UNION ALL
    12           SELECT '4' course_id, 'king' student_name FROM DUAL)
    13  SELECT   *
    14    FROM t;
    C STUDE
    1 john
    2 john
    1 peter
    2 peter
    3 king
    4 king
    6 rows selected.
    SQL> WITH T
      2       AS (SELECT '1' course_id, 'john' student_name FROM DUAL
      3           UNION ALL
      4           SELECT '2' course_id, 'john' student_name FROM DUAL
      5           UNION ALL
      6           SELECT '1' course_id, 'peter' student_name FROM DUAL
      7           UNION ALL
      8           SELECT '2' course_id, 'peter' student_name FROM DUAL
      9           UNION ALL
    10           SELECT '3' course_id, 'king' student_name FROM DUAL
    11           UNION ALL
    12           SELECT '4' course_id, 'king' student_name FROM DUAL),
    13       r
    14       AS (SELECT     student_name, SUM (POWER ( 2, course_id)) val
    15               FROM   T
    16           GROUP BY   student_name)
    17  SELECT   DISTINCT student_name NAME
    18    FROM   r
    19   WHERE   EXISTS
    20              (SELECT     'x'
    21                   FROM   r r1
    22                  WHERE   r1.val = r.val
    23               GROUP BY   val
    24                 HAVING   COUNT (*) > 1);
    NAME
    john
    peterEdited by: G. on Feb 24, 2011 2:09 PM

  • How to operate multiple querys using DB Adapter and 'Execute Custom SQL'

    I have a requirment that I need to create database adapter in your BPEL process with 'Execute Custom SQL' to operate multiple query in DB in one atomic
    here are the details:
    inbound request:
    <ns1:Query_bpelProcessRequest>
    <ns1:input>
    <ns1:ItemDetail>
    <ns1:ItemID>1123DDDS</ns1:ItemID>
    </ns1:ItemDetail>
    <ns1:ItemDetail>
    <ns1:ItemID>1126EWWA</ns1:ItemID>
    </ns1:ItemDetail>
    <ns1:ItemDetail>
    <ns1:ItemID>11208FSAA</ns1:ItemID>
    </ns1:ItemDetail>
    </ns1:input>
    </ns1:Query_bpelProcessRequest>
    I use for-each fuction in XSLT to mapping the all ItemID value:
    <xsl:template match="/">
    <xsl:for-each select="/tns:Query_bpelProcessRequest/tns:input/tns:ItemDetail">
    <ns1:QueryFromDB_Input>
    <ns1:ItemID>
    <xsl:value-of select="tns:ItemID"/>
    </ns1:ItemID>
    </ns1:QueryFromDB_Input>
    </xsl:for-each>
    </xsl:template>
    and in DB Adapter I use the 'Execute Custom SQL' to query the CONTENT value according the ItemID value:
    select distinct CONTENT from agile.item where ITEM_NUMBER=’<ItemID>’
    However, in the result, It only query the first item value for <ns1:ItemID>1123DDDS</ns1:ItemID>
    <<QueryFromDB_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="QueryFromDB_Input_msg">
    <QueryFromDB_Input xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/QueryFromDB" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryFromDB">
    <ns1:ItemID>1123DDDS</ns1:ItemID>
    </QueryFromDB_Input>
    </part></QueryFromDB_InputVariable>
    <QueryFromDB_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="QueryFromDB_OutputCollection">
    <QueryFromDB_OutputCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryFromDB">
    <QueryFromDB_Output>
    <ITEM_NUMBER>1123DDDS</ITEM_NUMBER>
    <CONTENT >SJIFESSFFJ</CONTENT >
    </QueryFromDB_Output>
    </QueryFromDB_OutputCollection>
    </part></QueryFromDB_OutputVariable>
    the other two querys are not operated.
    what can I do to operate multiple querys??
    Thanks

    Hi Rod,
    I are using while loop and assign array inputvalue to the inputvarable of DBadapter now, but actually it doesn't work.
    Throw expection
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>XPath query string returns multiple nodes.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query /client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID["ItemIndex"] should not return multipe nodes.
    Please check the BPEL source at line number "89" and verify the part and xpath query /client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID["ItemIndex"].
    Possible reasons behind this problems are: some xml elements has maxOccurs > 1 or the xml data is invalid according to XML Schema.
    To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
    </summary>
    </part></selectionFailure>
    my inbound XSD:
    <element name="ItemsQuery_bpelProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="tns:inputType"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="inputType">
    <sequence>
    <element name="inputDetail" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="ProductID" type="string" minOccurs="0"/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    <element name="ItemsQuery_bpelProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="tns:outputType"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="outputType">
    <sequence>
    <element name="ItemOutput" minOccurs="0" maxOccurs="unbounded">
    <complexType>
    <sequence>
    <element name="item_id" type="string" minOccurs="0"/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    DB Adapter XSD:
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/QueryItem" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryItem" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="QueryItem_Input" type="QueryItem_Input"/>
    <xs:complexType name="QueryFrom_Input">
    <xs:sequence>
    <xs:element name="ProductID" type="xs:string" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="QueryItem_OutputCollection" type="QueryItem_OutputCollection"/>
    <xs:complexType name="QueryItem_OutputCollection">
    <xs:sequence>
    <xs:element name="QueryItem_Output" type="QueryItem_Output" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="QueryItem_Output">
    <xs:sequence>
    <xs:element name="item_id" type="xs:string" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    the bpel assign:
    <assign name="Initial_Index">
    <copy>
    <from expression="0"/>
    <to variable="ItemIndex"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('ItemIndex')&lt;ora:countNodes('inputVariable','payload','/client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID)">
    <sequence name="Sequence_1">
    <assign name="Assign_QueryInput">
    <copy>
    <from variable="inputVariable" part="payload"
    query='/client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID{bpws:getVariableData('ItemIndex')}'/>
    <to variable="QueryItem_InputVariable"
    part="QueryItem_nput_msg"
    query="/ns2:QueryItem_Input/ns2:ProductID"/>
    </copy>
    </assign>
    <invoke name="Invoke_QueryDB" partnerLink="QueryItem"
    portType="ns1:QueryItem_ptt"
    operation="QueryItem_PSFT"
    inputVariable="QueryItem_InputVariable"
    outputVariable="QueryItem_OutputVariable"/>
    <assign name="Assign_Output">
    <copy>
    <from variable="QueryItem_OutputVariable"
    part="QueryItem_OutputCollection"
    query="/ns2:QueryItem_OutputCollection/ns2:QueryItem_Output/ns2:item_id"/>
    <to variable="outputVariable" part="payload"
    query='/client:ItemsQuery_bpelProcessResponse/client:result/client:ItemOutput/client:item_id{bpws:getVariableData('ItemIndex')}'/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('ItemIndex')+1"/>
    <to variable="ItemIndex"/>
    </copy>
    </assign>
    </sequence>
    </while>
    I use {} instead of  []  for array,  because [] seams not reveal in this message board
    seems I can't assign array values to the DB inputvalue, Are there any solutions for this ?
    I still haven't found any way for operating multiple querys using DB Adapter.
    Thanks
    Edited by: user1065212 on 07-Jan-2010 19:39
    Edited by: user1065212 on 07-Jan-2010 19:41
    Edited by: user1065212 on 07-Jan-2010 19:44
    Edited by: user1065212 on 07-Jan-2010 19:45

  • What easy to use (MS or third party) tool can I use to create and host a webservice API on a SQL server database

    I'm looking for a (MS or third party) tool with which I can create, publish and host webservice API's on a custom SQL database. For example a API which presents all customers, or validates a user login.
    I prefer a tool that can be used without .NET programming skills, just using database scripts and queries.
    Could somebody suggest a tool for this?
    Many thank,
    Slowytech

    Use Visual Studio (Microsoft Visual Studio Express 2013 for Web ) and the WebAPI framework.  You can easily create REST endpoints for your data.  You can even
    use ODATA to enable RESTful queries over your data.
    See
    http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Tricky sql queries for interview preparation

    Hi,
    I need tricky sql queries as preparation for interview.
    pls let me know if anybody has the such queries website address.
    or
    if you have materials pls mail me on
    [email protected]
    thnx

    NKU wrote:
    Great Work Kamran....:-)
    Regards,
    Navneet;)
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • What is the real time use of implicit and explicit cursors in pl/sql

    what is the real time use of implicit and explicit cursors in pl/sql.............please tell me

    You can check the following link ->
    http://www.smart-soft.co.uk/Oracle/oracle-plsql-tutorial-part5.htm
    But, i've a question ->
    Are you student?
    Regards.
    Satyaki De.

  • I just bought the new ipod touch, but when I try to sync it I get told to use the cloud and download from there.  How do I sync it to my itunes so that I get all my songs without going through cloud? Otherwise if this isn't possible I am taking this back!

    I just bought the new ipod touch, but when I try to sync it I get told to use the cloud and download from there.  How do I sync it to my itunes so that I get all my songs without going through cloud? Otherwise if this isn't possible I am taking this back!

    Thanks for no help... but for anyone else, turn off itunes match on the ipod

  • I just want know if is possible use the iphone's charge battery for the i-pod touch. Thank you!

    i just want know if is possible use the iphone's charge battery for the i-pod touch. Thank you!

    Using an  iPhone wall charger for the iPod is fine.  You can also use an iPhone cable for the iPod.
    The term " iphone's charge battery" is not really clear.

  • I need help verifying the details of a used ipad mini I'm about to buy. Is this possible by just providing the serial

    I need help verifying the details of a used ipad mini I'm about to buy. Is this possible by just providing the serial

    It depends on what you mean by "verifying the details".  sberman gave you the best place to look to research the technical specifications of the device you are thinking of purchasing. If, however, you're asking how to check if the device is Activation Locked, then you can check the status here: https://www.icloud.com/activationlock/

Maybe you are looking for

  • Creation of cheque numbers

    Hi gurus,     i want to create the same cheque numbers year wise for eg:    year              no's               2006          1-1000               2007          1-1000 can any one tell me is it possible. if it is tell me the procedure most urgent

  • Why won't Elements 9 trial download

    I am trying to download a trial version of photoshop elements 9 to see how I like it before buying it and no luck for 2 days getting it to download.  Called support and they were NO HELP AT ALL!!!  The man who could barely speak english said not much

  • I am new here (want to know some informations regarding java

    Hi all I am a student of information technology in Italy and unfortunatly I dont understand very well my professor of java.I want to know how I can insert the images in a Jtable ? and it would be better if someone could guide me providing source code

  • SAP B1 Login took so long...

    hi to all. just a newbie here. we're currently running SAP B1 at IBM x3400 in Windows Server 2003.  We're using MSSQL 2005 Standard. we had a problem in login time in SAP B1. it took 2 minutes to successfully login in a certain database. Hope you hav

  • I want to subscribe to Captivate 7 (one-year) but can't?

    I want to subscribe to Captivate 7 (one-year) but can't? When I go to https://www.adobe.com/nz/ and choose the buy tab then choose Captivate 7 - the one-year subscription option. It adds Captivate 6 Subscription Edition (one-year) to my cart? Is ther