Basic WLAN query

This is my second week with the N95 and so far so good. I have posted one query on this forum and had a fantastic response.
I am interested in being able to connect the phone to my home PC to transfer files use the internet access and possibly stream music and video (not sure about that) from the pc to the phone. I have read several topics about connecting the N95 to a home wlan but these all appear to involve a router and a 'proper' network. All I have is one PC running xp media centre with a built in wireless adaptor.
I wondered if I would be able to connect the phone to the PC to do any or all of the above.
I have never set up a network at home and am not sure if this is even possible.
I would be grateful for any assistance.
Thanks

24-May-200704:47 PM
simonh wrote:
thanks for the help.
I have a cable modem it has no extra lan sockets and no wifi the only wifi is an adaptor in the pc.
As for the other question I dont think there are any static ip addresses.
What i have is just a pc pluged into a cable modem and a wifi adaptor.
I am not at home at present and do not have any other info.
Thanks again
I can see a way of getting the setup that you have working technically, but not sure if the N95 can communicate in the way I am about to describe.
What you would have to do is have the WiFi adapter permanently plugged into your PC which would then act as a router (you would have to install Internet Connection Sharing on your PC which is hopefully running XP !). You would then assign a static IP address (i.e. it always stays the same) to your N95 and the WiFi interface on your PC which would then route onto the internet for you. You would also have to have some form of DNS resolution so the phone knows what IP address a website maps to.
Definitely do-able but messy, as you have to have your PC on in order for the phone to access WiFi, and not sure how UPnP would treat the whole setup (which lets you do the sharing bit). If you're not on a budget, then I would strongly recommend that you get the setup that I have as well as a previous poster, nhharm has, which is as follows.
Purchase an integrated WiFi Cable router/firewall device which has UPnP functionality (they're very common). You configure the router to talk to your cable provider and then plug your PC into the router. (Make sure your PC is fully patched for all Windows patches as there are security loopholes in the generic Microsoft UPnP release). Then enable UPnP and WiFi on your router and your phone will then be able to access the internet directly without talking to your PC. Once you get UPnP working you will then be able to share files, and use the other functionality that UPnP provides (you will also need an additional application supplied on the N95 CD - I hope you didn't throw it away !)
I've just described the broad strokes of what you'll need to do to get it working. Now you need to decide which methodology you want to use (which will probably be dependent on budget !) and then I can talk you through the next stage as much as I can, as I suspect you'll need some help along the way.
By The Way - if you choose the first option (using Internet Connection Sharing) I'll try to help but I've never used this so it'll be the blind leading the blind
Regards,
Edward

