Assign access path without opening explorer

Hi, i have a PS script top open a partition in my drive assigning a Logical Letter; do some operations; remove Unit Letter
i'm using the Add-PartitionAccessPath cmdlet and it works fine:
Add-PartitionAccessPath -DiskNumber 0 -PartitionNumber 3 -AssignPath R:
but i would like to find a way to avoid that after this operation is done, then File Manager Explorer is opening a window on unit R:
I have tried to add | Out-Null after the Add-PartitionAccessPath string but always Explorer open the path anyway.
Is there a way to make the AddPartitionAccessPath a "silent" operation without Explorer opening?
thanks for any help!!!
regards
Simone

Hi Simone,
You can try the last suggestion in this thread and see if it works for you:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/29abd4e2-d455-4344-ac45-add52adbdf29/newpartition-but-supress-the-dialog?forum=winserverpowershell
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing)

Similar Messages

  • Import data without opening explorer built in Import visual button

    Hi
    How can I Import data without opening explorer. If I add Import button visual and click on it automatically opens explorer to chose exported file. But I already know location and name of  exported file so I don't want that explorer to appear.
    How can I do it?
    Thanks

    Hi I was thinking
    What about to have code for importing and exporting. for example:
    Import(DataName, location)
    Import(Collection1, "C:\User\Documents\Data\dataname")
    Export(DataName, location)
    Export(Collection1, "C:\User\Documents\Data\dataname")
    With this code we could easily add it into timerEnd behaviour and we could make automatic backup files
    Or
    We could add this into save button where we do editing of our collection and save it straight to backup file
    We could have the location and data name saved in local machine and call them in that import export code. This is exactly what I need if I want that data to be shared between multiple devices where all the data would be stored on server or
    shared folder
     And also for better user interface there should be a location picker (button visual) what would open explorer where we could chose the location instead of writing it down into an inputtext
    What do you thing about this? Would this work?

  • Upgraded to newest version of Firefox all the links were broken, it will not open in Safe Mode or anywhere else-before I uninstall it I'd like to access save my user names and and passwords from websites- can i access them without opening the browser

    i can not launch browser toget version info or anything else, when it upgraded to newest version it stopped working-i've tried launching in Safe Mode and have tried all icons

    You can save a copy of your passwords file, but I don't think you can open it without Firefox.
    Your passwords file is in your profile folder. You might want to make a backup copy of the whole folder. Info on locating the folder: [http://support.mozilla.com/en-US/kb/Profiles Profiles | How to | Firefox Help].
    You may want to try reinstalling Firefox 3.6. You can download the installer from http://www.mozilla.com/firefox/all-older

  • How can I open Internet explorer only pages on a mac? The website that I need to access only permits internet explorer

    How can I open Internet explorer 'only' pages on a mac, without creating a drive partition and installing windows separately?
    I've tried winbottler, but it doesn't seem to serve my purpose. The web site that I'm trying to access only permits Internet explorer.

    Microsoft has not written IE for Mac for years so unless you want to create a parition and install Windows, or user a Windows emulator, you're out of luck for installing IE on a Mac.
    The web site that I'm trying to access
    There might be a work around for you since it's just the one site.
    Go to the Safari menu bar click Safari > Preferences then select the Advanced tab.
    Enable the Develop menu.
    Now click Develop from the Safari menu bar then click User Agent > IE 9, 8, or 7

  • Printing a document without opening it in Oracle Forms 10g

    Hi Friends,
    This is my first thread in this forum. Please any one give me a solution for my below request.
    We use oracle 10g and windows (any version). I want to print some files available in a folder without opening it (run in background) through oracle forms.
    My requirement is:
    A folder contains 10 files of word and excels documents. The client machine user (for example 3 clients’ machines who has different default printer configuration) has to trigger the print command to print the documents.
    * I have found Article "Java Bean to print a file to Local Printer" (http://forms.pjc.bean.over-blog.com/article-6621538.html). I do think it will help.
    * I have found a windows command prompt print concept.
    PRINT mytext.txt /D:LPT2
    Prints a text file.
    PRINT [D:device] [[drive:][path]filename[...]]
    /D:device specifies a print device.
    * The command prompt print syntax is used with webutil function as given below.
    CLIENT_HOST('cmd PRINT mytext.txt /D:LPT2);
    1) is the web util syntax only enough for this requirement?
    2) In this how to find the default printers in each client machines and use in the place of syntax?
    3) Or any other ways available for this requirement.
    I look forward solution for this question....!

    Hi Jeshra,
    Another option would be to find or write a Windows PowerShell script to print any file and then call that from CLIENT_HOST. Many file types, including Microsoft Office files, have a print operation registered with Windows so you can right-click on them in Windows Explorer and choose "Print." You should be able to exploit this ability with PowerShell.
    A quick Google search revealed this potential PowerShell solution:
    http://powershell.com/cs/blogs/karl-prosser/archive/2009/02/10/print_2D00_file_2D00_function.aspx
    PowerShell is installed by default only on Windows 7 so you would have to install it on older Windows clients.
    Hope that helps,
    Brian

  • Assign access control,http 404 error

    Hi,
    when i right click on assign access control,i receive the following error:
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the server111:19000 home page, and then look for links to the information you want.
    Click the  Back button to try another link.
    Click  Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    Can you help me in this regard ?
    Thanks,
    ColDFire

    ak123 wrote:
    Its the same when I try from both port 28080 and 9000.So are you running the embedded http server on port 9000? if not and you are using OHS then try accessing Shared Services through that port e.g. http://<sharedservices>:19000/interop/index.jsp
    Actually I am not sure that matters with HFM and you can go direct through 28080 or 19000, worth a try, if not maybe it just needs registering again as Pablo said.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • EVfunctions fails using web template (without openning BPC Excel)

    When we publish a template in the contant libary, it gives us a url. We use this url to access from a sap portal. Then, the template bottoms with macros that have EVfunctions don't work. We need to open the BPC Excel Client to run it.
    ¿How can we use a web template directly from the url? (without openning the BPC Excel Client)

    maybe I'm explaining bad myself, or maybe I don't underestand your answer.
    I will try to explain it step by step my problem,
    we made a template, with evfunctions, like match-codes, refresh buttom, and another buttoms with Ev functions. This template is used to introduce user-values, so the users can fill the template and save the introduce data in the application.
    We publish it with the content library, so we get a url. We put this URL in sap portal, like a link to this template.
    When users or administrators wants to use this template by this link, it is opened with internet explorer, but the cannot use this template, because, those buttoms and functions doesn't works if we openned in this way. The only way to use this link is if we connect to the bpc excel client, before we use this link. But our question or problem is that we don't want to use in these way, we want to start introducing data and using the template directly from the url.
    So our question is: is there any possibility to do that? and if it is, how can we apply it?
    thanks for your answers.
    Gorka I.

  • Rejoin path without removing anchor handle?

    Im wondering if it is possible to rejoin an open path without removing the bezier handle of the open point.
    I find that I quick switch to the direct selection tool to rotate my previously placed anchor or some other quick edit, and then when I want to carry on with the path I click the last point, which has the adverse effect for me of turning the open point into a mixed curve/corner and I have to redrawn the open anchor handle. Photoshop doesn't behave like this when clicking on open anchors, you have to alt click to achieve such behaviour.
    Is there something I'm missing to stop this happening?
    Thanks

    Dan,
    Assume you're drawing a path with the pen, point-by-point, clicking to place corner points; clickDragging to place smooth points. You've just placed a smoothPoint, so both its handles are extended. Now you want to access the white pointer to make an adjustment to that most-recently placed anchor before continuing with the Pen.
    Don't make a "hard switch" to the white pointer (by selecting the tool in the Toolbox or by tapping A). Instead, momentarily invoke it by pressing and holding the Ctrl key. Make the desired adjustment. Release the Ctrl key and the Pen comes back. Simply click or clickDrag where you want the next anchor; you do not have to click the last-placed anchor to resume drawing the path. Doing so, the outboard handle of the last-placed anchor will not be retracted.
    If pressing Ctrl momentarily invokes the black pointer instead of the white pointer, that's because the black pointer is the one you most recently used before selecting the Pen. (That nonsense is part and parcel of AI's endlessly tedious two-selection-tool interface, to which AI still clings, despite its having been prooved both unnecessary and undesirable about three decades ago by FreeHand's far better selection interface.)
    Pressing the Alt key similarly momentarily invokes the Convert tool to make adjustments, and releasing the Alt key lets you resume with the Pen (desipte AI's display of selected anchors failing to reflect that).
    JET

  • Unbricking without opening

    Hi all, NEWS:I have setup a github for my experiments.So you can find all my information here:https://github.com/utessel/mycloud  Most important:This posting is about how to unbrick a MyCloud without opening it.At least: Some important steps to do this... Disclaimer:1.) It is not a complete walkthrough how to do this.2.) I cannot (and will not) explain or help how to unbrick your device.3.) I hope someone else will clean this up, improve it and create something even more useful out of it:I just wrote down the steps I did, (ok, with a little bit of cleanup already)If there is a wiki or something like that for this: feel free to use my information.4.) I will not provide any binaries I created for myself. My background:I bought a broken MyCloud (in fact to have a second one, just to be able try this) and started to "unbrick" that, and I was trying it the hard way: Not connecting the disk to anything else.So in fact my MyCloud was open: This allowed me to use a serial console to watch what is happening. But that is finally not required at all. The final result works like this:1. you need a working DHCP server that sends a TFTP Server address: I use dnsmasq for this. (don't ask me how to configure that!)2. Setup a tftp folder with two files "startup.sh" and "uImage" (more about these files below)3. Execute (my) rawping command to send the magic ICMP packet (you find it in my other posting about the serial interface)4. Power your MyCloud device (I expect you already have a working LAN connection).5. Wait a bit and you can connect via telnet to your device and you can start to repair it. So how does this work:After power on the device starts the first and the second barebox loader.The second barebox sees the "magic packet" and now tries to download startup.sh from the tftp server:Mine looks like this: startup.shecho Will boot via tftp
    timeout -c 2
    addpart /dev/mem 8M@0x3008000(uImage)
    tftp uImage /dev/mem.uImage
    bootargs="console=ttyS0,115200n8, "
    bootargs="$bootargs mac_addr=$eth0.ethaddr panic=3"
    bootm /dev/mem.uImage  This will now load the kernel (=uImage) via tftp and start it.The kernel boots and will use its "initramfs" that I compiled into it:My "initramfs" contains just the network modules, a busybox installation and a few scripts: These scripts will start the network, make a dhcp request (again) and finally start telnetd:Now I can connect via telnet to my box. The whole procedure does not need anything on the disk at all.I expect it would work even without having a disk, but I didn't try that. I now can mount partitions, communicate via network, whatever busybox allows.So it should be possible to download new images to the disk etc.Or simply repair the broken script you have changed? You now might ask "how can i create that uImage file?" For that I used two things:1) The kernel from the GPL package2) and the busybox sources (I used busybox-1.22.1 I already had from an openwrt installation). For busybox I used "defconfig", and changed (via menuconfig) to build it "static" (that is important). For the kernel I changed (via menuconfig) to use initramfs and added the path to my initramfs.cpio.gz.(in fact I tried a lot of other changes, but finally was able to remove all of them for this...) Here is my script I used to compile busybox and the kernel and generating the scripts in the initramfs:Disclaimer:I know I don't have all steps repeatable with this script. As I tried this several times, I know I copied the modules from the _bin folder (created during kernel compile) to the _install folder of busybox once.Maybe I forgot other steps I did. But I hope someone else can fill this gap. export ARCH=arm
    export CROSS_COMPILE=arm-linux-gnueabi-
    cd busybox-1.22.1
    make -j8 install
    cd _install
    mkdir {bin,dev,sbin,etc,proc,sys,lib}
    mkdir lib/modules
    mkdir dev/pts
    mkdir -p usr/share/udhcpc
    echo "#!/bin/sh" >init
    echo "mount -t proc proc /proc" >>init
    echo "mount -t sysfs sysfs /sys" >>init
    echo "mount -t devpts none /dev/pts" >>init
    echo "echo /sbin/mdev >/proc/sys/kernel/hotplug" >>init
    echo "mdev -s" >>init
    echo "insmod /lib/modules/3.2.26/pfe.ko lro_mode=1 tx_qos=1 alloc_on_init=1" >>init
    echo "ifconfig eth0 up" >>init
    echo "udhcpc -b" >>init
    echo "telnetd -l/bin/sh" >>init
    echo "exec /sbin/init" >>init
    chmod +x init
    echo "T0:2345:respawn:/sbin/getty -L ttyS0 115200 vt100" >etc/inittab
    echo "ttyS0::askfirst:-/bin/sh" >etc/inittab
    echo "#!/bin/sh" >usr/share/udhcpc/default.script
    echo "case \"\$1\" in" >>usr/share/udhcpc/default.script
    echo " renew|bound)" >>usr/share/udhcpc/default.script
    echo " /sbin/ifconfig \$interface \$ip \$BROADCAST \$NETMASK" >>usr/share/udhcpc/default.script
    echo " ;;" >>usr/share/udhcpc/default.script
    echo "esac" >>usr/share/udhcpc/default.script
    echo "exit 0" >>usr/share/udhcpc/default.script
    chmod +x usr/share/udhcpc/default.script
    sudo mknod dev/null c 1 3
    sudo mknod dev/tty c 5 0
    sudo mknod dev/console c 5 1find . | cpio -H newc -o > ../../initramfs.cpio
    cd ../..
    cat initramfs.cpio | gzip > initramfs.cpio.gz
    cp initramfs.cpio.gz packages/kernel_3.2/
    cd packages/kernel_3.2
    make uImage
    cp _bld/arch/arm/boot/uImage /home/tftp/ Oh:I used the compiler I got from the ubuntu 14.04 installation (sudo apt-get install gcc-arm-linux-gnueabi),not the one wd uses. In fact I think I will now try to setup a clean debian system on my device, as I don't need all the cloud things... Ciao,   Baerle  

    hi all thanks to baerle and fox_exe for detailed procedure and support  i cannot mount /dev/sda4 i get 'No such file or direcotry'  in the dmsg boot log i've got these [    9.394868] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   14.938401] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   14.944867] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   20.488788] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   20.495250] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   26.038382] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   26.044844] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   31.588296] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   31.594755] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   37.138177] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   37.144638] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   42.688068] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   42.694530] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   48.238308] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   48.244769] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   53.788145] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   53.794605] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   59.339924] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   59.346383] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   64.886828] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   64.893294] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   70.441961] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   70.448420] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)
    [   75.980575] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [   75.987035] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80)   so i've tried to open the wdmc (according to wd support i can open it to recover data)  but when i connect the disk is not recognized  diskutil info /dev/disk1   Device Identifier:        disk1   Device Node:              /dev/disk1   Part of Whole:            disk1   Device / Media Name:      WDC WD30 EFRX-68EUZN0 Media    Volume Name:              Not applicable (no file system)    Mounted:                  Not applicable (no file system)    File System:              None    Content (IOContent):      None   OS Can Be Installed:      No   Media Type:               Generic   Protocol:                 USB   SMART Status:             Not Supported    Total Size:               0 B (0 Bytes) (exactly 0 512-Byte-Units)   Volume Free Space:        Not applicable (no file system)   Device Block Size:        512 Bytes    Read-Only Media:          No   Read-Only Volume:         Not applicable (no file system)   Ejectable:                Yes    Whole:                    Yes   Internal:                 No   OS 9 Drivers:             No   Low Level Format:         Not supported  /dev/disk1   #:                       TYPE NAME                    SIZE       IDENTIFIER   0:                                                   *0 B        disk1  i've tried also to use diskutil diskRepair but i've got this rror repairing map: POSIX reports: Invalid argument (22)  or gpt recover /dev/disk1  gpt recover: unable to open device '/dev/disk1': Operation not supported by device  do you know if i can: 1) access to my data and recover data2) alternatively initialize disk from scratch   ?  any support is appreciated  thank you!!

  • How do I create a new profile without opening firefox?

    Firefox is not opening for me even after I uninstalled and re installed it, I have been told that often this problem can be fixed by resetting my fire fox account, and while I have been instructed on how to access my profile without opening fire fox there is nothing that will tell me how to reset my profile or create a new profile without opening fire fox. Please help, I don't want to loose my important information and I really really don't want to use chrome... it sucks...
    Thank you

    See:
    *https://developer.mozilla.org/Command_Line_Options

  • How can we get the artset from a .ai file without opening it?

    Hello All,
    I have one .ai file, lets say sample.ai file. located in C drive. so the complete file path is "C:\Sample.ai".
    and lets assume the sample.ai file has one traingle shape(3 path type arts) in it.
    Now I want to get the 3 path arts (artset)  from sample.ai file without opening it in AI.
    The function protoype is like below
    AIArtSet& artSet GetArtSetFromAFile( ai::FilePath& filePath );
    Is there any API like above function in AI? or is it possible to get the art(s) from a file without opening it in AI?

    Not to my knowlege. The API only operates on active documents as far as I know.

  • I want to print several attahments at once without opening them one at a time.

    What I am trying to accomplish is this,
    I'm trying to at one time print several attachments at one time without opening them one at a time.
    They are receipt from our supplier so we receive an average of twenty a day it will be so time consuming to have to open each one then print everyday.

    The best you may be able to do is create a filter that automatically or manually detaches or saves the attachments to an external folder (for that, you need the [https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/ FiltaQuilla] add-on), and then you could select the attachments in Explorer and print them.
    If the receipts were displayed inline or in the message body, you could set up FiltaQuilla to Print the messages, and to have the printing done in the background without having to OK each message, the [https://addons.mozilla.org/en-US/thunderbird/addon/printingtools/ Printing Tools] add-on would help.
    But for only 20 messages per day, it may not be worth going to the trouble of setting up this method.

  • Bypassing Autologon in Windows 8.1 assigned access

    Good day!
    I am attempting to use Assigned Access in Windows 8.1 to set up a guest facing kiosk for our company. Our current kiosk software just isn't cutting the mustard right now, and Assigned Access is actually doing nearly everythign we ask of it!
    I have set up a forced autologon in the registry (forceautologon=1, autoadminlogon=1), which is working perfectly. However, I don't have any way to escape the autologon now. In windows 7 and XP, I simply held down shift to break the cycle. I've tried tapping
    the windows key 5 times while holding shift, but to no avail. Does anyone know how to break the cycle?

    I created a simple
    apicación in VB.NET, you just
    need to enable remote logging on the machine
    with  auto logon from your computer
    and run the application. When
    the session is opened on the remote machine
    running NoLogin to disable the
    automatic startup, closed session
    and see that pressing OK and
    not entered automatically, or
    run it and restart your computer,if you want to
    re-enable would be the same process.
    https://dl.dropboxusercontent.com/u/27234442/techtools/NoLogin.exe

  • Index not being used in access path

    Hi,
    I have been trying to rewrite a query which currently is taking almost 1min and 25 secs to execute. The database version is 11.1.0.7.
    The query is -
    SELECT COUNT(1)
    FROM TAB1 p
    WHERE p.ACODE = 24377
    AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
    AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
    AND p.rflag = 'Y';
    The table originally didn't have an index on p.ACODE. So, I created this index and set it to visible and set the optimizer_use_invisible_indexes parameter also to TRUE. I set the monitoring on this index too. Even though I have created the index on the ACODE column, the access path doesn't use it. Can someone please tell me why this is not being used.
    Below is the explain plan for the sql stmt and the usage of the index -
    I have changed the actual table and column names -
    SQL> SELECT COUNT(1)
    2 FROM TAB1 p
    3 WHERE p.ACODE = 24377
    4 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
    5 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
    6 AND p.rflag = 'Y';
    COUNT(1)
    1
    SQL> explain plan for
    2 SELECT COUNT(1)
    3 FROM TAB1 p
    4 WHERE p.ACODE = 24377
    5 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
    6 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
    7 AND p.rflag = 'Y';
    Explained.
    Elapsed: 00:00:00.02
    SQL> @$ORACLE_HOME/rdbms/admin/utlxpls.sql
    PLAN_TABLE_OUTPUT
    Plan hash value: 3942424611
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 87 | 214K (2)| 00:42:57 |
    | 1 | SORT AGGREGATE | | 1 | 87 | | |
    |* 2 | HASH JOIN ANTI | | 1 | 87 | 214K (2)| 00:42:57 |
    |* 3 | HASH JOIN ANTI | | 1 | 60 | 209K (2)| 00:41:56 |
    |* 4 | TABLE ACCESS FULL | TAB1 | 1 | 32 | 209K (2)| 00:41:55 |
    | 5 | INDEX FAST FULL SCAN| PK_TAB3 | 29918 | 818K| 53 (0)| 00:00:01 |
    | 6 | INDEX FAST FULL SCAN | PK_TAB2 | 3199K| 82M| 5059 (1)| 00:01:01 |
    Predicate Information (identified by operation id):
    2 - access("PH"."PKey"="P"."AKey")
    3 - access("PHS"."PKey"="P"."AKey")
    4 - filter(TO_NUMBER("P"."ACODE")=24377 AND "P"."rflag"='Y')
    20 rows selected.
    Elapsed: 00:00:00.03
    SQL> select index_name,VISIBILITY from user_indexes where index_name='IDX_TAB1_ACODE';
    INDEX_NAME VISIBILIT
    IDX_TAB1_ACODE VISIBLE
    Elapsed: 00:00:00.01
    SQL> show parameter visible
    NAME TYPE VALUE
    optimizer_use_invisible_indexes boolean TRUE
    SQL>
    SQL> SELECT v.index_name, v.table_name,
    v.monitoring, v.used,
    start_monitoring, end_monitoring
    FROM v$object_usage v, dba_indexes u
    WHERE v.index_name = u.index_name
    AND v.index_name = 'IDX_TAB1_ACODE';
    INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
    IDX_TAB1_ACODE TAB1 YES NO 05/26/2010 14:13:41
    Elapsed: 00:00:00.10
    Edited by: user12158503 on May 26, 2010 1:24 PM

    Thanks Centinul.
    I apologize for posting in both sections. I put it in the Database General too because I thought I originally posted it in the wrong section.
    The index was not being used because it was doing the implicit type conversion. When I enclosed it in quotes, it returns the result within a second and it uses the index.(whereas without the index it takes around 1min 25 sec)
    Here is the explain plan and execution time after enclosing it in quotes -
    SQL> explain plan for
    2 SELECT COUNT(1)
    3 FROM TAB1 p
    4 WHERE p.AKey = '24377'
    5 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AgilityKey )
    6 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AgilityKey )
    7 AND p.rflag = 'Y';
    Explained.
    Elapsed: 00:00:00.02
    SQL> @$ORACLE_HOME/rdbms/admin/utlxpls.sql
    PLAN_TABLE_OUTPUT
    Plan hash value: 2008452282
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 87 | 5134 (1)| 00:01:02 |
    | 1 | SORT AGGREGATE | | 1 | 87 | | |
    |* 2 | HASH JOIN ANTI | | 1 | 87 | 5134 (1)| 00:01:02 |
    |* 3 | HASH JOIN ANTI | | 1 | 60 | 60 (2)| 00:00:01 |
    |* 4 | TABLE ACCESS BY INDEX ROWID| TAB1 | 1 | 32 | 6 (0)| 00:00:01 |
    |* 5 | INDEX RANGE SCAN | IDX_TAB1_AKey | 4 | | 1 (0)| 00:00:01 |
    | 6 | INDEX FAST FULL SCAN | PK_TAB3 | 29918 | 818K| 53 (0)| 00:00:01 |
    | 7 | INDEX FAST FULL SCAN | PK_TAB2 | 3199K| 82M| 5059 (1)| 00:01:01 |
    Predicate Information (identified by operation id):
    2 - access("PH"."PKey"="P"."AGILITYKEY")
    3 - access("PHS"."PKey"="P"."AGILITYKEY")
    4 - filter("P"."rflag"='Y')
    5 - access("P"."AKey"='24377')
    22 rows selected.
    Elapsed: 00:00:00.02
    SQL> SELECT COUNT(1)
    2 FROM TAB1 p
    3 WHERE p.AKey = '24377'
    4 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AgilityKey )
    5 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AgilityKey )
    6 AND p.rflag = 'Y';
    COUNT(1)
    1
    Elapsed: 00:00:00.52
    Can you give me some tips on where I could read about learning to understand the explain plan. I did read a few articles which did help me, but not much. I am looking for something in detail.

  • Illustrator 6.0 vector paths, when opened in Illustrator CC are now all broken into segments?

    Illustrator 6.0 vector paths, when opened in Illustrator CC are now all broken into segments at key points (ie. a circle, has become a series of 4 quarter circle lines. Has anyone experienced this and is there a quick fix? I still have both Illustrator versions installed and can go back to use the original files, however I'd like to upgrade smoothly without having to redo all my vectors!    

    That is strange sounds like what happens when you open a die built in autocad, in illustrator. What happens if you paste a CS6 path into CC?

Maybe you are looking for

  • When I change the media kind to audio book it wont stay using itunes 10.6.0.40

    When I change the media kind to audio book it wont stay using itunes 10.6.0.40 I did formate my computer and then reinstilled itunes on a drive that had it on it. I'm useing 5.01 not the new 5.1 Ideas? Thanks!

  • Getting additional computers to connect

    I have an airport. My eMac gets a connection and I can get online with it. My iMac shows that it is connected to my network but I can't get my brower to find an address. In other words, it's connected to the airport, but not online! I've tried resett

  • No 'air' variable in javascript app

    Hi all, I'm following the HTML/Ajax developer docs, and i'm getting this: TypeError: Undefined value When I refer to the variable "air" in javascript. Instead, I have to use "runtime" which took me ages to work out because there's no mention of it in

  • I can't compile fuction (table or view doesb't exist)

    Hi I have strange problem. I wanted create simple function My steps: 1. Connect as HAM (HAM user has DBA role) 2. I successfully created table: CREATE TABLE ham_adm_user (id NUMBER(16,0) NOT NULL, uzytkownik VARCHAR2(50), aktywny_od DATE, aktywny_do

  • Link Button to User Table

    Hi. I have tried to search for this but cant get anything. I know how to add a link button to a matrix column when the link is to an SBO Business Object. what i need to do is to add add a link button to a user table.