help required on table transpose

DATA IN THE TABLE:

ST IC OC         

I have 18 2

20 4 K

10 1 L

where ST, IC and OC are names of columns and I want data from the table format below. Please help,

I K L         

IC 18 20 10

OC       2    4      1

Hello

Visit these pages to learn how to rotate the data:

http://forums.Oracle.com/forums/thread.jspa?MessageID=4347279�

http://forums.Oracle.com/forums/thread.jspa?MessageID=3662005

If you don't know not set an upper limit for the number of columns in the result, swing requires dynamic SQL and I recommend you rather use String aggregation , where the output is a column of the great string, format to watch as separate columns.

If you get stuck, post your best attempt, as well as some examples of data (CREATE TABLE and only relevant columns, INSERT statements) and the desired results from these data.

Always say what version of Oracle you are using (for example, 11.2.0.2.0).

See the forum FAQ https://forums.oracle.com/message/9362002#9362002

Tags: Database

Similar Questions

  • Help required to query the fields of the shuttle to Table?

    Hi Experts,

    My needs:

    1. According to the Ship Date query field, the item number should display in the console on the left.
    2. Select some amendments point shuttle from left to right shuttle and press the button.
    3. the article selected our and these details must display in the table.

    Design:

    1 created as query field (entry of Message text) shipping Date.
    2 Shuttle, Shuttle flight beginning and footer (second query button).
    3. the table that contains the article, Description, quantity, and manufacturing details no.

    Question:

    I created a shuttle, the creeping shuttle and the flight of footer, here I mentioned the VO attribute and discovers for the first query that takes place in shipping date and displays the item No.

    By default (without question) the extension numbers is the display in the shuttle leading.

    How to use the fields in the query of the shuttle. Its not that allows you to query the selected fields.

    Help required:

    I need to ship date, then the element of the request should appear in the console of leak, then I need to move some element not in the shuttle leading and click on the second button of the query.

    All required according to the shipping date and the amendments point values (Selected in the shuttle leading) must display in the table.

    Thank you
    Corinne Bertrand

    Pass this date and form a condition, and re-run the LEADVO

    Anne Marie

  • Help required in $flex$

    Hi guru

    I have a requirement me please advice on the underside of concept

    I have four settings

    In case the 1st and the 2nd parameter is null

    and 3rd setting is 1 (Note: here the game which has the value of parameter 1 3 value which is an independent body)

    then only

    4th parameter must be enabled (here the Posting Type is Table)

    I put the condition of parameter as

    WHERE condition

    : $FLEX$. TEST_PARAMETER1 IS NULL

    AND: $FLEX$. TEST_PARAMETER2 is null

    AND: $FLEX$. TEST_PARAMETER3 = '1'

    Same question

    When the condition is met again the 4th parameter is not activated yet his clothes outside please help

    Thank you

    AT

    AND: $FLEX$. TEST_PARAMETER2: NULL is null

    remove the space before: NULL

    use

    AND: $FLEX$. TEST_PARAMETER2:NULL is null

  • Need help with the query (transpose)

    Hello experts, please help here - 11 g Oracle, attribute APA APB are fixed values and can be hard coded in query

    Need to transpose these data. Max(decode.. perd les données en sortie à cause de la condition de Max.)

    Entry:

    Name | Attribute | Value

    A1 APP 10

    A1 PDB 11

    A1 APA 20

    A1 PDB 21

    A2 BPA 13

    A2 BPB 14

    Expected results:

    Name AttVal1 AttVal2

    A1 10 11

    13 14 A2

    20 21 A1

    Hello

    Here's one way:

    WITH relevant_columns AS

    (

    SELECT name

    value

    CASE

    WHEN the attribute ("APA", "BPA") THEN 1

    WHEN the attribute ("PDB", "BPB") THEN 2

    END AS c_num

    ROW_NUMBER () (PARTITION BY NAME, attirbute

    Value of ORDER BY

    ) AS r_num

    FROM table_x

    )

    SELECT name, attval1, attval2

    OF relevant_columns

    PIVOT (MAX (value)

    FOR c_num IN (1 AS attval1

    2 UNDER attval2

    )

    )

    ORDER BY r_num, name

    ;

    If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.

    Why do you want to

    NAME ATTVAL1 ATTVAL2

    ----  -------  -------

    A1 10 11

    20 21 A1

    in the results, rather than

    NAME ATTVAL1 ATTVAL2

    ----  -------  -------

    10 21 A1

    20 11-A1

    ?  You would be satisfied to one or the other?

    Depending on your answer, you may need to modify the analytical ORDER BY clause in the ROW_NUMBER function.

  • Help required changing a script to include a filter

    Hello

    I am new to scripting and would like to help if possible.

    I would like to add a filter for the following script to only return results for VMS that were restarted in the last 24 hours, currently the script takes back all VM in my data center.  The script also requires a filter to exclude a call from cluster "Test Cluster"

    The script is as follows.

    $LastBootProp = @ {}
    Name = "LastBootTime".
    Expression = {}
    (Get-Date) - (New-TimeSpan-seconds $_.) Summary.QuickStats.UptimeSeconds)
    }
    }
    Get - VM | Get-View | Select Name, $LastBootProp

    Any help or advice would be greatly appreciated.

    Thank you.

    Hello, Jon2597-

    You can use the Where-Object cmdlet to filter the items that are returned.  To filter on the items that you said (VMs when LastBootTime is less than 24 hours and exclude computers virtual cluster 'Cluster of Test'), try something like:

    ## hash table to be used in calculated property$LastBootProp = @{    Name = 'LastBootTime'    Expression = {(Get-Date) - (New-TimeSpan -Seconds $_.Summary.QuickStats.UptimeSeconds)}}
    
    ## number of hours to which to compare gap since last boot$intHoursToGoBack = 24## get VM .Net View objects where time since last boot is less than 24 hoursGet-Cluster | Where-Object {$_.Name -ne "Test Cluster"} | Get-VM | Get-View -Property Name, Summary.QuickStats.UptimeSeconds | select Name, $LastBootProp | Where-Object {$_.LastBootTime -and ((New-Timespan -End (Get-Date) -Start (Get-Date $_.LastBootTime)).TotalHours -lt $intHoursToGoBack)}
    

    The latter gets where the cluster name is not equal to 'Cluster of Test', gets their VMs, gets a .net object from view of the VMs (with a few select properties) and displays those where the last boot is in the last 24 hours.  Get a little convoluted right vs virtual machines that uptime is less than 24 hours, but should give the same results.  The result would be something like:

    Name     LastBootTime----     ------------myVM01   6/12/2012 8:21:42 AMmyVM03   6/12/2012 6:50:37 AM...
    

    Worked ok for you?

  • Reg: With the help of several tables of facts in the RPD!

    Hi all

    Can I get help with the following scenario?

    We use OBIEE 11 g.
    We have a report that uses 1 single fact table to retrieve data and it must be hell a lot of time to display the data in the report.

    My question is is there a way to show the performance of the report if divide us the data in table 1 to 2 fact tables and the report uses them 2 made tables.
    Are there other ways of finalization of the report for better performance.

    Thanks for the help in advance!

    Ajay.

    Hi Ajay,

    Follow these steps for tuning;
    1. try to adjust the SQL query generated first by the report, and then make the necessary changes. (Put index on the column that is required so that your query is scanning the index instead of the whole table)

    2. you can try to create the agg fact table and use agg navigation to improve performance. (This is to reduce the data set on which sql is triggered)

    3. you can try to create partitions on the table of FACTS in the comic book, and so held the partitions are queried according to the filters.

    4. in the last if all the foregoing does not resolve your query, you can try to divide the FACT table in two or more depending on your decision and then use fragmentation content in the MDB of the RPD layer if it will strike appropriate tables depending on whether you declare.

    Mark Correct/utile so this can help.

    Good luck
    Kashi

  • HELP required on forming the matrix of data using PL/SQL

    Hi all

    I'm new on this thread and need your help in this regard.

    I have a requirement for the construction of a matrix of 5000 X 5000 using PL/SQL. My original data tables have 5000 lines each and I need to make a correlation analysis using these data and need to store in a physical table, and not in memory. This feat feasible the simple use of PL/SQL? I understand that Oracle DB has a limit of 1000 columns (but not sure) and so I would like to know if there is a workaround for this kind of scenario. If not, what are the other alternative methods to achieve this feat? Do I need to use any 3rd party tools to do this? A quick response from experts is highly appreciated.

    Thanking you in advance all the gurus.

    Rgds

    SAI

    1006089 wrote:

    I have a requirement for the construction of a matrix of 5000 X 5000 using PL/SQL.

    Possible. But this will require a large part of the memory. As PL/SQL is a language server side, this means the server's memory. That means server potential resource problems.

    And that the server environment is a multiprocessu multi-user environment, it also means potentially several copies of this code of matrix running multiple processes, each putting a request very heavy on the resources of the server. Is no longer a matter of potential server resources, but a guarantee... (exactly the same problem if you use app server architecture and Java or .net)

    You have to ask what is the cracking of data, server-side language? The answer is SQL. No PL/SQL. SQL runs rings around PL/SQL, Java, C/C++ and other languages when it comes to complex, fast and scalable, processing of large volumes of data.

    So you ask yourself why use PL/SQL? With his expensive server memory footprint? SQL and not SQL tables that are designed to deal with massive data effectively and efficiently?

  • Help required in SQL query

    I have a table and passes as below:

    START DATE TOTAL NUMBER OF DAYS
    11/10/2011 15:00 1
    15/10/2011-05:00 1
    2011-12-22 10:00 1
    22/12/2011 11:00 2
    30/12/2011-10:00 1
    01/01/2012 01:00 1
    01/01/2012 10:00 1
    01/01/2012 16:00 2
    02/01/2012 14:00 1
    03/01/2012-15:00 1
    04/01/2012-15:00 2
    04/01/2012 18:00 1



    I need to ask where the values in the table above
    must return values as below:

    I tried many ways, but not able to find the solution.

    Kindly help me in this regard.


    START DATE TOTAL NUMBER OF DAYS
    11/10/2011 15:00 1
    15/10/2011-05:00 1
    22/12/2011 11:00 2
    30/12/2011-10:00 1
    01/01/2012 16:00 2
    02/01/2012 14:00 1
    03/01/2012-15:00 1
    04/01/2012-15:00 2


    the ultimate goal is to summarize the TOTAL number of DAYS column all the numbers in the second table... All jobs must be treated in the same query. I can't use the coding of java to process what my requirement should be included in the query that already exists.

    Published by: 915175 on February 16, 2012 23:02
    select trunc(start_date), max(start_date), max(total_days) from tablename
    group by trunc(start_date);
    

    Please check below is on my local site with you Test data:

    SQL>
    SQL> with tablename as
      2  (
      3  select to_date('10/11/2011 15:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      4  select to_date('10/15/2011 5:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      5  select to_date('12/22/2011 10:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      6  select to_date('12/22/2011 11:00' , 'mm/dd/yyyy hh24:mi') start_date,  2 total_days from dual union all
      7  select to_date('12/30/2011 10:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      8  select to_date('1/1/2012 1:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      9  select to_date('1/1/2012 10:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
     10  select to_date('1/1/2012 16:00' , 'mm/dd/yyyy hh24:mi') start_date,  2 total_days from dual union all
     11  select to_date('1/2/2012 14:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
     12  select to_date('1/3/2012 15:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
     13  select to_date('1/4/2012 15:00' , 'mm/dd/yyyy hh24:mi') start_date,  2 total_days from dual union all
     14  select to_date('1/4/2012 18:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual
     15  )
     16  select  TO_CHAR(max(start_date),'MM/DD/YYYY HH24:MI') start_date , max(total_days) total_days from tablename
     17  group by trunc(start_date);
    
    START_DATE       TOTAL_DAYS
    ---------------- ----------
    10/15/2011 05:00          1
    01/03/2012 15:00          1
    12/30/2011 10:00          1
    01/01/2012 16:00          2
    10/11/2011 15:00          1
    12/22/2011 11:00          2
    01/04/2012 18:00          2
    01/02/2012 14:00          1
    
    8 rows selected.
    
    SQL>
    

    Kind regards
    Lifexisxnotxsoxbeautiful...

    Update: added test done to my database...

    Edited by: lifexisxnotxsoxbeautiful Vithalani, on February 16, 2012 23:18

  • Help required with request

    Hello
    I have a table with two fields that have 1-> n relationship.
    Ex: TableA Field1 and Field2.
    For a value of field2 there may be several Field1 in TableA (essentially field2 is part of categorization for fiel1).

    In the query I want to determine which records where, for particular values of field2 only field exists.

    Ex:
    Field1 Field2
    1A
    2A
    3B
    4 C
    D 5
    D 6

    For the above case the query should return only the records
    Field1 Field2
    3B
    4 C

    Please help me accomplish this query...
    Thank you
    Raja

    Hello

    Raja Guibert wrote:
    Frank Merci for the reply,
    Can you please help me understand why the min function is required on Field1...

    Here are the ABCS of the GROUP BY.
    When you use an aggregate (such as COUNT) function in a query, then everything in the SELECT clause must be:
    a ggregate function,
    expressions (b), the GROUP B, or
    c a Cadding
    or an expression composed entirely of the foregoing.

    Field1 is none of them. We cannot add Field1 to the GROUP BY list, because we need all the lines for each set Field2 in the same group.

    I can simply use

    Select field2 from tableA having count (*) = 1 group of Field2;

    Of course, you can do it if you don't need field1 in the results.

  • Need help with graph/table

    Heey everybody,

    I am currently using a Spider8 and Labview to get data from the sensors, after I use Labview to process the data in charts or graphs. Alltough I have 2 small problems using a table/chart:

    1: for some graphics I want to use 1 y axis (example: volts or current) and 1 x-axis, time. I want this time to be like clockwork that counts only the seconds (example: 0-100 sec), using absolute time or relative, for formatting is not an option because they rely much too strong/fast. There is an example of this type of charts in the Appendix: measurement of time current vs.

    2: for most of the other tables/graphs I want to use several axis y (example for a motor: current, RPM and torque) and I want to use a category axis that may go 'back' (example for a motor: rotations). There is an example of this type of charts in the Appendix: measurement of torque.

    I have no idea how to make good sense, so your help is welcome

    Thank you!

    Hi grasman,.

    have you read jcarmodys message on how to apply a trace on a scale there?

    See the attachment on how to draw 2 curves on a xy chart and attach each parcel on a scale. I strictly followed the message context help chart and jcarmodys...

    I would also say to stay away from express screws: they tend to make more problems than to provide aid. You are more involved in conversions of type (to/from DDT) - using simple son gives you simply more to control what's happening in your code!

  • maximum-paths command help required in BGP

    HII...

    I use cisco WS-C3750X - 48P switch in the branch with link two different ISP and apply in config. I want to balance traffic going out with two Internet service providers. I have configured "paths of maximum 2" command in BGP.

    router bgp 65005
    The log-neighbor BGP-changes
    neighbour 10.75.112.77 distance - as 4755
    neighbour 192.168.179.69 distance - 9583
    maximum-paths 2
    maximum-paths ibgp 2
    !
    ipv4 address family
    neighbor 10.75.112.77 activate
    neighbor 10.75.112.77 - prefix to-ISP list on
    neighbor 192.168.179.69 activate
    neighbor 192.168.179.69 - prefix to-ISP list on
    maximum-paths 2
    maximum-paths ibgp 2
    No Auto-resume
    no synchronization
    10.32.60.0 netmask 255.255.255.0
    10.32.138.0 netmask 255.255.255.0
    network mask 10.45.24.0 255.255.255.192
    10.46.185.42 netmask 255.255.255.255
    output-address-family

    We receive in BGP table two paths for each mention of destination below

    Switch ip bgp 10.34.14.0 #sh
    10.34.14.0/24, version 187 BGP routing table entry
    Paths: (2 available, best #1, table by default-IP-Routing-Table)
    MPIO: eBGP iBGP
    Not announced in any position
    9583 65505
    192.168.179.69 (1.7.0.131) 192.168.179.69
    Origin, IGP, localpref 100, valid, externally, better
    4755 65088
    10.75.112.77 (192.168.197.46) 10.75.112.77
    Origin, IGP, localpref 100, valid, external
    Switch #.

    But in the routing table always shows only best path. need two routes in SIDES to balance the load. pls help

    Switch # sh ip route 10.34.14.0
    Routing for 10.34.14.0/24 entry
    Known through 'bgp 65005', 20, 0 distance metric
    Tag 9583, external type
    192.168.179.69 was last updated 13:36:23 ago
    Routing descriptor blocks:
    * 192.168.179.69, of 192.168.179.69, 13:36:23 ago
    Path metric is 0, number of shares of traffic 1
    AS hops 2
    Tag route 9583

    Switch #.

    Disclaimer

    The author of this announcement offers the information in this publication without compensation and with the understanding of the reader that there is no implicit or explicit adequacy or adaptation to any purpose. Information provided is for information purposes only and should not be interpreted as making the professional advice of any kind. Use information from this announcement is only at risk of the reader.

    RESPONSIBILITY

    Any author will be responsible for any wha2tsoever of damage and interest (including, without limitation, damages for loss of use, data or profits) arising out of the use or inability to use the information in the view even if author has been advised of the possibility of such damages.

    Poster

    2 maximum paths is only part of what you need.  You must also use the secret/hidden command: bgp bestpath as path multipath-relax

  • Help required with Windows 7 Activation

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->

    Validation code: 0
    Validation caching Code online: n/a, hr = 0xc004f012
    Windows product key: *-* - GJY49 - VJBQ7-HYRR2
    Windows product key hash: W5/6nm6F2UPXrCkY5xUhXb / + 21 = g
    Windows product ID: 00426-OEM-8992662-00006
    Windows product ID type: 2
    Windows license Type: OEM SLP
    The Windows OS version: 6.1.7601.2.00010100.1.0.001
    ID: {0D45C85E-AA01-4C64-8FAF-0582E5839859} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Ultimate
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.130828 - 1532
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 103 blocked VLK
    Microsoft Office Enterprise 2007 - 103 blocked VLK
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->
    [File mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070005]
    [File mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070005]

    Other data-->
    Office details: {0D45C85E-AA01-4C64-8FAF-0582E5839859}1.9.0027.06.1.7601.2.00010100.1.0.001x 64*-*-*-*-HYRR200426-OEM-8992662-000062S-1-5-21-1267476948-1634095527-3693179229AcerAspire 4349INSYDEV1.06 20110929000000.000000 + 000926C3D07018400FE04090409peninsula malaise Standard Time(GMT+08:00)03ACRSYSACRPRDCT103103Microsoft Office Enterprise 200712ACD7202654E586fFic3JgCreGGRxyF8uMWB4R4Jcg = 89388-707-1528066-6516414

    Content Spsys.log: 0 x 80070002

    License data-->
    Input error: can not find script file "C:\Windows\system32\slmgr.vbs '.

    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0x00000000
    Beyond: 0 x 0000000000000000
    Event timestamp: 4:8:2014 23:53
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: not registered - 0x80070005
    Output beyond bitmask:

    --> HWID data
    Current HWID of Hash: MgAAAAIAAgABAAEAAAABAAAAAwABAAEA6GG6Ts1QVOwordDWTOi6hmayntBaxdsFLnM =

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: no, table invalid SLIC
    Windows marker version: N/A
    OEMID and OEMTableID consistent: n/a
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC ACRSYS ACRPRDCT
    FACP ACRSYS ACRPRDCT
    HPET ACRSYS ACRPRDCT
    START ACRSYS ACRPRDCT
    MCFG ACRSYS ACRPRDCT
    ASF!            ACRSYS ACRPRDCT
    SLIC ACRSYS ACRPRDCT
    SSDT ACRSYS ACRPRDCT
    ASPT ACRSYS ACRPRDCT
    SSDT ACRSYS ACRPRDCT
    SSDT ACRSYS ACRPRDCT

    Proposed by the moderator of this thread:
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/win-7-ultimate-not-activate/d11e156c-2d51-4a12-8130-91e6ee815fa4#LastReply

    Input error: can not find script file "C:\Windows\system32\slmgr.vbs '.

    (1) open a by a right-click command prompt and select "run as Administrator".
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volume to check the next time that the system restarts,
    Enter: y

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    =====================================================================

    (2) run the command SFC /SCANNOW. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    ===============================================================

    If SFC Scannow was able to repair your files, try to activate Windows again.

    1) click Start and in the search for box type: slui.exe 4
    (2) press the ENTER"" key.
    (3) to select your "country" you are in the drop-down list.
    (4) choose the option "activate phone".
    (5) stay on the phone * do not select/press any option * and wait for a person to help you.
    (6) explain your problem clearly to the support person.
    (7) the person must give you a confirmation ID, copy it down on paper,
    (8) check that the ID is correct in reading the support person.
    (9) to enter the ID number, then click 'Next' to complete the activation process.

    Activation and registration of a Microsoft product
    http://support.Microsoft.com/?kbid=326851
    Windows activation: (888) 571-2048
    (888) 725-1047 or 800-936-5700

    ===============================================================

    If SFC Scannow could not repair any or all the corrupt system files
    follow these steps:

    (a) open a command prompt (start / all programs / accessories)
    Right click on the command line option, then select: run as administrator

    (b) at the command prompt, enter: DISM.exe/online/Cleanup-Image /ScanHealth

    Press the ENTER"" key.

    (c) then enter: DISM.exe/online/Cleanup-Image /RestoreHealth

    Press the ENTER"" key.

    (d) now rerun the command SFC/SCANNOW...

    At the command prompt, enter: SFC/scannow

    J W Stuart: http://www.pagestart.com

  • Need help - multilevel nested table - create table problem

    Hello

    My version of oracle db: 11g

    I just created a table that contains a nested multi-level table.

    Here is the code:

    create or replace type sdef_t_nt_empNames21 is table of the varchar2 (50);

    create or replace type sdef_ot_SCmarks21 as an object (number of physics, chemistry number, number of Biology);

    create or replace type sdef_t_nt_SCmarks21 is table of the sdef_ot_SCmarks21;

    create or replace type sdef_ot_allsubmarks21 as an object (eid, eng, math, sc sdef_t_nt_SCmarks21 number number);

    create or replace type sdef_t_nt_dep_m_info21 is table of the sdef_ot_allsubmarks21;

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    store table nested like NT_c_sdef_t_nt_dep_m_info21; c_sdef_t_nt_dep_m_info21  <-I know that the problem is here.

    TRACE OF THE ERROR:

    Error at startup on line: 13 in the command.

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    Nested table c_sdef_t_nt_dep_m_info21 (sdef_t_nt_SCmarks21) store as NT_c_sdef_t_nt_dep_m_info21

    Error report-

    SQL error: ORA-00904: invalid identifier

    00904, 00000 - '% s: invalid identifier '.

    * Cause:

    * Action:

    PS: I'm just solve a problem given to me by some1, is not a practical implementation, I'm just trying to get through

    I'm sure that some1 could help me with this, I have searched a lot of this problem but could not find my answer, please help me.

    Concerning

    Rahul

    SQL > create table (nt_dep21)
    Did number 2,
    3 dname varchar2 (50).
    4 c_sdef_t_nt_empNames21 sdef_t_nt_empNames21,
    c_sdef_t_nt_dep_m_info21 5 sdef_t_nt_dep_m_info21
    6                       )
    store c_sdef_t_nt_empNames21 7 nested as NT_c_sdef_t_nt_empNames21 table
    store c_sdef_t_nt_dep_m_info21 8 table nested as NT_c_sdef_t_nt_dep_m_info21)
    9 table nested as NT_sc sc store
    10                                                                               )
    11.

    Table created.

    SQL >

    SY.

  • HELPS OPERATOR ON TABLE TYPE LESS

    Hi all

    I'm using Oracle Database 11 g.

    I want to perform a negative operation on a varray.

    In the code, I want to update based on the result of the operation LESS below. I tried, but it gives 06550 ORA. I think what I'm not looking for the right way to use the collection.

    Help, please

    declare

    TYPE array_tbl IS TABLE OF varchar (255);

    v_array array_tbl;

    Start;

    Select to bulk model_name fired into v_array from kit_car_dim where owner = 'KIT' and model_name like 'FORD ';

    because me in 1... loop v_array. Count;

    / * I want to do something like this * /.

    Select model_name in v_array

    less

    Select model_name from kit_car_dim where owner = 'KIT ';

    / * which can be used for the update statement below * /.

    Update kit_car_dim set modified_timestamp = sysdate, model_ident = '1'

    where model_name = (model_name of operation less);

    end loop;

    end;

    First, you declare a nested table, varray No. If you don't use a nested table, use MULTISET EXCEPT:

    Set serveroutput on

    declare

    TYPE array_tbl IS TABLE OF varchar (255);

    v_array array_tbl;

    Start

    Select dname

    Bulk collect

    in v_array

    of the Department;

    for v_i loop 1.v_array.count

    dbms_output.put_line (v_array (v_i));

    end loop;

    dbms_output.put_line('===');

    v_array: = multiset v_array except array_tbl ('ACCOUNTING');

    for v_i loop 1.v_array.count

    dbms_output.put_line (v_array (v_i));

    end loop;

    end;

    /

    ACCOUNTING
    SEARCH
    SALES
    OPERATIONS
    ========================
    SEARCH
    SALES
    OPERATIONS

    PL/SQL procedure successfully completed.

    SQL >

    SY.

  • help required Oracle export command

    Hello gurus

    I need to export data from table MBE under certain conditions as below

    SELECT MBE.*
    OF MBE,.
    MSI
    WHERE MBE.ID = MSI.ID
    AND MSI.NAME = 'MOS '.

    How can I achieve this?

    exp username/password@schemaname.
    tables = MBE query =------"WHERE EXISTS\ (SELECT NULL FROM MSI WHERE MSI.ID = \ MBE.ID AND MSI.NAME = 'MOS' \) \) \' file = MV.dmp log = exp.log

    will it work?

    Please answer

    s

    I have a table simple import/export api writern using DBMS_DATAPUMP. I hope this helps.

    create or replace procedure export_table
    (
         pOwner          in     varchar2,
         pTableName     in     varchar2,
         pDirectory     in     varchar2,
         pFilterStr     in     varchar2
    )
    is
         lDPJobName     varchar2(100);
         lFileName     varchar2(100);
         lJobState     varchar2(50)     := 'EXECUTING';
         lHandle          number;
         lStatus          ku$_Status1010;
    begin
         lDPJobName := 'TABLE_EXPORT_' || to_char(sysdate, 'YYYYMMDDHH24MISS');
         lFileName  := upper(pTableName) || '_' || to_char(sysdate, 'YYYYMMDDHH24MISS');
    
         lHandle := dbms_datapump.open('EXPORT', 'TABLE', job_name => lDPJobName);
    
         dbms_datapump.add_file          (handle => lHandle, filename => lFileName, directory => pDirectory, filetype => dbms_datapump.ku$_file_type_dump_file);
         dbms_datapump.add_file          (handle => lHandle, filename => lFileName, directory => pDirectory, filetype => dbms_datapump.ku$_file_type_log_file);
    
         dbms_datapump.set_parameter     (handle => lHandle, name => 'KEEP_MASTER',     value => 0);
         dbms_datapump.set_parameter     (handle => lHandle, name => 'INCLUDE_METADATA', value => 1);
         dbms_datapump.metadata_filter     (handle => lHandle, name => 'SCHEMA_EXPR',     value => '= ''' || upper(trim(pOwner)) || '''');
         dbms_datapump.metadata_filter     (handle => lHandle, name => 'NAME_EXPR',     value => '= ''' || upper(trim(pTableName)) || '''');
         dbms_datapump.data_filter     (handle => lHandle, name => 'SUBQUERY',          value => pFilterStr, table_name => pTableName, schema_name => pOwner);
    
         dbms_datapump.start_job          (handle => lHandle);
         dbms_datapump.wait_for_job     (handle => lHandle, job_state => lJobState);
    
         if trim(upper(lJobState)) = 'STOPPED' then
              raise_application_error(-20001, 'Job returned status as STOPPED');
         else
              dbms_datapump.detach(handle => lHandle);
         end if;
    
         lHandle := null;
    end;
    /
    show err
    create or replace procedure import_table
    (
           pDirName      in  varchar2
         , pDmpFileName  in     varchar2
    )
    is
         lHandle          integer;
         lDPJobName     VARCHAR2(100);
         lJobState     varchar2(50)     := 'EXECUTING';
    begin
         lDPJobName := 'TABLE_EXPORT_' || to_char(sysdate, 'YYYYMMDDHH24MISS');
    
         lHandle := dbms_datapump.open(operation => 'IMPORT', job_mode => 'TABLE', remote_link => '', job_name => lDPJobName);
    
         dbms_datapump.add_file          (handle => lHandle, filename => pDmpFileName, directory => pDirName, filetype => dbms_datapump.ku$_file_type_dump_file);
         dbms_datapump.add_file          (handle => lHandle, filename => pDmpFileName || '_IMP', directory => pDirName, filetype => dbms_datapump.ku$_file_type_log_file);
         dbms_datapump.set_parameter     (handle => lHandle, name => 'TABLE_EXISTS_ACTION', value => 'APPEND');
         dbms_datapump.start_job          (handle => lHandle);
    
         if trim(upper(lJobState)) = 'STOPPED' then
              raise_application_error(-20001, 'Job returned status as STOPPED');
         else
              dbms_datapump.detach(handle => lHandle);
         end if;
    
         lHandle := null;
    end;
    /
    show err
    

    His executed like this. For example, I use a TEMP table.

    SQL> create table temp as select * from all_objects
      2  /
    
    Table created.
    
    SQL> begin
      2    export_table
      3    (
      4      'KARTHICK',
      5      'TEMP',
      6      'DP_KAR_DIR',
      7      'WHERE OBJECT_NAME IN (SELECT OBJECT_NAME FROM ALL_OBJECTS WHERE OWNER = ''KARTHICK'')'
      8    );
      9  end;
     10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> drop table temp purge;
    
    Table dropped.
    
    SQL> begin
      2    import_table
      3    (
      4        'DP_KAR_DIR'
      5      , 'TEMP_20140502034806.dmp'
      6    );
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select count(*) from temp;
    
      COUNT(*)
    ----------
        200302
    

    Here are the details of the journal

    Export log...
    
    arttvt04% cat TEMP_20140502034806.log
    Starting "KARTHICK"."TABLE_EXPORT_20140502034806":
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 23 MB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    . . exported "KARTHICK"."TEMP"                             18.41 MB  200302 rows
    Master table "KARTHICK"."TABLE_EXPORT_20140502034806" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for KARTHICK.TABLE_EXPORT_20140502034806 is:
      /home/arbor/karthick/TEMP_20140502034806.dmp
    Job "KARTHICK"."TABLE_EXPORT_20140502034806" successfully completed at 03:48:16
    
    Import log...
    
    arttvt04% cat TEMP_20140502034806.dmp_IMP
    Master table "KARTHICK"."TABLE_EXPORT_20140502034956" successfully loaded/unloaded
    Starting "KARTHICK"."TABLE_EXPORT_20140502034956":
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "KARTHICK"."TEMP"                             18.41 MB  200302 rows
    Job "KARTHICK"."TABLE_EXPORT_20140502034956" successfully completed at 03:50:00
    arttvt04%
    

Maybe you are looking for

  • Unstable text photo slide show

    I store my pictures on iCloud and have a large enough library (about 10,000 photos). My wife is the construction of a slide show of our recent trip to the Islands British virgins and selected approximately 390 pictures to include in the slide show. S

  • Satellite P50t-did not functions - no power

    Hello I have a Toshiba satellite P50t-a.I used it normally, and I left it for 1-2 hours. When I came back, the power light on the front of the base was on, a d the charge light was on, but the screen was turned off and the ring around the power butto

  • A non-genuine copy of windows vista__ activation

    I have a non-genuine copy of windows vista and I can't activate it without a product key.

  • Cannot copy and paste in Windows Explorer

    Hello We have changed our SBS 2003 server to Server 2008. After I removed the domain and myself adding to the new domain, I can no longer copy and paste in Windows Explorer. Explorer crashes with the following error: Problem event name: BEX Applicati

  • 10 Windows, system and process compressed memory &amp; slow down the performance of Lightroom

    I use Lightroom 6.6 (non - CC version) and for months, I have noticed the degradation in performance on my machine Windows 10 the more Lightroom runs. LR restarts solves the problem for a while, but anywhere from minutes to an hour, Lightroom perform