Not to get all the data

Hello

I have the query below, but the output for the not available column data appears not all data with a condition_id which is not null.

Does anyone have ideas that I might need to try?
SELECT I.SKU_ID, 
 I.DESCRIPTION, 
 TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY') expiry_dt, 
 SUM(CASE WHEN I.CONDITION_ID IS NOT NULL THEN QTY_ON_HAND ELSE 0 END) AS Unavailable, 
 SUM(CASE WHEN I.CONDITION_ID IS NULL THEN QTY_ON_HAND ELSE 0 END) AS Available, 
 P_ILV.SUM_QTY_DUE + (NVL(P_ILV.SUM_TL,0) * NVL(S.USER_DEF_NUM_3,0)) AS Sum_Qty_Due, 
 ROUND(ITXN_ILV.AVG_QTY, 2) AS Avg_Qty, 
 ROUND(SUM(CASE WHEN I.CONDITION_ID IS NULL THEN QTY_ON_HAND ELSE 0 END)/CASE WHEN ITXN_ILV.AVG_QTY = 0 THEN 1 ELSE ITXN_ILV.AVG_QTY END,2) AS Days_Worth_Stock 

FROM INVENTORY I 
JOIN SKU S 
ON (I.SKU_ID = S.SKU_ID AND I.DESCRIPTION = S.DESCRIPTION) 
JOIN (SELECT P.SKU_ID, SUM (CASE WHEN P.TRACKING_LEVEL NOT LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) AS SUM_QTY_DUE, 
  SUM(CASE WHEN P.TRACKING_LEVEL LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) SUM_TL 
 FROM PRE_ADVICE_LINE P 
WHERE P.QTY_RECEIVED IS NULL 
GROUP BY P.SKU_ID) P_ILV 
ON (S.SKU_ID = P_ILV.SKU_ID) 
JOIN (SELECT ITXN.SKU_ID, SUM(ITXN.UPDATE_QTY)/(CEIL(TO_DATE($P{To_Date},'DD-Mon-YYYY') - TO_DATE($P{From_Date},'DD-Mon-YYYY')) + 1) AVG_QTY 
 FROM INVENTORY_TRANSACTION ITXN 
WHERE ITXN.CODE = 'Shipment' 
 AND ITXN.DSTAMP BETWEEN TRUNC(TO_DATE($P{From_Date},'DD-Mon-YYYY')) AND TRUNC(TO_DATE($P{To_Date},'DD-Mon-YYYY')+ 1) - 1/86400 
GROUP BY ITXN.SKU_ID) ITXN_ILV 
ON (S.SKU_ID = ITXN_ILV.SKU_ID) 
GROUP BY TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY'), I.SKU_ID, I.DESCRIPTION, P_ILV.SUM_QTY_DUE, NVL(P_ILV.SUM_TL,0), NVL(S.USER_DEF_NUM_3,0), ITXN_ILV.AVG_QTY, 2 
ORDER BY I.SKU_ID
Thank you, Sam.

Published by: Sam Mardell on May 8, 2009 06:25

OK Sam, here's the modified query, try this please:

SELECT I.SKU_ID,
     S_ILV.DESCRIPTION,
     TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY') expiry_dt,
     SUM(CASE WHEN TRIM(I.CONDITION_ID) IS NOT NULL THEN QTY_ON_HAND ELSE 0 END) AS Unavailable,
     SUM(CASE WHEN TRIM(I.CONDITION_ID) IS NULL THEN QTY_ON_HAND ELSE 0 END) AS Available,
     P_ILV.SUM_QTY_DUE + (NVL(P_ILV.SUM_TL,0) * NVL(S_ILV.USER_DEF_NUM_3,0)) AS Sum_Qty_Due,
     ROUND(ITXN_ILV.AVG_QTY, 2) AS Avg_Qty,
     ROUND(SUM(CASE WHEN I.CONDITION_ID IS NULL THEN QTY_ON_HAND ELSE 0 END)/CASE WHEN  ITXN_ILV.AVG_QTY = 0 THEN 1 ELSE ITXN_ILV.AVG_QTY END,2) AS Days_Worth_Stock
  FROM INVENTORY I
  JOIN (SELECT S.SKU_ID, MAX(S.DESCRIPTION) DESCRIPTION, SUM(S.USER_DEF_NUM_3) USER_DEF_NUM_3
            FROM SKU S
           GROUP BY S.SKU_ID) S_ILV
     ON (I.SKU_ID = S_ILV.SKU_ID)
  LEFT JOIN (SELECT P.SKU_ID, SUM (CASE WHEN P.TRACKING_LEVEL NOT LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) AS SUM_QTY_DUE,
      SUM(CASE WHEN P.TRACKING_LEVEL LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) SUM_TL
    FROM PRE_ADVICE_LINE P
   WHERE P.QTY_RECEIVED IS NULL
   GROUP BY P.SKU_ID) P_ILV
   ON (I.SKU_ID = P_ILV.SKU_ID)
 LEFT JOIN (SELECT ITXN.SKU_ID, SUM(ITXN.UPDATE_QTY)/(CEIL(TO_DATE($P{To_Date},'DD-Mon-YYYY') -  TO_DATE($P{From_Date},'DD-Mon-YYYY')) + 1) AVG_QTY
      FROM INVENTORY_TRANSACTION ITXN
   WHERE ITXN.CODE = 'Shipment'
      AND ITXN.DSTAMP BETWEEN TRUNC(TO_DATE($P{From_Date},'DD-Mon-YYYY')) AND TRUNC(TO_DATE($P{To_Date},'DD-Mon-YYYY')+ 1) - 1/86400
     GROUP BY ITXN.SKU_ID) ITXN_ILV
   ON (I.SKU_ID = ITXN_ILV.SKU_ID)
 GROUP BY TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY'), I.SKU_ID, S_ILV.DESCRIPTION, P_ILV.SUM_QTY_DUE, NVL(P_ILV.SUM_TL,0), NVL(S_ILV.USER_DEF_NUM_3,0), ITXN_ILV.AVG_QTY, ROUND(ITXN_ILV.AVG_QTY, 2)
 ORDER BY I.SKU_ID

Published by: Seanmacgc on May 12, 2009 10:37

Tags: Database

