PL/SQL - cows and bulls

I made a script to find the next matches of the search number.

For example

Secret number: 4361

First try: 1234 - 3 cows, Bulls 0

Executed query is:

Select n1: n2: n3 | n4 as Num

Of

()Select substr (num, 1, 1) n1, substr (num, 2, 1) n2, substr (num, 3, 1) n3, substr (num, 4) n4

Of

()Select to_char (rownum + 1233) num

De ()Select dummy of double d connect by nocycle 1=1( )

rowNum <= 9876 - 1233 )

instr(num, '0') = 0

et instr (substr (num, 2), substr (num, 1, 1)) = 0

et instr (substr (num, 3), substr (num, 2, 1)) = 0

et instr (substr (num, 4), substr (num, 3, 1)) = 0 ),

    (Select '1' qn1, '2' qn2, '3' qn3, '4' qn4, 3 cows, 0 bulls

de double

/** /

Union

Select qn1 '2 ', '1' qn2 qn3 ' 4', 5' qn4, 2 cows, Bulls 0

Double

/** /

Union

Select qn1 '3 ', '4' qn2 qn3 ' 1', 6' qn4, 4 cows, Bulls 0

Double

/**/

) q

bulls =

    (Select sum(decode(n1, qn1, 1, 0) + decode(n2, qn2, 1, 0) + decode(n3, qn3, 1, 0) + decode(n4, qn4, 1, 0))

De double)

et cows =

    (Select sum(

         decode(n1, qn2, 1, 0) + decode(n1, qn3, 1, 0) + decode(n1, qn4, 1, 0) +

         decode(n2, qn1, 1, 0) + decode(n2, qn3, 1, 0) + decode(n2, qn4, 1, 0) +

         decode(n3, qn1, 1, 0) + decode(n3, qn2, 1, 0) + decode(n3, qn4, 1, 0) +

         decode(n4, qn1, 1, 0) + decode(n4, qn2, 1, 0) + decode(n4, qn3, 1, 0))

De double)

Group by N1, n2, n3, n4

Having County (*) = 1

Order by 1 ;

The result is: 220 selected lines

1 2145

2 2146

3 2147

219 9421

220 9423

Then try: 2145 - 2 cows, Bulls 0

Executed query is:

Select n1: n2: n3 | n4 as Num

Of

()Select substr (num, 1, 1) n1, substr (num, 2, 1) n2, substr (num, 3, 1) n3, substr (num, 4) n4

Of

()Select to_char (rownum + 1233) num

De ()Select dummy of double d connect by nocycle 1=1( )

rowNum <= 9876 - 1233 )

instr(num, '0') = 0

et instr (substr (num, 2), substr (num, 1, 1)) = 0

et instr (substr (num, 3), substr (num, 2, 1)) = 0

et instr (substr (num, 4), substr (num, 3, 1)) = 0 ),

    (Select '1' qn1, '2' qn2, '3' qn3, '4' qn4, 3 cows, 0 bulls

de double

/**/

Union

Select '2' qn1, '1' qn2, '4' qn3, '5' qn4, 2 cows, 0 bulls

de double

/** /

Union

Select qn1 '3 ', '4' qn2 qn3 ' 1', 6' qn4, 4 cows, Bulls 0

Double

/**/

) q

bulls =

    (Select sum(decode(n1, qn1, 1, 0) + decode(n2, qn2, 1, 0) + decode(n3, qn3, 1, 0) + decode(n4, qn4, 1, 0))

De double)

et cows =

    (Select sum(

         decode(n1, qn2, 1, 0) + decode(n1, qn3, 1, 0) + decode(n1, qn4, 1, 0) +

         decode(n2, qn1, 1, 0) + decode(n2, qn3, 1, 0) + decode(n2, qn4, 1, 0) +

         decode(n3, qn1, 1, 0) + decode(n3, qn2, 1, 0) + decode(n3, qn4, 1, 0) +

         decode(n4, qn1, 1, 0) + decode(n4, qn2, 1, 0) + decode(n4, qn3, 1, 0))

De double)

Group by N1, n2, n3, n4

Having County (*) = 2

Order by 1 ;

Result: 64 selected lines

1 3416

2-3417

3 3418

9413 63

64 9423

Third try: 3416 - 4 cows, Bulls 0

Executed query is:

Select n1: n2: n3 | n4 as Num

Of

()Select substr (num, 1, 1) n1, substr (num, 2, 1) n2, substr (num, 3, 1) n3, substr (num, 4) n4

