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

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

  • 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

  • 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

  • Oracle 11G - Oracle AWR export import Query Statistics.

    I have Oracle 11G, i have seen the sql statements through Historical AWR option from Top Activites in performance tab. Can i export all AWR query statistics from production machine so that i can analyze all logs after importing it.
    How can i know all statistical sql ( information ) and performace of production machine ?
    any help ?

    Hello,
    have you checked the DBA_HIST* objects to see what / how was imported?
    If the awr export dosn't get the contents of the rolling buffer, then you won't see any session statistics that are only there. If you want to get the contents of the rolling buffer you have to dump the contents of it with :
    oradebug setmypid
    oradebug dump ashdump 10
    and load it into your "test" database.
    But before doing this I suggest you read the related metalink documentation if any!!!
    Regards,
    Franky

  • XML Export/Import Query & Variables

    Hello,
    We are currently bringing up a new environment/landscape.  With that, I'm trying to copy some of the query elements off our current production server and move them back to the new development server.  After much wasted time trying to duplicate the query manually, I've decided to do it via XML Export/Import. 
    I have successfully created an XML file from our production system (sitting on my local machine).  I then go to the import area on the development system and bring up the XML file I created.  I then process the file on the development server.  The import wizard tells me that it saves the objects successfully, but I'm unable to find any of the objects on the system.  So, I have two questions. 
    1)  Is this the proper way to do this, or is there a better way (assuming not on the transport path)
    2)  With the logs saying successful, where do those objects go?  Is there a way that I can go find them?  Do they need activated?
    Thanks in advance,
    JW
    Edited by: J W on Sep 19, 2008 2:02 AM

    bump

  • Import Query to SSM

    Hello,
    We trying to import a query to SSM and we can import its structure but not the data. In the Import Trace appears the follow error:
    Fiscal characteristic 0FISCPER3 was not imported as a dimension to Application Server.
    Please use the INCLUDING FISCAL keyword on both IMPORT DIMENSION and IMPORT TIME to import such a characteristic as a dimension in Application Server.
    Fiscal characteristic 0FISCVARNT was not imported as a dimension to Application Server.
    Please use the INCLUDING FISCAL keyword on both IMPORT DIMENSION and IMPORT TIME to import such a characteristic as a dimension in Application Server.
    What should we do?
    Regards,
    Vera

    Hi Vera,
    We only support the use of 0FISCPER as the time characteristic from SSM 7.0 SP7 and higher, and then only with a specific series of steps.  What you need to do can be outlined as follows:
    1. Ensure that the query has 0FISCVARNT set to a single FY variant in the global filters.
    2. Ensure that the BW query has 0FISCPER in query rows or free characteristics etc
    3. Create the PAS model in BICA
    4. Exit BICA
    5. Logon to PAS
    6. Model in exclusive mode
    7. SET FISCAL CAL APRIL
    8. Create a Document in PAS model called BWFISCPERINFO. This document should have two lines in it. The first line denotes periodicity represented by 0FISCPER (usually MONTHLY) and second line maps Fiscal period to a calendar month. You can choose any single combination of YYYYPPP and YYYYMM for this mapping. The example below uses 200901 mapping to April 2008
         MONTHLY
         2009001 200804
    9. Return to BICA
    10. Load query with 0FISCPER as time characteristic
    The reason this is requried is because PAS needs to understand how the BW fiscal period maps to a specific calendar month.
    This is the only way that a query using 0FISCPER can be mapped into Strategy Management.
    Thanks and regards,
    Robert

  • Oracle import query

    Hi All,
    Just a query,
    Can I take export of oracle 9.2 db and import into 8.0.6 database. ? Currently I am getting
    Connected to: Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.6.0.0 - Production
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00023: Import views not installed, please notify your DBA
    IMP-00000: Import terminated unsuccessfully
    I have ran the script catexp.sql but no success.
    Regards,

    Try exporting from 9.2 using exp.exe version 8.0.6.
    If the export succeeds you should be able to import the
    resulting file into the 8.0.6 instance.
    Not sure if this will work, but it may be worth trying.
    Hope this helps.
    Kailash.

  • 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

  • XMLc import query

    Hi,
    I'm currently using CS 2 Dreamweaver and will be updagrading
    next week - does anybody know how I would import XMLc into
    Dreamweaver. I'm guessing it would be something like, "Insert -
    HTML - Script Objects"

    Hi Manali,
    Unfortunately there is no way of doing this. Query definitions are recommended to be performed within the system.
    What you can do is once you have created the query in one instance, you can export it to other systems via the object migration technique. E.g. FROM DEV --> Quality --> Prod. That way, once you have created the query in DEV, you dont have create it again in Quality and PROD environments. This is possible via the Setup->System Administration-> Import and Export Tools --> Export function.
    Query Definitions Create page has multiple fields and tabs such as Display Name, Internal name, Result fields, Filter prompts etc. which cannot be added via import technique.
    Hope this helps,
    Vikram Shukla

  • Import query from BICA, quarterly

    Hi experts,
    I need to import a group of measures with no dimensions and the frecuency is quarterly, the query works fine, because the data shows what Im waiting for, the problem is that when I check the dataview in pas, the periodicity is monthly. By the way, I uploaded data only for Mar, Jun, Sept and Dec.
    Any Idea?
    thanks a lot!!
    Att Ingrid J.

    I have not used BICA so can't comment on why the BICA load created monthly variables. However there are a couple of possible work-arounds.
    One option is to create a second set of variables (quarterly) and then use a procedure to copy from the monthly to the quarterly.
    A second option is to treat he monthly variables as if they were quarterly. If a monthly variable is used in a quarterly report:
    if the time consolidation is SUM() the three months (two are empty) will be summed and so the quarter will be the sum of the three months.
    if the time consolidation is AVERAGE() I think there is an option to ignore empty and so they may still be usable
    Cliff

  • Import query spelling inclusions

    Hi,
    Iam not able to import my file to the "Query Spelling Inclusions" in Search Dictionaries. When im trying to import it added new one as "Query Spelling Inclusions1". Kindly suggest me how to add my file in to the "Query Spelling
    Inclusions". Then how long it take to reflect!.

    Hi Manali,
    Unfortunately there is no way of doing this. Query definitions are recommended to be performed within the system.
    What you can do is once you have created the query in one instance, you can export it to other systems via the object migration technique. E.g. FROM DEV --> Quality --> Prod. That way, once you have created the query in DEV, you dont have create it again in Quality and PROD environments. This is possible via the Setup->System Administration-> Import and Export Tools --> Export function.
    Query Definitions Create page has multiple fields and tabs such as Display Name, Internal name, Result fields, Filter prompts etc. which cannot be added via import technique.
    Hope this helps,
    Vikram Shukla

  • 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

  • Importing Query & Display Templates from 11.5 to 12.1

    Hi,
    I am importing a project created in 11.5 into 12.1. The Query and Display templates are imported as .xml files. Can somebody explain how to properly import the existing Xacute, iGrid etc. query and display templates from 11.5 to 12.1? Is the migration tool a must?
    Regards,
    Chanti.

    Chanti,
    While you managed to get this to work, the migration tool should be used to get 11.5 project content into 12.0 / 12.1.  For some of the objects your risk for problems will go up significantly, since the migration tool provides all sorts of object level modifications to catch up with changes, etc. that a straight Workbench import is not expected to do.
    Regards,
    Jeremy

  • 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.

Maybe you are looking for