Select the separate problem

Hi all
I'm not exactly Mr. Database... but I tried to make a query where I can get all the distinct values in a column field in my table as follows and paste them into the variables...:

< cfquery name = "initialValues" datasource = "fikestudioDB" >
Select distinct aLitho from work where aproductID = #VAL (URL.productID) #.
< / cfquery >

But what I need to do, is to store each unique value of the "aLitho" field in variables after execution of the statement...
I usually on 3-4 unique values in the query... but their storage in variables, that's what I tried to do...

Any help is greatly appreciated...
Thank you!

Thank you guys so much! The two pieces of code worked very well...

Tags: ColdFusion

Similar Questions

  • Column XMLTYPE to select a SEPARATE attribute increasing fom and...

    Hello
    I spent all day to find the solution without success. PLEAS HELP!
    The problem:
    1. I have table xmlType column in this column is the following xml code:
    < revision >
    < product id = 1 >
    < screws >
    < img id = 1 / >
    < / screws >
    < screws >
    < img id = 2 / >
    < / screws >
    < / product >
    < product id = 2 >
    < screws >
    < img id = 1 / >
    < / screws >
    < / product >
    < / revision >

    I have to select SEPARATE img ID and then select / join their form table relational (id (number), pic (blob)) img

    I can't find the solution to select the separate XML attribute values.

    I tried this:


    Select extract (c.xml, ' review/product/screw/img [not(@id=preceding-sibling::img/@id)] / @id') table c;

    Hello

    What is your version of the database?

    Recent versions, you can:

    SQL> create table test_xml (
      2   xml_data xmltype
      3  );
    
    Table created
    
    SQL>
    SQL> insert into test_xml (xml_data)
      2  values(xmltype('
      3  
      4  
      5  
      6  
      7  
      8  
      9  
     10  
     11  
     12  
     13  
     14  
     15  
     16  ')
     17  );
    
    1 row inserted
    
    SQL>
    SQL> select distinct x.img_id
      2  from test_xml t
      3     , xmltable(
      4        'revision/product/screw/img'
      5        passing t.xml_data
      6        columns img_id number path '@id'
      7       ) x
      8  ;
    
        IMG_ID
    ----------
             1
             2
    
    SQL>
    SQL> select x.img_id
      2  from test_xml t
      3     , xmltable(
      4        'for $i in distinct-values(revision/product/screw/img/@id)
      5         return $i'
      6        passing t.xml_data
      7        columns img_id number path '.'
      8       ) x
      9  ;
    
        IMG_ID
    ----------
             1
             2
     
    
  • Can use iCloud company separate personal and business files to select the files to share?

    I run my own business (1 year) and I use all Apple devices, including a MBP and iPhone iPad 2 Air I think it's great to keep track of all my work files and standard documents, including models created in the likes of Pages.

    I'm looking to use possible someone, and I would like that they have access to the iCloud deposit structure that I use to store all my files, documents, documents standard and models Admin etc.  Currently, this is all related to my iCloud/Apple account which also includes personal documents, etc..  Is it possible to create a separate business account to store all of these documents, which can then easily shared and worked on several people or a way to select the files to appear to other people?

    One way to do that would be to create a second user account for the work. Transfer all your work related document here. Then create a new ID Apple and sign in iCloud. Organize your documents here. You can then sign the new employee in this iCloud account.

    On devices, we should go in settings/iCloud to sign out as your dial-up between your personal files and your working data.

  • How to "Windows did not start because of a configuration of the disk of the computer problem. Could not read the selected startup disk... "on a netbook without a CD/disk drive?

    I did a lot of research and unfortunately havnt found a road toward the front of the detroit to a fix. Long story short... I installed Jolicloud as a dual boot with windows xp on netbook gateway of my wife. This netbook has no cd/dvd drive. Jolicloud wanted to screw up the startup option to not allow me to boot into windows, going Strait to jolicloud without option of windows. I tried to change it via the "menu.lst" and Grub.cfg file (I think) the only value I changed was I think 'boot... ". ' value between 1 and 2. When I restarted, then finally got a startup list (although I don't think that my modification of the value gave me the list, I had already installed manually "Grub" via the cmd prompt. I should have just restarted from there without changing anything else... because when I chose 'windows xp' in the start menu... He gave me a black screen and kept going back to the start menu. Then, I tried the "Vista loader" option... hoping that it would some how solve my problem... He asked me if I wanted to run a repair any. I agree with him and when he finished he told me that there is no enough space on the hard disk to copy the files (or something like that) then it froze kind of there. I had to do a hard reboot after that that it froze, then I got the code "Windows did not start because of a computer disk configuration problem. Could not read from the selected boot disk.  check the hardware path and startup disk, please check the windows documentation about hardware disk configuration and your hardware for more information reference manuals.

    Again, I have no drive cd/dvd on a netbook... IM assuming that im going to have to return a key USB with windows boot info to load the Manu F2 at startup... But I do not know... Help, please. Thank you

    Hello

    Follow method 1 and 4 in the article below and check if that helps resolve the issue.
    Error message: "Windows did not start because of a configuration of the disk of the computer problem.
    http://support.Microsoft.com/kb/314477/en-us

    I hope this helps.

  • Dual Boot with windows XP Pro with 2 HARD drive, error on secondary windows install: "Windows did not start because of a configuration of the disk of the computer problem. Could not read the selected boot disk. Check boot path and disk hardware... »

    Hi, I recently bought a new Hitachi 1 TB internal hard drive. I wanted to do a clean install on the new drive (d), be able to dual boot my computer and leave my old 300 GB disk (C :) as the primary windows installation. After physically installing the new HARD drive, I noticed that "new hardware found" and the the brand name flashed in the bottom right corner. I thought I'd see the new hard drive in my computer, but I did not. I initialized the new HARD drive with the computer management window (right click on my computer - manage) and I also formatted in NTFS (I had to change my printer hard drive letter to assign the new HARD drive with the letter D, but I've made other changes after this step). Now, I could see and use in my main windows on the C: installation. I then installed a windows new copy XP pro with the installation CD I got for my C: but on the D: (Note: I have a Dell computer (and the Dell reinstallation CD) and my current version of windows has SP3 while the installation CD is only SP2) (I also reformatted my HARD drive during the installation of windows to NTFS)

    Now when I try to start on installing the new on my D: I get "Windows did not start because of a configuration of the disk of the computer problem. Could not read the selected boot disk. Check startup disk and hardware access path. "and another line saying to refer to manuals HARD drive and windows.

    My Boot.ini file at this time was:

    [boot loader]
    Timeout = 5
    default = multi (0) disk (0) rdisk (0) partition (2) \WINDOWS
    [operating systems]
    "multi (0) disk (0) rdisk (0) partition (2) \WINDOWS="Microsoft Windows XP Professional "/ noexecute = optin/fastdetect
    "signature (ac516a5c) disk (0) rdisk (0) partition (1) \WINDOWS="Microsoft Windows XP Professional own "/ noexecute = optin/fastdetect

    I looked towards the top of this help page, but for now I'm unlucky:

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

    (The next steps I took by throwing from the Windows CD and go into the repair console)

    I tried to use the bootcfg /rebuild but the line to boot.ini for my secondary HARD drive still does not work.

    He gave me something like:

    [boot loader]
    Timeout = 5
    default = multi (0) disk (0) rdisk (0) partition (2) \WINDOWS
    [operating systems]
    "multi (0) disk (0) rdisk (0) partition (2) \WINDOWS="Microsoft Windows XP Professional "/ noexecute = optin/fastdetect
    "signature (ac516a5c) disk (0) rdisk (1) partition (1) \WINDOWS="Microsoft Windows XP Professional own "/ noexecute = optin/fastdetect

    I also tried to change the signature() to multi (0), but it did not work. (or try almost all possible permutations of disk() and rdisk() partition() 0 to 2).

    I also tried to use expand F(dvd-drive):\i386\ntkrnlmp(I_have_a_duo-core).ex_ D:\windows\system32\ntoskrnl.exe and a few other combinations, but I when I login as D:\windows simply, it fails to extend with a message like "could not develop" or C:\windows I get "restricted access".

    I have not yet tried CHKDSK/r, but since I did a clean install on a newly formatted drive... I don't think it would work.

    I've also marked the partition on the D: as active (in computer management), but it did not help me.

    I've done a first installation of windows repair, strangely, I couldn't fix this one... Still does not work...

    My default windows installation yet works very well & I see that windows has been installed on the D: but I'm ideas from how to operate the dual-boot, can someone throw me a BONE on what to do?

    Maybe try to do something with the Boot Manager (whatever it is?) Create a new partition and use it as a boot manager? I don't really want to do this, because if I made a mistake I will be unable to use my computer and dual boot should work without going through all this trouble... But I found this page: http://technet.microsoft.com/fr-fr/library/ee829686%28WS.10%29.aspx

    Could a clean install two HDD help? I hope I won't have to do...

    Someone has an idea?

    PS: I'm not such an advanced user so I need a solution step by step, thanks!

    Edit: I also noted that I can't see my new HARD drive in my BIOS... weird... SATA-0 is my old drive HARD 1 and 2 are my dvd 3-5 readers are 'off' and it doesn't seem to be anything that it is plugged in. I also have 4 bays for internal HARD disks. Now, 2 are busy.

    Edit2: I looked inside my case and enabled the good Sata in the Bios after a reboot it detected the drive correctly. Dual boot doesn't always work well... The fact that it was disable in the BIOS while I was installing the new HARD drive could change anything? Hmm...

    In case I wasn't clear enough: I had a windows XP Pro installed on my C:, bought a new hard drive and installed the same copy of windows on it (d). I think that should allow me to double boot between the two installs different. Even if for some reason I can't boot from one on my D:. Andrew, I do not understand why you so far physically disconnect the other drive, the point of the whole operation is to build a boot.ini file so that the BIOS knows that it y facilities 2 windows and you allow to choose (and not have conflicting problems between the 2 systems), someone correct me if I'm wrong? "Expand" the part of my first post made reference to one of the solutions provided by Microsoft in the first link that I have included in my previous post (but I can't seem to work).

    In addition, it is the procedure that I followed: http://www.ehow.com/how_5950826_boot-two-different-hard-drives.html

    (except I've had the first installation already done).

    Andrew "also, once a new hd is plugged on the pc & running, most of the BIOS will place (them) as 1st priority hd, set the BIOS to do this", you mean that by installing separately from windows on each unit when the other is not plugged in, I could choose what disk to start from defining their priority in the BIOS once they are all plugged back? It's too tedious (as I intend to move frequently between the 2 installs) and requires a computer to other users of the lack of computer knowledge. Unfortunately, it is not a viable option.

    EDIT: I DID IT! Hmmm... Well, I double checked in the recovery console, the path of the new HARD drive with the arc command Scan. Tried to start again with the MULTI (0) in my boot.ini and it worked... I also had my windows install CD in. Maybe that is why I could not start, windows needs the CD to complete the installation? Weird, I don't know what I did to the difficulty it... but hey, it works! Thanks for your ideas guys!

  • Do I have to select delete using Disk Clean-Up to correct the winsxs problem of scanning.

    I know this question was asked by many and I tried different patches. (File Checker system, the disk cleanup - but do not know what that should be deleted that it can fix) Do I have to select delete using Disk Clean-Up to correct the winsxs problem of scanning.

    The only thing I'm wondering: what is the cause of the accident of the Winsxs folder while scanning?
    As stated in other threads, winsxs folder causes the scan hangs any scanner is used. Is it because of the size of the folder? What is a particular problem in the folder?
    The file it crashes on changes each time and that makes it more difficult to identify the exact problem.

    If the problem is directly on the winsxs folder and not the compromised computer with virus, malware, etc... There will be a fix to it by Microsoft? Or if the problem is not related to the Microsoft Windows software?

    I just want to be sure that the crash of the scanner is not due to viruses, software, malware or any other infection.

    Hello

    No it resets just the Windows Components update, do not recharge updates.
    See the information on the links. Just to make sure that other resources
    as the registry are configured correctly to allow the update. It is '' possible. ''
    that an update can be reapplied after running but this is rare and not
    probably for more than a few. New click the link for more information.

    Personally I have not use the clean tool component if the choice is
    your. Run the reset and first of all to see these help.

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

    Windows component clean tool

    The component of Windows Cleanup tool (COMPCLN.exe) allows you to delete the files that are archived after Windows Vista SP2 or Windows Server 2008 SP2 is applied. It also removes the files that were archived after Windows Vista SP1 has been applied, if they are on the system. Running this tool is optional.

    Installation of service packs of Windows Vista increases the amount of disk space used by the operating system. This space is used to archive files so that the service pack can be uninstalled. As a general rule, you must run COMPCLN.exe if you want to recover this disk space after applying SP2, and you won't need to uninstall SP2. After you run this tool on an image, you cannot uninstall Windows Vista SP2 or Windows Server 2008 SP2.

    This tool can be used online or offline.

    Option Description

    /? or /h

    Displays this list of command-line options.

    cent: [chemin_repertoire_windows_hors_connexion]

    Specifies the path to the Windows directory of the Windows partition in offline mode.

    / quiet

    Runs in quiet mode. No console output is provided.

    / Hide

    Hides all packages (service pack) that are cleaned.

    verbose/Verbose:

    Provides additional diagnostic data in the log file.

    Important
    Once completed, you will not be able to remove Windows Vista SP2 or Windows Server 2008 SP2 from the computer online or offline.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • I installed the download tool usb/dvd windows 7, but after you have selected the iso file when I insert the USB stick and refrecing, it does show that "no usb drive compatible' what is the problem with my USB

    I installed the download tool usb/dvd windows 7, but after you have selected the iso file when I insert the USB stick and refrecing, it does show that "no usb drive compatible' what is the problem with my USB

    I have sandisk cruzer blade USB key

    Hi Rohit,

    Thanks for posting your query in Microsoft Community Forum. I understand that your USB drive is having problems of compatibility with your computer, but I would like to learn more about the issue in order to provide you with better assistance.

    1. You did it any significant hardware or change software on the computer before this problem?
    2. When do you get exactly the error message?
    3. Have you tried to connect to any other computer on this flash drives?
    4. Your USB key works on other computers or have you tried to connect to different USB ports on this computer?
    5. Is the pen drive getting detected in the case or you are able to access the drive folder in the window of the computer ?

    The question may arise if the currently loaded USB driver has become unstable or damaged, or if your PC requires an update for problems that could conflict with a device USB and Windows. This can also occur if your USB controllers may have become unstable or corrupt. So, I would suggest trying the following steps and check if the problem persists.

    Method 1:

    Please try the fixit (s) provided below which will help you solve common problems associated with devices and USB ports.

    If method 1 does not work, try Method 2.

    Method 2:

    Remove and reinstall all USB controllers.

    1. Open Manager devices by clicking the Start button, click Control Panel, click system and security, and then, under System, clicking Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    2. In the list of the categories of equipment, locate and expand Bus USB controllers.
    3. Right-click every device under the Bus USB controllers node and then click Uninstall to remove them one at a time.
    4. Restart the computer and let the USB controllers get reinstalled.

    Plug in the removable USB device and test to make sure that the problem is solved.

    If the problem persists, go to method 3.

    Method 3:

    This method will install the latest drivers from device to your USB device.

    1. Click the Start button, type Windows Update in the search box, and then click Windows Update in the results pane.
    2. Click find updates. When the scan finished, click optional review updates.
    3. Click the check box next to the update, and then click install updates.
    4. If you are prompted, read the license agreement, then click I agree.
    5. Follow the instructions on the screen to download and install updates.
    6. If you are prompted, restart your computer.

    More information: Update a hardware driver that is not working properly

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • I downloaded and installed creative cloud with no problems. From the window of creative cloud cannot display the APPS page (while other 'Home', 'Community' can be seen). This is why I can't select the application to be updated. Thanks for your help

    I have download and install creative cloud with no problems. In the window of creative cloud cannot display the APPS page (while other 'Home', 'Community' can be seen. This is why I can't select the application to be updated. Thanks for your help

    Please refer to the threads below where the issue has been addressed:

    Re: desktop is not displayed Panel apps? PC

    Missing Creative Cloud Desktop applications tab

  • I have problems, adding comments using Adobe reader DC on my pro 3 surface. I can select the circle for example, but when I try to draw the circle nothing happens and the screen just scrolls in the direction I move the pointer?

    I have problems, adding comments using Adobe reader DC on my pro 3 surface. I can select the circle for example, but when I try to draw the circle nothing happens and the screen just scrolls in the direction I move the pointer?

    Hey paulc6148125,

    Please try the mode settings different button in Adobe Acrobat Reader DC-> leModifiermenu-> preferences-> general categories.

    Kind regards

    Nicos

  • Problems to use the cursor to select the format of pdf text precisely

    When you try to select a bit of text that is in a text (as opposed to a text box) on a form object, the cursor highlights several other items of text on the page.

    I'll try to reproduce it below:

    It is just the nature of the documents in pdf format, or is this something that can be avoided.

    I made sure to give each its own name text object, but the problem persists.

    Let's say that I tried to highlight all the end of this sentence.

    Note that the other texts are selected as well.  This would happen in a form when I would try to select only the text: "the end of this sentence."

    Its not impossible to select the text I want in acrobat, but it seems to be very sensitive on the forms. Just to have the cursor slightly outside the central axis of the text, and half of the shape is selected.

    Is it possible to make it more like the text in a text field?

    Thank you!

    Nope!

    It's just the way it is.

    Niall

  • Workflow problem - how to stop Illustrator by selecting the top layer after each record?

    Hello

    One of the great things about diapers is the ability to have items in a locked layer above the layer you are using. However, when Illustrator finishes savings, he selects the layer and if the layer that is locked and then you travel constantly in the layers palette to select the layer that you worked prior to backup - I need to that 50 - 100 times per hour.

    Is there a way to force Illustrator to remember you were working before the backup - and bring him back to this layer after layer save him?

    Any pointers in the right direction would be much apprciated.

    See you soon

    Ben

    Yo know what - I think this may have something to do with having "Create a PDF compatible" off in la - like preferences.

    It seems that when this option is enabled, the problem does not occur, but turn it off makes it - I just tried this on a whole new file with text and boxes.

    It's the same for you guys?

  • "I update firefox from 7 to 8 and now when I run firefox every time it opens the page 'do start with firefox', in options I select the option ' display a blank page" How can I solve this problem?

    I update firefox from version 7 to version 8, now when I run firefox every time it itself open the Web "to start with firefox", in firefox options I select the "show a blank page" but his does not work. I use firefox on windows XP - SP2.

    Try to restart Firefox, the time of a page (s) after the beginning of a new version should disappear. In fact this last time with 8.0 they did not come to the top for me.

    If it works then raise Subject: config and insert the url of the page into the filter. Right-click on anything that appears and use "Reset".

  • Windows 7 RC installation problem - select the driver to install

    After that I chose the time & language, Keyboard Layout (the first step of the installation), then I got the message "no device drivers were found. Make sure that the installation media contains the correct drivers, and then click ok"on the screen"Select the driver to install"(which is the second stage of the installation).
    My computer is currently installed with Windows 7 Beta Build 7000. I intend to reinstall 7100 top.
    Previously, I have installed Windows 7 RC on another laptop Compaq, which means the ISO and DVD that I burn is fine.

    Hi stiucsib86,

    Thanks for posting on the Forum of answers.

    I am sure that you will have a clean install, if this isn't how you try.
    According to the material, you may need to install a driver for the hard drive to be recognized.

    If it is a computer that you created, you may want to check the documents provided with the device or check the manufacturers Web site, for more information about the installation of the player.

    If there is a selection of pre-designed OEM computer programs, you have a disk that came with it with the drivers for the hard disk.

    Please let us know if that helps.

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

  • Copy layers in the selection to separate the layer?

    Y at - it a keyboard shortcut that takes all of the layers that are inside a selection and copy in a new layer flattened?

    UPD: you can also select the layers by pressing shift and click on layers required by the Pan tool. I often do this, but instead of merge, I group layers to the folder (Ctlr-G)

  • Selection problem.  I imported a piece of vector art: a guy in a t-shirt and jeans.  I want to change the color of the t-shirt but when I "select", the whole picture gets selected including the head, arms and jeans.  How to isolate the t-shirt?

    I imported a piece of vector art that shows a man wearing a t-shirt and blue jeans.  I want to change the color of the t-shirt, but, when I 'select', not only the GET selected shirt made from the head, arms and blue jeans guy.  How do I isolate the image so I am just by selecting the t-shirt?

    Gabriel,

    What happens if you click the fill with the direct Selection tool, and then try?

    Or try to locate T shirt in the layer in the layers palette and select there, then try? You may need to click one or more arrows to look in under/groups/cutting masks / whatever.

Maybe you are looking for