Of

()Select to_char (rownum + 1233) num

De ()Select dummy of double d connect by nocycle 1=1( )

rowNum <= 9876 - 1233 )

instr(num, '0') = 0

et instr (substr (num, 2), substr (num, 1, 1)) = 0

et instr (substr (num, 3), substr (num, 2, 1)) = 0

et instr (substr (num, 4), substr (num, 3, 1)) = 0 ),

    (Select '1' qn1, '2' qn2, '3' qn3, '4' qn4, 3 cows, 0 bulls

de double

/**/

Union

Select '2' qn1, '1' qn2, '4' qn3, '5' qn4, 2 cows, 0 bulls

de double

/**/

Union

Select '3' qn1, '4' qn2, '1' qn3, '6' qn4, 4 cows, 0 bulls

de double

/**/

) q

bulls =

    (Select sum(decode(n1, qn1, 1, 0) + decode(n2, qn2, 1, 0) + decode(n3, qn3, 1, 0) + decode(n4, qn4, 1, 0))

De double)

et cows =

    (Select sum(

         decode(n1, qn2, 1, 0) + decode(n1, qn3, 1, 0) + decode(n1, qn4, 1, 0) +

         decode(n2, qn1, 1, 0) + decode(n2, qn3, 1, 0) + decode(n2, qn4, 1, 0) +

         decode(n3, qn1, 1, 0) + decode(n3, qn2, 1, 0) + decode(n3, qn4, 1, 0) +

         decode(n4, qn1, 1, 0) + decode(n4, qn2, 1, 0) + decode(n4, qn3, 1, 0))

De double)

Group by N1, n2, n3, n4

Having County (*) = 3

Order by 1 ;

Result: 1 selected line

1-4361

What I don't like in my query is expressions:

Having County (*) = 1

Having County (*) = 2

Having County (*) = 3

Can you help me change the query if won't be necessary to change this expression?

You can try

Select n1 | N2 | N3 | N4