Similar Questions

  • get all the dates in a beach in oracle resultset

    Hello
    I need to know how to do all the dates in a date range in Oracle11g query resultset.

    It should be something similar to the following pseudocode

    Select "All DATES" of? where date between TO_DATE('date-val','format') and TO_DATE ('date-val', ' format').

    It may require a different logic, but if I give a range like 5 February 2011, March 2, 2011
    It must return me all dates in this range in the result set.
    IE resultset = February 5, 2011, February 6, 2011,... February 28, 2011, March 1, 2011, 2 March 2011

    Hello

    You are looking for something like this?

    SQL> with a as (select to_date('05-FEB-2012','dd-MON-yyyy') start_date,
      2                   to_date('02-MAR-2012','dd-MON-yyyy') end_date from dual)
      3  select a.start_date + level - 1 dt
      4  from a
      5  connect by level <=  to_date('02-MAR-2012','dd-MON-yyyy') -
      6    to_date('05-FEB-2012','dd-MON-yyyy') + 1
      7  order by level;
    
    DT
    -----------
    05-FEB-2012
    06-FEB-2012
    07-FEB-2012
    08-FEB-2012
    09-FEB-2012
    10-FEB-2012
    11-FEB-2012
    12-FEB-2012
    13-FEB-2012
    14-FEB-2012
    15-FEB-2012
    
    DT
    -----------
    16-FEB-2012
    17-FEB-2012
    18-FEB-2012
    19-FEB-2012
    20-FEB-2012
    21-FEB-2012
    22-FEB-2012
    23-FEB-2012
    24-FEB-2012
    25-FEB-2012
    26-FEB-2012
    
    DT
    -----------
    27-FEB-2012
    28-FEB-2012
    29-FEB-2012
    01-MAR-2012
    02-MAR-2012
    
    27 rows selected.
    
    SQL>
    
  • socket InputStream does not get all the data, please help

    I've been doing stuff of network on blackberry for quite awhile, but still using the http connection.

    I have to use the socket for a piece of my application connection, but could not do the work.

    This code is what I do

    String url =

    "socket: / / ' + rmserver + ': ' + rmport;

    Socket SocketConnection = Connector.open (url) (SocketConnection);

    socket.setSocketOption (SocketConnection.KEEPALIVE, 1);

    OutputStream = socket.openOutputStream ();

    InputStream = socket.openInputStream ();

    send something here using outputstream

    int

    If (f > 0) {}

    do somwthing

    }

    AV is always 0.

    I don't know that my server sends data successfully. I run the network packet capture tool etheal on the MDS Server, I can see given reached MDS Server, but they never come to my device app.

    The outputstream works very well, I can send data from my application and my server code gets all of them.

    Where should I check? If it is http, I can turn on the debugging http on MDS log and see all network traffic, but for the socket connection, data packet is not connected (or I missed where it is).

    Is someone can you please tell me where I should go to understand why?

    Please try the suggestion to remove the check mark on InputStream.available.

  • PowerCLI Script to get all the data in a row store...

    Hi all

    What I'm trying to accomplish is to get this type of output:

    Cluster, host, WWN1, WWN2, Datastore1, Datastore2,..., data store DatastoreX

    So 1 row for each host, with attached all warehouses of data in the same row

    Number of data warehouses can vary from 1 to 30.

    So far, I have created this script:

    $clusters = Get-Cluster | sort
    
    
    
    $StorageInfo = @()
    
    
    
    foreach ($cluster in $clusters){
        Write-Host $cluster
        
        $VMHosts = Get-Cluster $Cluster | Get-VMhost | sort
        foreach ($VMHost in $VMHosts){
            $Vendor = "" 
            $VMhostname = $VMHost.Name
            $WWN1 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | Where { $_.Key -match "FibreChannelHba" })[0].PortWorldWideName
            $WWN2 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | Where { $_.Key -match "FibreChannelHba" })[1].PortWorldWideName
            
            if ( ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | Where { $_.Key -match "Disk"}).count -gt 1 ){
                $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | Where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"})[0].Vendor
                } else { 
                $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | Where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"}).Vendor
                }
            
            $Datastores = $VMHost | Get-Datastore | sort
            foreach ($Datastore in $Datastores){
                        
                $myObj = @()
                $myObj = "" | Select Farm,HostName,WWN1,WWN2,Vendor,Datastore
                $myObj.Farm = $Cluster.Name
                $myObj.HostName = $VMhostname
                $myObj.WWN1 = $WWN1
                $myObj.WWN2 = $WWN2
                $myObj.Vendor = $Vendor
                $myObj.Datastore = $Datastore.name
                               
                $StorageInfo += $myObj
                }
            }
        }
        
    $StorageInfo | convertto-csv -NoTypeInformation | Out-File ./Storage-info.csv    
    
    
    

    But this gives me a line by the data store, as well as several lines for each host.

    Could someone point me to a method how to proceed?

    Thank you and best regards,

    Harold

    You can use the Join function

    Something like that

    $clusters = Get-Cluster | sort
    $StorageInfo = @()
    
    foreach ($cluster in $clusters){
        Write-Host $cluster
        $VMHosts = Get-Cluster $Clusters | Get-VMhost | sort    foreach ($VMHost in $VMHosts){
            $Vendor = ""
            $VMhostname = $VMHost.Name
            $WWN1 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | where { $_.Key -match "FibreChannelHba" })[0].PortWorldWideName
            $WWN2 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | where { $_.Key -match "FibreChannelHba" })[1].PortWorldWideName
    
            if ( ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | where { $_.Key -match "Disk"}).count -gt 1 ){
                $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"})[0].Vendor
            } else {
                $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"}).Vendor
            }
    
            $Datastores = [string]::Join(',',($VMHost | Get-Datastore | sort | %{$_.Name}))
    
            $myObj = "" | Select Farm,HostName,WWN1,WWN2,Vendor,Datastore
            $myObj.Farm = $Cluster.Name
            $myObj.HostName = $VMhostname        $myObj.WWN1 = $WWN1        $myObj.WWN2 = $WWN2        $myObj.Vendor = $Vendor        $myObj.Datastore = $Datastores
            $StorageInfo += $myObj    }
    }
    
    $StorageInfo | convertto-csv -NoTypeInformation | Out-File ./Storage-info.csv 
    
  • get all the date of end of months between two dates

    Hi all, I'll try to find together the date of end of months between two dates.
    I have the following data in a table

    WITH AS's Data1
    (
    SELECT To_Date('4/30/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual UNION ALL
    SELECT To_Date('5/01/2009','mm/dd/yyyy') dt, "TEST2" lname FROM dual UNION all
    SELECT To_Date('5/02/2009','mm/dd/yyyy') dt, "TEST3" lname FROM dual UNION all
    SELECT To_Date('5/03/2009','mm/dd/yyyy') dt, "TEST4" lname FROM dual UNION all
    SELECT To_Date('5/04/2009','mm/dd/yyyy') dt, "TEST5" lname FROM dual UNION all
    SELECT To_Date('5/05/2009','mm/dd/yyyy') dt, "TEST6" lname FROM dual UNION ALL
    SELECT To_Date('5/31/2009','mm/dd/yyyy') dt, 'TEST7' lname FROM dual UNION all
    SELECT To_Date('6/01/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual

    )

    I would like to write an application that gives you all the end date for months between two dates
    for example, if you give the date 9/1/4 and 5/6/9, the output should be
    DT          LNAME
    -------------------
    4/30/2009   TEST
    IF I give you the dates 01/04/09 AND 01/06/09, THEN output should be
    DT          LNAME
    -------------------
    4/30/2009   TEST
    5/31/2009   TEST7
    as you can see, I want all the end dates of months between two dates by giving the output.

    If I give you 06/05/09 and 05/06/09, and then does so no output because there is no end of month between these two dates.
    Similarly, if I give you 30/04/09 and 30/04/09 then output should be 30/04/09 because it is an end of month date

    anyone can help to write a query. Thank you very much

    Jin
    Not sure if you need subquery, analytical functions for this.
    According to me, which should solve your purpose.

    WITH data1 AS
    (
    SELECT To_Date('4/30/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual UNION ALL
    SELECT To_Date('5/01/2009','mm/dd/yyyy') dt, 'TEST2' lname FROM dual UNION all
    SELECT To_Date('5/02/2009','mm/dd/yyyy') dt, 'TEST3' lname FROM dual UNION all
    SELECT To_Date('5/03/2009','mm/dd/yyyy') dt, 'TEST4' lname FROM dual UNION all
    SELECT To_Date('5/04/2009','mm/dd/yyyy') dt, 'TEST5' lname FROM dual UNION all
    SELECT To_Date('5/05/2009','mm/dd/yyyy') dt, 'TEST6' lname FROM dual UNION ALL
    SELECT To_Date('5/31/2009','mm/dd/yyyy') dt, 'TEST7' lname FROM dual UNION all
    SELECT To_Date('6/01/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual 
    
    )
    select distinct last_day(dt) dt,lname
      from data1
     where dt between &start_date and &end_date
       and last_day(dt) <= &end_date
    
    also, i have another request. how would i do this without using the data i provided. lets say,
     i tell you, give me alll the months end between two dates using dual in the from clause of a query.
    how would you do this in a query or pl/sql? thanks again
    

    Can be like that

    with data1 as(
    select &start_date+level-1 dt from dual
    connect by level <= &end_date-&start_date+1)
    select distinct last_day(dt)
      from data1
     where dt between &start_date and &end_date
       and last_day(dt) <= &end_date
     order by last_day(dt)
    

    See you soon!
    Bobin

    Published by: Buga added query for updated the need

  • I need to get all the data VLAN of Vcenters worth of clusters

    Hiya,

    I know that my goodwill is probabily come up a little short but well I'll ask!

    I have multiple vcenters, with hundreds of VLANs (literally)

    What I have to do is extract, by cluster:

    Name of the cluster

    Beaches of available within the cluster network

    VLAN ID

    As I say, if someone can provide a script to do this, it would be much appreciated.

    Concerning

    Stu

    Of course, capture the output in a variable and run this variable to the Export-Csv cmdlet.

    $report = foreach($cluster in Get-Cluster){
        foreach($esx in (Get-VMHost -Location $cluster)){
            foreach($pg in (Get-VirtualPortgroup -VMHost $esx)){
                Select -InputObject $pg @{N="Cluster";E={$cluster.Name}},
                @{N="VMHost";E={$esx.Name}},
                @{N="Portgroup";E={$pg.Name}},
                @{N="VLAN";E={$pg.VlanId}},
                @{N="IP";E={
                        $adapter = Get-VMHostNetworkAdapter -VMHost $esx | where {$_.PortgroupName -eq $pg.Name}
                        if($adapter){
                            [string]::Join(',',($adapter.IP | %{$_}))
                        }
                    }}
            }
        }
    }
    
    $report | Export-Csv "C:\Temp\report.csv" -NoTypeInformation -UseCulture
    
  • All the dates in a month gave a date

    Hi... maybe it's simple, but I'm not able to get my mind around.

    Given a date, how to get all the dates this month, from beginning to end this month, in order... just by using a SQL SELECT statement... not PL/SQL

    Thank you

    Published by: dcentgye on October 1st, 2008 16:13

    Here's the way->

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    Elapsed: 00:00:00.61
    satyaki>
    
    satyaki>
    satyaki>select trunc(to_date('&dt','DD-MON-YYYY'),'MONTH') + rownum - 1
      2  from dual
      3  connect by rownum <= trunc(add_months(to_date('&dt','DD-MON-YYYY'),1),'MONTH') -
      4                       trunc(to_date('&dt','DD-MON-YYYY'),'MONTH');
    Enter value for dt: 23-AUG-2008
    old   1: select trunc(to_date('&dt','DD-MON-YYYY'),'MONTH') + rownum - 1
    new   1: select trunc(to_date('23-AUG-2008','DD-MON-YYYY'),'MONTH') + rownum - 1
    Enter value for dt: 23-AUG-2008
    old   3: connect by rownum <= trunc(add_months(to_date('&dt','DD-MON-YYYY'),1),'MONTH') -
    new   3: connect by rownum <= trunc(add_months(to_date('23-AUG-2008','DD-MON-YYYY'),1),'MONTH') -
    Enter value for dt: 23-AUG-2008
    old   4:                      trunc(to_date('&dt','DD-MON-YYYY'),'MONTH')
    new   4:                      trunc(to_date('23-AUG-2008','DD-MON-YYYY'),'MONTH')
    
    TRUNC(TO_
    ---------
    01-AUG-08
    02-AUG-08
    03-AUG-08
    04-AUG-08
    05-AUG-08
    06-AUG-08
    07-AUG-08
    08-AUG-08
    09-AUG-08
    10-AUG-08
    11-AUG-08
    
    TRUNC(TO_
    ---------
    12-AUG-08
    13-AUG-08
    14-AUG-08
    15-AUG-08
    16-AUG-08
    17-AUG-08
    18-AUG-08
    19-AUG-08
    20-AUG-08
    21-AUG-08
    22-AUG-08
    
    TRUNC(TO_
    ---------
    23-AUG-08
    24-AUG-08
    25-AUG-08
    26-AUG-08
    27-AUG-08
    28-AUG-08
    29-AUG-08
    30-AUG-08
    31-AUG-08
    
    31 rows selected.
    
    Elapsed: 00:00:00.35
    

    Kind regards.

    LOULOU.

  • I had a hard drive crash and had to move all the data again. Now, I get an error saying that my Visa is not an authorized version. How can I find the product key to reactivate?

    Vista Product Code question

    I had a hard drive crash and had to move all the data again.  Now, I get an error saying that my Visa is not an authorized version.  How can I find the product key to reactivate?  I don't have the sticker on the back and the software I have does not have the code?  I bought this laptop DELL at Best Buy a little more than a year.

    Thank you.

    Hello

    This problem may occur if you make a significant hardware change. See the link provided below.

    Error message when you start Windows Vista: "your activation period has expired".

    http://support.Microsoft.com/kb/925616

    If the OS came preinstalled Dell you may need to contact Dell technical support for assistance.
    http://support.Dell.com/support/topics/global.aspx/support/win7_support/win7_portal?c=us&CS=04&l=en&s=BSD

  • I keep getting the "this connection is not approved" in all the sites when I use Firefox on windows laptop 36.0.1 8. How can I overcome this.

    I keep getting the "this connection is not approved" in all the sites when I use Firefox on windows laptop 36.0.1 8. How can I overcome this.

    Hi vijaysampath, please make sure first that the date, time, and time zone are set correctly on your system. If this does not solve the problem (or it is already set correctly), a possible solution depends on different factors:

    • What is the error code indicated under Technical Details on the error page?

    in case the error code is equal to sec_error_unknown_issuer, please try to add an exception on the bottom of the error page to verify the certificate, as shown on the attached screenshot:

    • What information about the issuer of the certificate contain?

    Please take these two pieces of information. Thank you!

  • Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Download the latest version of Firefox to:

    Uninstalling Firefox

    Install Firefox on Windows

    Check and tell if its working.

  • Move the user off the system disk folders? Envy of all the data on E, so need to move directories user E. not individually, but in the world. If all new users, I create will have their user and docs folder on E.

    Got a new laptop with win 7 home premium pre-installed. Using the language of win 7... I have decreased the volume of HDD to 55 GB.  Made new simple volumes. I want all the data personal on E, so need to move user directories to E. No individually change the location tab on dozens of files, but in the world. If all new users, I create will have their user and docs folder on E from the gitgo.

    Under XP, I could just change the 'My Documents' link on each desktop, go to the e. * instead of c *. *, but with win7?

    As a Windows Home Server and most wise OS facilities, the system drive is isolated and a drive of 2 or 3 for everything else.  Get a problem? Just restore the system drive.

    You need the answer?

    Thank you
    Tom
    PS Microsoft: This backup/do imaging software, why don't we name the image so many can all be stored on easily in one place without having to go and rename it or move them elsewhere?

    Hello TomZork,

    Thanks for posting on the Microsoft answers Forum.

    In another forum, I found the instructions to move folders of users to another drive.
    You can follow the post here. This is attributed to Jimmie R. Houts.

    Article:
    You can move the entire folder C:\Users to another drive quite easily once windows is installed:

    1. Boot from the installation media and access the command prompt (I think you need to click on fix everything first)
    2. Use Robocopy to copy C:\Users to D:\Users: robocopy c:\Users d:\Users /mir /xj
      a. /mir says robocopy to mirror directories, this will copy all files and permissions
      b. /xj is very important, it means robocopy does not follow the points of junction. If you forget this, you will have a lot of trouble.
    3. Make sure that the files copied successfully
    4. Delete c:\Users
    5. Create the junction pointing d:\Users: mklink /d c:\Users d:\Users

    That's all. I used this process for Vista RTM with no problems.

    Here's an article that explains as well. Just use robocopy instead of xcopy as it does in the article in order to avoid possible ntfs permissions problems.

    Update: because I discovered the hard way, I thought I would mention also that if you plan on switching "Program Data", or "Program Files" with this method, you will be disappointed to know that everything works as expected, but the windows updates will install is no longer. I don't know if this problem has been fixed in Win 7.

    With the foregoing, it is not a Microsoft forum or Web site so you will have to use at your own risk. I also recommend to do a system restore point before making any changes in directories that you can then go back to a previous state.

    Please reply back and let us know if these suggestions help you to solve your problem, then to benefit others.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Table is not fetch all the data of the VO at a time?

    Hello world

    My version of Jdev is 11.1.2.3.0.
    I developed page ADF that has a single Table that should show all the data in the original Version at the same time.
    The table has vertical and horizontal scroll bars. And the VO has more than 900 documents.
    The question is, at the start when loading the page table shows 20-25 records then when I try to scroll down and then the data is going to look this day there ("retrieving data" message) by which its takes a long time to see the data because its extraction at the time where I scroll down.
    How can I avoid this?
    How will I be able to retrieve all data from VO (all 900 records) by which when I scroll data should not look at this time?

    And also increases the size of the table and is based on the data when I scroll down.
    How can I avoid this?
    How can we fix the size of the table regardless of the content?

    All suggestions will be really useful...


    Thank you.

    The message «Retrieving data...» "is issued by the client component of table rich user interface when it retrieves data of the server-side model component lines in its local buffer of lines. Even if the server-side model component has recovered all the rows from the database (e.g. VO has recovered all of the rows from the database in the cache of the VO), the client component of table UI does not download all of them locally, but it downloads as needed into portions whose size is controlled by the attribute 'fetchSize' of the table. By default, the 'fetchSize' attribute is set to the value of the property "rangeSize' of the corresponding mandatory ADF iterator (whose default value is 25). In this way, if you scroll to the bottom of the table of the UI after the 25th row, the table would download the next set of 25 lines of its components side server model (and it then displays the message "retrieving data... ('') and so on.

    If you want to avoid downloading frequent of the next rowset of the component side server model to the customer table component user interface, you can set attribute 'fetchSize' of the table to a more fixed, for example:

    
    

    In this way, only the client user interface table would download locally 1000 lines (if there are so many existing lines, of course) and it won't download more rows until you scroll the table after the 1000th line (when it would download a next series of 1000 lines).

    Be wise when the setting 'fetchSize' of the table to a large number, because more the 'fetchSize', greater would be the size of HTTP, the longer answer response would be and more memory at the customer level would be consumed for the customer table buffer. Note that-1 (for example "get all") is not a valid value for the attribute 'fetchSize '. If you set it to-1, it will default to 25.

    Dimitar

  • Problem of human task (not able to display all the data in the application of the task list)

    I received data from the data adapter and passing this value to human task for approval, but not be able to view all data of the list of tasks.

    first created and then mapped parameter with bepl variable setting but still not able to view the data in the jsp page.

    Dude,
    There is no specific measure to map data to your task form controls.
    It's just a drag and drop.

    You can get the item parent of schema you in browser controls to data in the left pane.
    create a group of panels in the form of you,
    Drag the parent in the Group of panels in your task form.

    This is it... It's nothing more than that.
    See you soon!

    -GauravFox

  • How can I get all the options for the creation of new titles? I'm stuck on a Board where it does not color or width/size options

    How can I get all the options for the creation of new titles? I'm stuck on a Board where it does not color or width/size options

    If you have not all panels in the Titler then go and reset the current workspace that is located under the window.

  • How to get all the users of the IOM, whose field Manager is not null or empty

    Hello world

    How to get all the users of the IOM, whose field Manager is not null or empty (using java code)

    Thank you

    Published by: user11205212 on January 18, 2010 12:38 AM

    Hey beginner,.

    I come to write this line where he can put his sql query... in the next post I provided the example sql also...

    Concerning
    VM

    Published by: user12280771 on January 18, 2010 22:11

Maybe you are looking for