Similar Messages

  • Basic SQL query scripts for SAP B1

    hi guys,
    do you have any documents, guides or reference links regarding basic SQL query scripts for SAP B1?
    thanks and have a nice day!
    blake p.

    Hi
    You can also check SBONotes.com.
    For sql understanding , you can search in websearch - tsql and it will pop up with informations you need.
    You can also refer to forum once you understand the basic techniques
    Hope this helps
    Bishal

  • Problems with basic spatial query

    I'm trying to learn Oracle Spatial working with 11g R2 and with 3D georeferenced data (specifically data describing buildings in a city).
    But I'm having trouble getting a basic query to work on my dataset (it works for the book example), and I'm trying to do it exactly the way it's done in the Spatial Developer's Guide for 11g.
    To learn how spatial queries work, I set up the cola_markets tables used in the documentation, made the appropriate manual entry in the user_sdo_geom_metadata view and created the index. Having done that, I can run the following simple query (as well as the others in the manual) on the book tables:
    SELECT SDO_GEOM.SDO_DISTANCE(c_b.shape, c_d.shape, 0.005)
    FROM cola_markets c_b, cola_markets c_d
    WHERE c_b.name = 'cola_b' AND c_d.name = 'cola_d';
    but when I try to do the same thing on my own tables (created from citygml data), I get an error. There is the difference that the data is 3D, and the index was created without any PARAMETERS ( ... ), hence is just 2D. But still I don't get why the following query doesn't work:
    SELECT SDO_GEOM.SDO_DISTANCE(c_w.envelope, c_b.envelope, 0.0005)
    FROM cityobject c_w,
    cityobject c_b
    WHERE c_w.id = 50025
    AND c_b.id = 50018;
    The id's for the buildings are valid, and I used the same tolerance used by the software that set up the database.
    Here's the error I get in SQL developer:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: 54535
    ORA-06512: at "MDSYS.SDO_3GL", line 637
    ORA-06512: at "MDSYS.SDO_GEOM", line 1973
    ORA-06512: at "MDSYS.SDO_GEOM", line 1990
    29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause: A Java exception or error was signaled and could not be
    resolved by the Java code.
    *Action: Modify Java code, if this behavior is not intended.
    So, thinking it might have something to do with the fact that it's a Java interface, I also tried running it from SQL/PL command line and get essentially the same thing:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.Exception: 54535
    ORA-06512: at "MDSYS.SDO_3GL", line 637
    ORA-06512: at "MDSYS.SDO_GEOM", line 1973
    ORA-06512: at "MDSYS.SDO_GEOM", line 1990
    Any ideas why this isn't working?

    Hi,-
    There are many ways to model a building with our open 3D data model:
    Please note that each polygon can be any planar surface as long as you dont use
    shortcut definitions like axis-aligned box as Siva mentioned. We dont allow curved surfaces in 3D.
    Gtype 3003 can be composite surface which means each polygon should be connected to another polygon with an edge. Etype must be then 1006. You can have as many polygons as possible as long as they are connected.
    Gtype 3003 can also be a single polygon. But, this will not be able to model a building.
    As you pointed out, maybe it is the footprint of the building.
    You can also model building with gtype 3008 which is simple or composite solid.
    Etype 1007 means it is simple solid and etype 1008 means it is composite solid.
    Composite solid has one or more solids which has at least one full or partial common surface in between.
    In your case with single polygon, you can use sdo_util.extrude as follows to make
    3D buildings. The surfaces created will be on the out-side surface of the building.
    You will not have walls inside the building when you use this following function:
    SELECT SDO_UTIL.EXTRUDE(
      SDO_GEOMETRY(
        2003,
        null,
        null,
        SDO_ELEM_INFO_ARRAY(1,1003,1),
        SDO_ORDINATE_ARRAY(5, 1,8,1,8,6,5,7,5,1)),
      SDO_NUMBER_ARRAY(0,0,0,0,0),
      SDO_NUMBER_ARRAY(5,10,10,5,5),
      0.005) from dual;
    SDO_UTIL.EXTRUDE(SDO_GEOMETRY(2003,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,1003,1),SDO_O
    SDO_GEOMETRY(3008, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1007, 1, 1, 1006, 6, 1, 10
    03, 1, 16, 1003, 1, 31, 1003, 1, 46, 1003, 1, 61, 1003, 1, 76, 1003, 1), SDO_ORD
    INATE_ARRAY(5, 1, 0, 5, 7, 0, 8, 6, 0, 8, 1, 0, 5, 1, 0, 5, 1, 5, 8, 1, 10, 8, 6
    , 10, 5, 7, 5, 5, 1, 5, 5, 1, 0, 8, 1, 0, 8, 1, 10, 5, 1, 5, 5, 1, 0, 8, 1, 0, 8
    , 6, 0, 8, 6, 10, 8, 1, 10, 8, 1, 0, 8, 6, 0, 5, 7, 0, 5, 7, 5, 8, 6, 10, 8, 6,
    0, 5, 7, 0, 5, 1, 0, 5, 1, 5, 5, 7, 5, 5, 7, 0))
    The following example returns the three-dimensional composite solid geometry representing an extrusion from a two-dimensional polygon geometry with inner rings.
    SELECT SDO_UTIL.EXTRUDE(
      SDO_GEOMETRY(
        2003,
        null,
        null,
        SDO_ELEM_INFO_ARRAY(1, 1003, 1, 11, 2003, 1,
          21, 2003,1, 31,2003,1, 41, 2003, 1),
        SDO_ORDINATE_ARRAY(0,0, 8,0, 8,8, 0,8, 0,0,
          1,3, 1,4, 2,4, 2,3, 1,3, 1,1, 1,2, 2,2, 2,1, 1,1,
          1,6, 1,7, 2,7, 2,6, 1,6, 3,2, 3,4, 4,4, 4,2, 3,2)),
      SDO_NUMBER_ARRAY(-1.0),
      SDO_NUMBER_ARRAY(1.0),
      0.0001) from dual;
    SDO_UTIL.EXTRUDE(SDO_GEOMETRY(2003,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,1003,1,11,200
    SDO_GEOMETRY(3008, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1008, 4, 1, 1007, 1, 1, 10
    06, 16, 1, 1003, 1, 46, 1003, 1, 91, 1003, 1, 106, 1003, 1, 121, 1003, 1, 136, 1
    003, 1, 151, 1003, 1, 166, 1003, 1, 181, 1003, 1, 196, 1003, 1, 211, 1003, 1, 22
    6, 1003, 1, 241, 1003, 1, 256, 1003, 1, 271, 1003, 1, 286, 1003, 1, 301, 1007, 1
    , 301, 1006, 10, 301, 1003, 1, 328, 1003, 1, 355, 1003, 1, 370, 1003, 1, 385, 10
    03, 1, 400, 1003, 1, 415, 1003, 1, 430, 1003, 1, 445, 1003, 1, 460, 1003, 1, 475
    , 1007, 1, 475, 1006, 6, 475, 1003, 1, 490, 1003, 1, 505, 1003, 1, 520, 1003, 1,
    535, 1003, 1, 550, 1003, 1, 565, 1007, 1, 565, 1006, 10, 565, 1003, 1, 592, 100
    3, 1, 619, 1003, 1, 634, 1003, 1, 649, 1003, 1, 664, 1003, 1, 679, 1003, 1, 694,
    1003, 1, 709, 1003, 1, 724, 1003, 1), SDO_ORDINATE_ARRAY(4, 0, -1, 4, 2, -1, 4,
    4, -1, 3, 4, -1, 2, 4, -1, 2, 7, -1, 1, 7, -1, 1, 6, -1, 1, 4, -1, 1, 3, -1, 0,
    3, -1, 0, 8, -1, 8, 8, -1, 8, 0, -1, 4, 0, -1, 4, 0, 1, 8, 0, 1, 8, 8, 1, 0, 8,
    1, 0, 3, 1, 1, 3, 1, 1, 4, 1, 1, 6, 1, 1, 7, 1, 2, 7, 1, 2, 4, 1, 3, 4, 1, 4, 4
    , 1, 4, 2, 1, 4, 0, 1, 4, 0, -1, 8, 0, -1, 8, 0, 1, 4, 0, 1, 4, 0, -1, 8, 0, -1,
    8, 8, -1, 8, 8, 1, 8, 0, 1, 8, 0, -1, 8, 8, -1, 0, 8, -1, 0, 8, 1, 8, 8, 1, 8,
    8, -1, 0, 8, -1, 0, 3, -1, 0, 3, 1, 0, 8, 1, 0, 8, -1, 0, 3, -1, 1, 3, -1, 1, 3,
    1, 0, 3, 1, 0, 3, -1, 1, 3, -1, 1, 4, -1, 1, 4, 1, 1, 3, 1, 1, 3, -1, 1, 4, -1,
    1, 6, -1, 1, 6, 1, 1, 4, 1, 1, 4, -1, 1, 6, -1, 1, 7, -1, 1, 7, 1, 1, 6, 1, 1,
    6, -1, 1, 7, -1, 2, 7, -1, 2, 7, 1, 1, 7, 1, 1, 7, -1, 2, 7, -1, 2, 4, -1, 2, 4,
    1, 2, 7, 1, 2, 7, -1, 2, 4, -1, 3, 4, -1, 3, 4, 1, 2, 4, 1, 2, 4, -1, 3, 4, -1,
    4, 4, -1, 4, 4, 1, 3, 4, 1, 3, 4, -1, 4, 4, -1, 4, 2, -1, 4, 2, 1, 4, 4, 1, 4,
    4, -1, 4, 2, -1, 4, 0, -1, 4, 0, 1, 4, 2, 1, 4, 2, -1, 0, 3, -1, 1, 3, -1, 1, 1,
    -1, 2, 1, -1, 3, 2, -1, 4, 2, -1, 4, 0, -1, 0, 0, -1, 0, 3, -1, 0, 3, 1, 0, 0,
    1, 4, 0, 1, 4, 2, 1, 3, 2, 1, 2, 1, 1, 1, 1, 1, 1, 3, 1, 0, 3, 1, 0, 3, -1, 0, 0
    , -1, 0, 0, 1, 0, 3, 1, 0, 3, -1, 0, 0, -1, 4, 0, -1, 4, 0, 1, 0, 0, 1, 0, 0, -1
    , 4, 0, -1, 4, 2, -1, 4, 2, 1, 4, 0, 1, 4, 0, -1, 4, 2, -1, 3, 2, -1, 3, 2, 1, 4
    , 2, 1, 4, 2, -1, 3, 2, -1, 2, 1, -1, 2, 1, 1, 3, 2, 1, 3, 2, -1, 2, 1, -1, 1, 1
    , -1, 1, 1, 1, 2, 1, 1, 2, 1, -1, 1, 1, -1, 1, 3, -1, 1, 3, 1, 1, 1, 1, 1, 1, -1
    , 1, 3, -1, 0, 3, -1, 0, 3, 1, 1, 3, 1, 1, 3, -1, 1, 6, -1, 2, 6, -1, 2, 4, -1,
    1, 4, -1, 1, 6, -1, 1, 6, 1, 1, 4, 1, 2, 4, 1, 2, 6, 1, 1, 6, 1, 1, 6, -1, 1, 4,
    -1, 1, 4, 1, 1, 6, 1, 1, 6, -1, 1, 4, -1, 2, 4, -1, 2, 4, 1, 1, 4, 1, 1, 4, -1,
    2, 4, -1, 2, 6, -1, 2, 6, 1, 2, 4, 1, 2, 4, -1, 2, 6, -1, 1, 6, -1, 1, 6, 1, 2,
    6, 1, 2, 6, -1, 1, 3, -1, 2, 3, -1, 2, 4, -1, 3, 4, -1, 3, 2, -1, 2, 1, -1, 2,
    2, -1, 1, 2, -1, 1, 3, -1, 1, 3, 1, 1, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 1, 3, 4, 1,
    2, 4, 1, 2, 3, 1, 1, 3, 1, 1, 3, -1, 1, 2, -1, 1, 2, 1, 1, 3, 1, 1, 3, -1, 1, 2
    , -1, 2, 2, -1, 2, 2, 1, 1, 2, 1, 1, 2, -1, 2, 2, -1, 2, 1, -1, 2, 1, 1, 2, 2, 1
    , 2, 2, -1, 2, 1, -1, 3, 2, -1, 3, 2, 1, 2, 1, 1, 2, 1, -1, 3, 2, -1, 3, 4, -1,
    3, 4, 1, 3, 2, 1, 3, 2, -1, 3, 4, -1, 2, 4, -1, 2, 4, 1, 3, 4, 1, 3, 4, -1, 2, 4
    , -1, 2, 3, -1, 2, 3, 1, 2, 4, 1, 2, 4, -1, 2, 3, -1, 1, 3, -1, 1, 3, 1, 2, 3, 1
    , 2, 3, -1))These are examples from Spatial User's Guide.
    ORA-54668 means that you need to update your srid to a 3D srid.
    Please check out Spatial User's Guide, Pro Oracle Spatial for 11g book and
    the following paper (which we can send you a copy offline)
    B. M. Kazar, R. Kothuri, P. v. Oosterom and S. Ravada, "On Valid and Invalid Three-
    Dimensional Geometries", 2nd International Workshop on 3D Geo-Information: Requirements, Acquisition,
    Modelling, Analysis, Visualisation, 12-14 December 2007, Delft, the Netherlands (Published as Chapter 2,
    pp. 19-46 in Advances in 3D Geoinformation Systems Series: Lecture Notes in Geoinformation and
    Cartography Oosterom, P.v.; Zlatanova, S.; Penninga, F.; Fendel, E. (Eds.) 2008, XX, 441 p. 235 illus.,
    Hardcover ISBN: 978-3-540-72134-5
    Maybe if you can post here an example geometry from your data,
    we can help you more.
    Hope these help.
    Thanks

  • Basic Spatial Query

    Hi guys,
    I am currently developing a java applet to display telecommunication sites taken from an Oracle 8.1.6 DB. The company I work for also happens to have the spatial cartridge which I intend to use to overlay a country map over my plottings. I have imported the map data into a table, and I can view the GEOLOC information as a huge stream of longs and lats via a simple SELECT query in SQLPLUS - so the data has been imported correctly.
    I have tried to digest huge articles on querying spatial information - however, unfortunately being an Oracle novice, it has left me quite dazzled.
    Basically all I want to do is take from my spatial table a list of long and lat coordinates (in double format) in a specific physical area, so that I can display them from there.
    I'd appreciate any help that anyone could give.
    null

    Hi David,
    There are a few things you will have to do in order to get this to work quickly.
    1) You will have to insert data into the user_sdo_geom_metadata field so Oracle Spatial can know some information about the data you've created (table name, spatial column name, information about upper and lower bounds as well as tolerance for each dimension.
    2) You'll need to create a spatial index on the data.
    3) You'll need to analyze the spatial index table.
    4) Then you can query the data. You'll have to decide whether you need exact answers (using the sdo_relate operator) or approximate answers based only on the index (sdo_filter operator).
    There is too much information required to put it all here, but I'll include a few samples.
    to insert data into user_sdo_geom_metadata:
    insert into user_sdo_geom_metadata values ('TABLE_NAME','GEOMETRY_COLUMN_NAME',
    mdsys.sdo_dim_array(mdsys.sdo_dim_element('X',-180.0,180,0.00000005),
    mdsys.sdo_dim_element('Y',-90,90,0.00000005)),NULL);
    commit;
    In the above example, TABLE_NAME is the name of the table with your geometry column, then the geometry column name, then the dimarray has attributes in it associated with each of two dimensions (two dimensional data is stored here), the first dimension has a lower bound of -180, and upper bound of 180, and a tolerance or 0.00000005 (the decimal precision of your data, with a 5 appended), the second dimension has the info supplied, and the last null means there is no coordinate system stored with the data. I'd suggest if you are a newbie to leave it as NULL, then ease into coordinate systems once you get more experience.
    2) create the index
    create index table_name_sidx
    on table_name(geometry_column_name)
    indextype is mdsys.spatial_index
    parameters('sdo_level=x');
    where x is usually a number between 6 and 14 based on the type of data you have. There is a lot to say about this, but I can't say it here.
    3) analyze the spatial index table:
    from sql*plus, run the following statements:
    set head off
    spool analyze_it.sql
    select ' analyze table ' | | sdo_index_table | | ' estimate statistics sample 32 percent;'
    from user_sdo_index_metadata order by sdo_index_table;
    spool off;
    @analyze_it.sql
    4) execute a query based on an area of interest:
    this statement will return all geometries that have any interaction with a query window specified by a rectangle with bounds
    2,2, 10,2, 10,10, 2,10, 2,2
    SELECT geometry_column_name
    FROM table_name
    where sdo_relate (geometry_column_name,
    mdsys.sdo_geometry(2003,NULL, NULL
    mdsys.sdo_elem_info_array(1,1003,1),
    mdsys.sdo_ordinate_array (2,2, 10,2, 10,10, 2,10, 2,2)),
    'mask=anyinteract querytype=window'
    = 'TRUE';
    You will have to dig more into each of these subject to understand them.
    Hope this helps,
    dan
    null

  • Can someone quickly spot the syntax error in this basic XML query?

    I'm very new to SQL/XML and I'm using this query in the basic HR schema provided by Oracle in the 10g Express Edition Database.
    I'm getting the "ORA-00907: missing right parenthesis" message when I run the following query, but the parenthesis all seem to match up:
    SELECT
    XMLELEMENT ("EMPLOYEES",
    XMLAGG(XMLELEMENT ("DEPARTMENTS",
    XMLELEMENT ("Department", department_name),
    (SELECT
    XMLELEMENT ("EMPLOYEE",
    XMLAGG(XMLELEMENT ("Empno", employee_id),
    XMLELEMENT ("Job", job_id),
    XMLELEMENT ("FirstName", first_name),
    XMLELEMENT ("LastName", last_name),
    XMLELEMENT ("Email", email),
    XMLELEMENT ("Phone", phone_number)))
    AS result
    FROM employees
    WHERE employees.department_id = departments.department_id)))
    AS result
    FROM departments)

    You do have the correct number of parenthesis, just the last one is in the wrong spot. Here is the corrected version. I moved the trailing ) to before "AS result"
    SELECT
    XMLELEMENT ("EMPLOYEES",
      XMLAGG(
        XMLELEMENT ("DEPARTMENTS",
          XMLELEMENT ("Department", department_name),
          (SELECT
             XMLELEMENT ("EMPLOYEE",
               XMLAGG(
                 XMLELEMENT ("Empno", employee_id),
                 XMLELEMENT ("Job", job_id),
                 XMLELEMENT ("FirstName", first_name),
                 XMLELEMENT ("LastName", last_name),
                 XMLELEMENT ("Email", email),
                 XMLELEMENT ("Phone", phone_number)
             ) AS result
             FROM employees
            WHERE employees.department_id = departments.department_id
    AS result
    FROM departmentsI don't have those tables installed but when I made a few tweaks and tried to run the above it encountered an error in regards to the inner XMLAGG. I tweaked your exampled and ended up with this. Feel free to change if not what you intended to produce.
    SELECT
    XMLELEMENT ("EMPLOYEES",
      XMLAGG(
        XMLELEMENT ("DEPARTMENTS",
          XMLELEMENT ("Department", department_name),
          (SELECT
             XMLAGG (
               XMLELEMENT("EMPLOYEE",
                 XMLFOREST (employee_id AS "Empno",
                            job_id AS "Job",
                            first_name AS "FirstName",
                            last_name AS "LastName",
                            email AS "Email",
                            phone_number AS "Phone"
             FROM employees
            WHERE employees.department_id = departments.department_id
    AS result
    FROM departments

  • Basic media query

    This is driving me to distraction, can anybody tell me why the extremely basic coding does not show correctly in the Multiscreen view for mobile.:
    The CSS:
    @charset "UTF-8";
    /* CSS Document */
    .container {
              width: 500px;
    .content {
              float: left;
              width: 235px;
              margin-top: 0px;
              margin-right: 15px;
              margin-bottom: 0px;
              margin-left: 0px;
              background-color: #900;
              height: 40px;
    @media only screen and (max-device-width: 320px) {
              .container {width: auto;}
              .content {
                        float:none;
                        margin: 0;
                        width: auto;
    and the html:
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Untitled Document</title>
    <link href="basic_mobile.css" rel="stylesheet" type="text/css" media="screen">
    <body>
    <div class="container">
    <div class="content"></div>
    <div class="content"></div>
    </div>
    </body>
    </html>
    Despite the media screen query canceling the Float it refuses to sit on on top of the other in the browser.
    Apologies for the basic nature of this but it is a sticking point.
    Ian

    Hi
    Not certain what you mean when you say,"shouldn't the two divs still stop floating though in the smaller browser window?", as the position of the divs are on the left by default in a browser, so they may give the impression of floating left, (try float right).
    Insert some text into the content div.
    PZ

  • Basic AD query

    Hi,
    I'm looking into using Power Query so that I can get up-to-date Active Directory information about our users. I want to be able to extract basic data like names, email addresses, department etc. When I query the user table in Power Query it returns the display
    names of all the users but no other useful columns (it shows things like securityPrinciple and posixAccount though). Is there some simple way I can use Power Query to combine data from multiple AD tables to provide a cohesive view of all our user data?
    I don't know the names of all the fields I want, so I'd rather just extract all the data and figure it out from there.
    Thanks in advance for anyone that can offer any help.

    When you connect to the user table, as you noted, there's a column of displayName and then a bunch of other columns. Are you familiar with the expand button? Most of the other columns in this table are links to other related tables so those columns have
    a little button to the right of the column name that looks like two arrows pointed left and right. Click that and then it will let you choose which of the embedded/related columns that you want to add to your table. I expect that the user, organizationalPerson,
    and person columns probably contain most of the data you want. But if you want to blow out every single column and then go from there (not good for performance but maybe easier to dig through) then just go to each column and click those expand buttons. You
    should end up with a huge table of data for each user.
    This is one of my favorite features in Power Query. It's a great way to dig through a data schema that you're not quite familiar with and pull in related information without worrying about joins and merges.

  • Basic question - querying xmltype column

    Hi,
    Sorry for the basic question but please could someone paste in a working 'select where' statement which will pick out only those rows containing an element with specified content.
    For example, how would I return n complete XML documents as query results for a situation where 'element_1' has text content 'apples'?
    This does not seem to work:
    SELECT x.xml_body.extract('/root_element/element_1/text()').getStringVal()
    FROM xmltable x
    WHERE x.xml_body.extract('/root_element/element_1/text()').getStringVal()='apples'

    Hi Paul,
    The query you have given works. I tried that query in the following format and it works.
    Query 1:
    SELECT x.xmlcol.extract(/Employee/Name/text()').getStringVal()
    FROM table_name x
    WHERE x.xmlcol.extract('/Employee/Name/text()').getStringVal()='Anu'
    Query 2:
    SELECT extractvalue(x.xmlcol,'//Name/text()')
    FROM table_name x
    WHERE extractvalue(x.xmlcol,'//Name/text()')='Srini'
    Both the queries work. The xml is of the following format
    <Employee company="Oracle">
    <Name>Anu</Name>
    <Department>OTN</Department>
    <Location>India</Location>
    </Employee>
    Can you please tell the database version on which you are working?
    For more information on XMLType you can refer the XMLDB Samples located at
    http://otn.oracle.com/sample_code/tech/xml/xmldb/content.html
    You can also refer to the XMLType Sample present at this location
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/9i_jdbc/content.html#xmltype
    to know how to work with XMLType columns.
    You can get back to us if you have any more doubts.
    Regards,
    Anupama Majety

  • Basic select query with round

    Hello everyone,
    I am very new to Oracle. I have a query that i use for getting table space statistics;
    Here is my query;
    "select * from dba_tablespace_usage_metrics"
    This returns me the data that i want it.
    like;
    TABLESPACE_NAME USED_SPACE TABLESPACE_SIZE USED_PERCENT
    PRRFK 52543200 57647104 91.14629591800483160437686514
    How can edit my query to show me the USED_PERCENT in 4 digit rather than long digits
    such as 91.14
    Any input greatly appreciated.
    Thank you.

    yes that what i am looking for but could not figure out where to put in the query.
    can you please put in the full query?
    Here is my actual query;
    select * from dba_tablespace_usage_metrics
    Thank you.

  • Basic sql query

    Hi all, I am trying to get a report using sql, but I do not get the data out.
    Select data1, sum(data2)
    from table1
    where date1 between '01-JAN-2007' and '01-JAN-2009'
    group by data1
    I know I have data because the query runs in sql+
    I do not get any error message, the reports is just empty.
    Can someone help me to understand what I am doing wrong?
    Many thanks
    Maria

    Hi,
    I thought you were using SQL server 2005, anyways if you are firing your query against Oracle, try this.
    Select data1, sum(data2)
    from table1
    where
    to_date(to_char(date1,'YYYY-MM-DD'),'yyyy/mm/dd') between
    to_date('2007/01/01','yyyy/mm/dd') and to_date('2009/01/01','yyyy/mm/dd')
    group by data1
    >>What is the problem with dates between Crystal reports and oracle databases?
    The problem is that when you compare the dates in strings then you need to provide them in the same format the date is stored with though you get in 'DD/MM/YYYY' on select but it is not necessarily be that, Thanks.
    Hope this helps.
    Thanks
    -Azhar

  • Basic negociation query

    Dear All,
    I had some queries running in my mind which iam sure could be cleared in this forum :)
    My scenario is like this...
    Client-1(b mode)------ AP(auto or mixed mode) ------ Client-2(g mode)
    Now suppose Client-1 wants to transfer data to client-2 via AP, what would be the rate of transfer of data
    a) 11 Mbps (b mode) - lowest of the two rates
    b) 11 Mbps (b mode) from Client-1 to AP and 54Mbps from AP to Client-2 and vice versa.
    can someone pl throw some light here.
    looing forward for your replies.
    - Queenie

    When you configure the 802.11g access point radio for best throughput, the access point sets all data rates to basic (required). This setting blocks association from 802.11b client devices. The best throughput option appears on the web-browser interface Express Setup and Radio Settings pages and in the speed CLI configuration interface command.
    The wireless device always attempts to transmit at the highest data rate that is set to Basic. If there are obstacles or interference, the wireless device steps down to the highest rate that allows data transmission.
    The data rates supported on an IEEE 802.11b, 2.4 GHz radio are 1 Mbps, 2 Mbps, 5.5 Mbps and 11 Mbps.
    The data rates supported on an IEEE 802.11g, 2.4 GHz radio are 1 Mbps, 2 Mbps, 5.5 Mbps, 6 Mbps, 9 Mbps, 11 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps and 54 Mbps.
    The data rates supported on an IEEE 802.11a, 5 GHz radio are 6 Mbps, 9 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps and 54 Mbps.

  • Basic design query

    Hi All,
    I have got an interesting question out here; perhaps something that everyone comes across at some point of time.
    I have a list of Presentation-Layer Object - say PObject
    I have a list of Business-Layer Object - say BObject
    Now, there is one-is-to-one mapping between them i.e. every BObject is associated with PObject and vice-versa.
    Query:
    What is the best way to represent such information in terms of data-structure?
    One way is to have a big ContainerObject which contains the PObject and corresponding BObject; and yes, have an array-list of this ContainerObject. But is this the best way? The problem with this approach is the search strategy - like if I ask you to fetch me the PObject with a specific attribute, I would need to iterate over the ContainerObject, get the corresponding PObject, check if the search condition is met... Not a very clean way...
    Any suggestions???
    Thanks in advance.
    Kind Regards,
    Jayant

    Jay@Java wrote:
    Hi All,
    I have got an interesting question out here; perhaps something that everyone comes across at some point of time.
    I have a list of Presentation-Layer Object - say PObject
    I have a list of Business-Layer Object - say BObject
    Now, there is one-is-to-one mapping between them i.e. every BObject is associated with PObject and vice-versa.
    Sounds like a bad design. Why two objects? Why not just pass the BObject around and tell your developers that presentation is just for view? It's a lot of code to write just to enforce layer purity.
    If you know aspects, you can write an aspect to guarantee that calls to business objects can only happen from the service layer back.
    Query:
    What is the best way to represent such information in terms of data-structure?
    My advice? Don't do it.
    One way is to have a big ContainerObject which contains the PObject and corresponding BObject; and yes, have an array-list of this ContainerObject. But is this the best way? The problem with this approach is the search strategy - like if I ask you to fetch me the PObject with a specific attribute, I would need to iterate over the ContainerObject, get the corresponding PObject, check if the search condition is met... Not a very clean way...
    Any suggestions???
    Thanks in advance.
    Kind Regards,
    JayantLook at all the complexity you're introducing. What's it buying you? Nothing that I can see. I think parallel object hierarchies like this are a bad architectural smell.
    %

  • Basic list query.....

    I am developing report in which output will be in Basic list (Using only write statement).
    my requirement is to provide some type of navigation or any other way to maintain values in Z TABLE which is master table for this table.
    Please help  me .

    For that you have to use set pf-status statement.
    when sy-ucomm
      case 'lv_ucomm'.
        Call transaction 'tcode'.

  • Basic import query

    When I do full database import i see many messages:
    "created with compilation warnings"
    e.g.
    ORA-39082: Object type ALTER_FUNCTION:"SYSMAN"."ENCRYPTBYTES" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"SYSMAN"."EMD_BCNTXN" created with compilation warningsDo we need to run anything after the import is done to fix these warning or could these be ignored?

    Hi,
    These messages do not necessarily mean you have serious problems.
    Try this:
    sqlplus / as sysdba
    @?/rdbms/admin/utlrp.sql
    select owner,count(*) from dba_objects where status='INVALID' group by owner;Hopefully the result is 'no rows selected'. If not, pls post what you got.
    HTH.
    Regards,
    Jozsef

  • Basic schema query

    I want to list all users, who has created at least one object in his schema(table proc trigger etc..).
    I want to exlude any user which exists and might have privileges on other users objects but has not created or owns any objects.
    ALL_OBJECTS is this the right view or any other suggestion...
    thanks
    Edited by: user11356487 on Mar 14, 2011 12:17 PM

    user11356487 wrote:
    I want to list all users, who has created at least one object in his schema(table proc trigger etc..).
    select owner, count(1) from dba_objects
    group by owner
    having count(1)>0
    I want to exlude any user which exists and might have privileges on other users objects but has not created or owns any objects.
    ALL_OBJECTS is this the right view or any other suggestion...
    And what have you done for the second task?
    thanks
    Edited by: user11356487 on Mar 14, 2011 12:17 PM

Maybe you are looking for

  • Autocad-PLM Integration issue

    Dear PLM Experts, We need to Implement Autocad-PLM Integration with Cideon Software interface. The basic cycle is working fine. I have the few questions for which i need more clarity. (We are using Autocad 2011 and Cideon Interface 6.1) 1. The Creati

  • Help Activating CS6 - Serial Number Invalid

       I purchased a license to CS6 online, and I am having trouble activating the license. I need to contact customer service, but I was directed here after visiting 10-15 unhelpful pages.

  • About Adobe Premiere Elements 11

    I just purchased Adobe Premiere Element 11 from a local store and want to verify that I purchased the correct product for my needs so I can return before opening it if not. I noticed it has a lot of information about video editing. Does this product

  • Servlet not accepting Form fields

    Hi, In my serlvet how to accept the "setAttribute" values or passing values thru hidden form fileds using form as POST method and ecntyp as "multipart/form-data" String f = (String) req.getAttribute("dir"); and String f = req.getParamater("dir"); I t

  • App Folders Removed when Sync to New Macbook

    Hi there, I just bought a MBP 13" and was trying to sync my iPhone 3GS (on OS 4.0.1) to the new MBP. I restore my phone first. Then I "Transfer Purchases" from my iPhone Apps to iTunes. After that I tried to sync my iPhone to the new iTunes. But, it