from (select rownum n1 from dual connect by level<= 9="">

(select rownum n2 from dual connect by level<= 9="">

(select rownum n3 from dual connect by level<= 9="">

(select rownum n4 from dual connect by level<= 9="">

where n1 not in (n2, n3, n4)

and n2 not in (n3, n4)

and n3 not in (n4)

and not exists (select null

from (select 1 qn1, qn2 2, 3, 4 qn3 qn4, 3 cows, Bulls 0 double)

Union of all the

Select qn1 qn2 2, 1, 4, 5 qn3 qn4, 2 cows, Bulls 0 double

Union of all the

Select qn1 3, 4, 1 qn2 qn3, 6 qn4, 4 cows, Bulls 0 double

)

cases where when n1 (qn2, qn3 qn4) then 1 else 0 end

+ When case n2 (qn1, qn3 qn4) then 1 else 0 end

+ When n3 (qn1, qn2 qn4) then 1 else 0 end

+ When case n4 (qn1, qn2 qn3) then 1 else 0 end! cows =

or decode (n1, qn1, 1, 0) + decode (n2, qn2, 1, 0)

decode (n3, qn3, 1, 0) + decode (n4, qn4, 1, 0). = Bulls

)

Tags: Database

Similar Questions

  • How do I install sql 2008 and sql 2008 R2 on the same user account in vista

    I am trying to install sql 2008 and sql 2008 r2 on the same user account and get error message that the account cannot be used. How can I install sql 2008 and sql 2008 r2 on the same user account in vista

    Hello

    try to repost/ask in the SQL Server forums

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

  • connection between sql server and java

    someone please tell me how to connect to sql server with java

    Welcome to the forums.

    The forums are a research tool very useful - by using the search box you will see near the top right.  You will find that most of the questions that ask you, which, have already been asked on the forum, so it pays to research frist - that way you get a faster response and you can find other interesting things.

    In this case, I did a quick search using SQL Server and found these threads that will probably help:

    http://supportforums.BlackBerry.com/T5/Java-development/database-connectivity-SQL-Server-2008/m-p/60...

    http://supportforums.BlackBerry.com/T5/Java-development/SQL-Server-connection-in-BB/m-p/416391#M8239...

  • latitude longitude coordinates SQL Server and the plot on the map of the brochure

    My question is basically:

    How to transform the data from SQL Server and map by unfolding?

    TIP: We run 11 Coldfusion, SQL Server 2000, flyer and JQuery if that helps somehow. If I need to download a javascript library, I can easily do.

    I ambulance and fire events in a database with the xy coordinates. My goal is to ask them about the news and place them on a map of the brochure. All our ambulances and fire trucks have gps in them and they broadcast at all times their location and status. Here's my query to get the latest data from gps for each truck;

    /*

    SQL Server 2000

    David Kulpanowski

    June 4, 2015

    Lee County EMS

    */

    SELECT

    DateTimeStamp

    RTRIM (CallSign) AS [Guide]

    RTRIM (UnitStatus) AS [UnitStatus]

    Latitude

    Longitude

    CONVERT (VARCHAR (15), DateTimeStamp, 106) AS [CurrentDate]

    CONVERT (VARCHAR (10), DateTimeStamp, 108) AS [CurrentTime]

    OF FireEMSGPSDatabase

    RIGHT OUTER JOIN

    (

    SELECT

    RTrim (CallSign) AS [Ambulance]

    MAX (DateTimeStamp) AS [MostRecentTime]

    OF HISTORY_201506

    WHERE RTRIM (CallSign) AS "LCM__".

    RTRIM GROUP (CallSign)

    )

    LIKE [MostRecent] on DateTimeStamp = MostRecent.MostRecentTime

    ORDER BY RTRIM (CallSign) CSA

    ;

    Shown below is an example of this query output;

    Call DateTimeStamp Latitude UnitStatus Longitude CurrentDate CurrentTime

    2015-06-04 17:14:17.357 LCM01 QA 26.56428 - 81.87044 June 4, 2015 17:14:17

    2015-06-04 17:14:17.357 LCM01 QA 26.56428 - 81.87044 June 4, 2015 17:14:17

    2015-06-04 17:14:18.670 LCM02 QA 26.64074 - 81.86507 June 4, 2015 17:14:18

    2015-06-04 17:14:34.420 LCM03 AR 26.64157 - 81.90973 June 4, 2015 17:14:34

    2015-06-04 17:14:20.420 LCM04 TA 26.63885 - 81.94159 June 4, 2015 17:14:20

    2015-06-04 17:14:21.297 LCM05 QA 26.4377 - 82.07806 June 4, 2015 17:14:21

    Below is my Coldfusion page with the flyer plan added in and the cfquery with cfoutput;

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < meta name = "viewport" content = "width = device-width, original scale = 1.0" >

    " < link rel ="stylesheet"href =" http://CDN.leafletjs.com/leaflet-0.7/leaflet.CSS "/>

    " < script src =" http://CDN.leafletjs.com/leaflet-0.7.3/leaflet.js "> < / script > .

    < / head >

    < body >

    < cfquery datasource = "GPSDatabase" name = "AmbulanceLocation" >

    SELECT

    DateTimeStamp

    RTRIM (CallSign) AS [Guide]

    RTRIM (UnitStatus) AS [UnitStatus]

    Latitude

    Longitude

    CONVERT (VARCHAR (15), DateTimeStamp, 106) AS [CurrentDate]

    CONVERT (VARCHAR (10), DateTimeStamp, 108) AS [CurrentTime]

    OF FireEMSGPSDatabase

    RIGHT OUTER JOIN

    (

    SELECT

    RTrim (CallSign) AS [Ambulance]

    MAX (DateTimeStamp) AS [MostRecentTime]

    OF HISTORY_201506

    WHERE RTRIM (CallSign) AS "LCM__".

    RTRIM GROUP (CallSign)

    )

    LIKE [MostRecent] on DateTimeStamp = MostRecent.MostRecentTime

    ORDER BY RTRIM (CallSign) CSA

    < / cfquery >

    < cfoutput query = "AmbulanceLocation" >

    < table >

    < b >

    < td > #DateTimeStamp # < table >

    < td > #CallSign # < table >

    < td > #UnitStatus # < table >

    < td > #Latitude # < table >

    < td > #Longitude # < table >

    < td > #CurrentDate # < table >

    < td > #CurrentTime # < table >

    < /tr >

    < /table >

    < / cfoutput >

    < div id = ' map' > < / div >

    < script >

    var L.map = map ('plan' {Center: [26.5641867068354,-81.8704100173261], fullscreenControl: true, zoom: 12});

    L.tileLayer ('http://{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(map);

    < /script >

    < / body >

    < / html >

    To sum it all up - I have a SQL Server query that retrieves the last my ambulances xy coordinates. I have a Coldfusion page that has a map of the brochure and the cfquery. My question is how to plot coordinates in a flyer plan. I can't understand the middle of the book to get the results of my query in terms of the brochure.

    In addition, it is a dynamic environment. Ambulances are constantly in motion. This page must be dynamic, so that the page can be updated to show the latest data.

    You must create the map and tile layer prior to place markers and then run your loop inside of the script tag.

    I highly recommend reading through the tutorials on the site of the brochure.  They go on these things in detail.

    Quick start - leaflet guide - a JavaScript library for the mobile environment maps

  • In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date?

    Hello world

    During playback of Oracle ADF Real World Developer's Guide, I noticed the dates match occurring in JDeveloper is different from what is the list in the book. JDeveloper is failing to oracle.jbo.domain.Date, but according to the book:

    DATEjava.sql.DateDATE type is mapped to java.sql.Date if the column in the table is a no time didn't need information zone.
    DATEjava.sql.TimestampDATE type is mapped to java.sql.Timestamp if the column in the table has a component "time" and that the client needs to zone information.
    TIMESTAMPjava.sql.TimestampThe TIMESTAMP type is mapped to java.sql.Timestamp if nanosecond precision is used in the database.

    In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date? Using java.sql.Date and java.sql.Timestamp could save me some headaches conversion date. And, is there a place in JDeveloper to display these maps? I looked around and didn't see anything.

    Thank you.

    James

    User, what version of jdev we are talking about?

    In GR 11, 1 material versions db types date and timestamp are mapped to types of domain data that represents a wrapper for the native data types. The reason was that the framework can work with the domain types regardless of the underlying data type.

    Since Oracle 11 GR 2 maps the types DB to java types (default selection, you can change it when you create a model project, you can set the Data Type Mapping). Once the pilot has business components define you cannot change this setting it would break existing components such as eo or vo.

    So if you are working wit 11 GR 1 subject, you must use the domain types, if you work with GR 11, 2 or 12 c, you can use the domain types, but it is recommended to use the java type mapping.

    Timo

  • Interlink with Sql server and Oracle

    Hello

    We have some data in SQL Server.
    We need to link SQL Server and Oracle Database. To make reports in Oracle Apex.

    Please someone guide me to interconnect with Oracle database

    Kind regards
    Thérèse

    Therese,
    You can find more information on gateways in this available in My Oracle Support note-

    Note to master for the Oracle Gateway (Doc ID 1083703.1) products

    Kind regards
    Mike

  • Dimension to build using the SQL table and process to populate the SQL table

    I have a dimension in a cube that is manually* built by one of our power users. Now, I have to get all the information of members of this dimension in a SQL table (example: with columns... Level0, level0property, level1, level1property etc...) to use this table in the STUDIO for the responsibility of the Member.

    Is there any easy process to do this? Currently I am building each line manually in the SQL table and there are 1100 + members in that manually built dimension. Please advice.

    Look at the outline of applied olap Extractor is a free utility

  • Developer SQL, SQL Server and the ampersand

    Hello

    I am connected to a SQL Server database (2008) and has difficulties to get a query runs correctly in SQL Developer (3.1.07).

    Simplified example

    Select table_field
    table
    where table_field <>'This & That ';

    Expected results

    table_field
    Other stuff
    Other stuff
    Other stuff

    Actual results

    table_field
    Other stuff
    This & That
    This & That
    ....


    I can't get SQL Developer to recognize as a literal ampersand &. I tried it out in many ways, but he still thinks it's a variable.

    The query works exactly as expected in MS SQL Management Studio and Toad. Of course, I can just run it in one of these, but I would try to get this working with SQL Developer. Suggestions?

    Please let me know if I can provide further information. Thank you.

    Hello

    SQL worksheet to developers is designed for Oracle, but we allow you to execute instructions SQL Server and other databases Oracle not.
    This can lead to some quirks, such as the one you met.

    Oracle SQL * Plus uses and commercial for define substitution variables.
    Oracle SQL Developer has implemented the same concept.
    Unfortunately there is no sense when something is running on an Oracle database no.

    To work around the problem, you can run the following SQL * Plus command in SQL Developer, before your query SQL Server.
    TOGETHER TO DEFINE
    Select "Hello & Goodbye";

    The following may be useful as well.
    http://dermotoneill.blogspot.com/2010/11/workheet-hints.html
    http://dermotoneill.blogspot.com/2010/12/SQL-Server-and-Sybase-browsing.html

    Kind regards
    Dermot.
    SQL development team.

  • Replication of data between SQL Server and using Oracle11g materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target. I need fill out the target daily with change of the source data.
    to do this, we created a dblink between SQL Server and oracle and reproduced this table as a point of view, materialized in Oracle.
    problem that we get here is fast refresh option is not available.each day it will pick up all of the data source.
    is it possible to use Fast refresh in this scenario?

    Thanks in advance.

    Kind regards
    Balaram.

    You can try MS SQL replication.
    Configure transactional Standard of MS SQL and Oracle Publication subscriber http://msdn.microsoft.com/en-us/library/ms151738%28v=sql.90%29.aspx

  • vCenter on vOrchestrator on SQL 2005 and SQL 2008?

    I was reading the support for vCenter and vOrchestrator matrix and was surprised to see that vCenter is fully supported on SQL 2008 but vOrchestrator is only supported on SQL 2005. As we all migrate to SQL 2008, we want to install as many vSPhere on SQL 2008 as possible. Is - it possible/decision-making supported to install vSphere on SQL 2008 and then separately install vOrchestrator on SQL 2005? Installing vCenter it seems to me that if both components have been installed at the same time, but maybe it was because I was in a lab environment and went with the built-in SQL Express.

    Any word on what vOrchestrator will support SQL 2008? I really don't like VMware may not have common requirements for all their products. I know that vOrchestorator was an acquisition, but still... come on people! Life is complicated enough.

    vCenter and Orchestrator use their own databases, you can install vCenter on SQL 2008 and Orchestrator 2005 without problem.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • SQL * Net and Auditor job details

    Hello

    I am aware of SQL * Net and auditor of the concepts.

    SQL * Net Treaty of the transmission of data between the client to the server and vice versa.

    Listener established the connection between the user and the server process.

    I know that on the Oracle server, there are two. ORA files available in the file Admin/network for SQL * Net and the listener.

    I am interested in knowing the following things.

    (1) in my understanding, process user run the server and not the client.

    (2) Please share me the stream used between SQL * Net listener and how the flow occurs.

    After the TOAD or SQL * Plus creates connectivity and gets the Session, how they still work.
    I understand it, once the connection has been established, even when the listener goes down.
    SQL * over the connection to the server remains intact.

    Can you please share more fundamental and work know on these two areas, it is not 100% clear to me, thank you.

    See the post of Ed - http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/

    Srini

  • SQL apply and redo

    Hello

    What is sql apply and eredo? how it is used in the configuration of dg?

    Operating system: solaris 10u9
    DB: 11R2
    ASM: not configured

    Kind regards

    is related to the data active gurd?

    N °

    A few days back, someone said that there is no architecture that offers 0% data loss.is it true or not?

    SQL apply and redo the two seem to work on or on the logfile.so is the current work until the transaction commited? If I'm wrong correct me please...

    Depends on how you define "data loss": If you use the maximum protection mode Data Guard, Oracle says that there is no loss of data.
    See Data Guard protection mode http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/protection.htm#CHDDAHJD.

  • Data type of text is not displayed using SQL Server and ASP/VBScript

    Maybe someone help me with this because I used to use PHP/MySQL, but I use for this a Classic ASP/VBScript and MS SQL Server instance and I don't know that much. The scenario is I have an old site that was designed using html tables and I do a CSS/XHTML update on Visual design. As long as we are here, there are some pages that are dynamic and use a MS Access database and we thought it's a good time to upgrade from MS SQL Server (2005, to be exact). No time/money for bringing classic ASP VBScript in ASP .NET.

    Overall, the upgrade went fairly well, especially just to create a new connection to the DB in SQL Server in Dreamweaver after all the tables and data were migrated to SQL Server. Almost everything works as it should. A problem though.

    For some reason, the data of the data type 'text' in SQL Server is not appear (or sometimes appear). I even tried to recreate the recordsets and binds fresh data and the code is more or less identical to what we had before. Anyone know what's happening, or how I can get this data to show?

    I think that there is perhaps some simple and double quotes in the text data and which could be screwing things up. I was hoping there is only a simple function that I could apply the code, but as I said, I don't know.

    Thanks in advance for any help you can provide.

    -Bill

    captcashew wrote:
    > Maybe someone help me with this because I used to use PHP/MySQL, but for this one
    > instance I use Classic ASP/VBScript and MS SQL Server and I do not know
    > that much. The scenario is that I have an old site that was designed using html
    > tables and I do a CSS/XHTML update on Visual design. As long as we
    > are there, there are some pages that are dynamic and that use a MS Access
    > database and we thought it's a good time to upgrade from MS SQL Server
    > (2005, to be exact). No time/money to classic ASP VBScript in ASP.
    > .NET so.
    >
    > Overall, the upgrade went quite well, especially just needed a new
    > connecting to the DB in SQL Server in Dreamweaver after all tables and data
    > have been migrated to SQL Server. Almost everything works as it should. One of the problems
    > If.
    >
    > For some reason, the data of the data type 'text' in SQL Server is not
    > appear (or sometimes appear). I even tried to recreate the recordsets and
    > binds fresh data and the code is more or less identical to what we had
    > front. Anyone know what's happening, or how I can get this data to show?
    >
    > I think that maybe there are single and double quotes in the text
    > data and which could be screwing things up. I was hoping that there is only a simple
    > function I could apply the code, but as I said, I don't know.
    >
    > Thanks in advance for any help you can provide.

    Your text field should be the last of your select statement, as
    its not stored in the table with the other data, its stored elsewhere,
    as a binary object, should be treated differently. Its common
    the migration of the access problem.

    If you need more of 8000 characters stick with him, otherwise use
    varchar (8000) or nvarchar (4000) If you need (limited unicode characters
    4,000 cos of the double byte characters)

    Dooza
    --
    Display guidelines
    http://www.Adobe.com/support/forums/guidelines.html
    How to ask Smart Questions
    http://www.CatB.org/ESR/FAQs/smart-questions.html

  • data replication with ODI between SQL SERVER and ORACLE

    Hello world
    First of all, I want to migrate database SQL SERVER and ORACLE DB tables.
    And then make online (synchronous) replication from SQL SERVER to ORACLE using ODI.

    I have not used before ODI.
    How to use the ODI for this?

    1. create a master repository and connect to the "topology Manager.
    2. in the topology Manager, you must configure the following
    2.1 create a data server for the Oracle under Oracle database in the physical connection
    2.2. create a database for the SQL Server database server in SQL Server in the physical connection. To do this, the jdbc for sql server driver.
    2.3 implement the logical connection and frame
    2.4 create a workrepository in the topology manager repositories tab
    3. connect to the designer and follow these steps
    3.1 create a template for the SQL Server source and reverse (import) the datastores (tables) to the model.
    3.2 the value of the model for the target of the Oracle
    3.3 create a (mapping) interface, under the table in schema define the source and then add it to the target and bind
    3.3 on the flow tab, you must set the Modules (KMs) of knowledge to perform the load. You must have imported the KMs before creating the interface.
    3.4 in IKM put 'create table traget' to 'yes '.
    4 run the interface to load data from SQL to Oracle Server

    Thank you
    Fati

  • SQL/XML and Inline views

    I learn just XQuery and SQL/XML and believe that SQL/XML that will work best for my current need.

    Is it possible to do to the line and subqueries in SQL/XML, everything as we often use in SQL? The data that I will need at least two views inline who stand in the FROM of the SQL statement.

    In principle, this should be possible, but you need to develop a little more, so far it's a pretty general question. The preferred method of 10.2(.0.3.0) and would be XQuery, if only it is much more powerful than "SQL/XML", while dealing with XML data.

Maybe you are looking for

  • Save the address Suggestion Prefs - Options/Privacy tab bar

    I'm having a problem with the Firefox-> Options-> Privacy tab-> address bar-> when to suggest (x) command sequence. Namely, that it does not save my options. It seems suggesting bookmarks as a default, even if I have to say continuously simply sugges

  • How to check Microsoft's unsolicited calls are genuine

    I received a phone call unsolicited, claiming to be from Microsoft.  The person led me through a process to show that there are errors on my computer.  She asked me to open a free software - ammyy = to enable it to take and to fix things. She gave me

  • drive external hard when it is connected to the computer says hd not formatted want format you?

    drive external hard when it is connected to the computer says hd not formatted want format you? but it works fine on my other pc, the problem start when I installed registry booster please help thanks

  • PDFs in IE8

    I can't see pdf files when using IE8. Is there a fix any. It seems to be happenning to other institutions

  • Troubleshooting for websphere inactive agents

    Hi all I was sent followed on my systems WAS (I'm not an administrator WAS, and I understood some basic concepts before I deployed it). One of my agent is in idle state. I need to troubleshoot why its in idle state. I checked the startServer.sh of se