Use of substr function will avoid the use of indexes in a table

i have one table which will contain some 3,00,000 records, it contains some 11 primary keys i am using some update statements to update some fields in the records (of 3,00,000 i will compare some 1,50,000 records with 1,50,000 another records) i am using substr function in all the select statements. whether usage of substr function will avoid the use of index
can any one clarify?

contains some 11 primary keys by this I suppose you mean to say the table has a composite PK on 11 columns.
i am using substr function in all the select statementsCould you please post your SQL statement?

Similar Messages

  • I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    You don't need an application, just plug a compaitble monitor into the display port of your MacBook Pro, set the screen up in System Preferences>Displays

  • I recently purchased a new iMac with an external drive.  I want to transfer my files from my old iMac to the external drive, but I'm afraid that doing that will compromise the use of the external drive on my new iMac.  Comments?  Help?

    I recently purchased a new iMac with an 1 Terrabyte external drive.  I want to transfer my files from my old iMac to the external drive, but I'm afraid that doing that will compromise the use of the external drive on my new iMac.  I have not downloaded the external drive's software onto my old Mac because of this concern.  May I simply "drag and drop" the contents I want transferred to the external drive, then set up my new Mac with the drive and download there? or is there a better procedure?  Comments?  Help?

    If your intention is to copy a just documents and data (word processing files and music for example) then yes, you can use drag and drop. If you want to transfer data and applications and permissions, it would actually be easiest to connect the drive to your old computer and turn on TimeMachine. Once TM is finished, connect the drive to your new computer and restart it holding the option key to get into Recovery mode. Then you can use the restore from TM option to transfer your data and programs to the new computer.

  • [svn:bz-trunk] 21292: Fix BLZ-639 - avoid the use of "==" when comparing strings.

    Revision: 21292
    Revision: 21292
    Author:   [email protected]
    Date:     2011-05-25 12:09:39 -0700 (Wed, 25 May 2011)
    Log Message:
    Fix BLZ-639 - avoid the use of "==" when comparing strings.  Just check for null explicitly.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-639
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ClientConfiguration.java

    Adobe has donated BlazeDS to the Apache Flex community, and the source code is hosted on the Apache Flex website in a GIT repository.
    http://flex.apache.org/dev-sourcecode.html

  • How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in?

    How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in? This application must be in Lab View 8.

    you mean something like this (see below)?
    Now you may have to implement code to check if the destination folder exists and to create it, etc.  But if you use the Front Panel Control to select the destination folder, it should be okay.
    Not the best implementation, mind you but you'll get the idea..
    Message Edited by JoeLabView on 04-18-2007 03:43 PM
    Attachments:
    copy folder contents.PNG ‏10 KB

  • On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this?

    On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this ?

    Thanks for posting this!
    I would only mention that your definition is incomplete for this -
    Contextual selector A type of Style Sheet Selector that
    and that it's most often referred to now as a Descendent selector, not a contextual selector.  It's basically the same as the Compound selector that you have already defined....

  • How will check the space taken by a single table in a tablespace ?

    How will check the space taken by a single table in a tablespace ?
    dba_segments is giving the same values even if I truncate the table?
    Pls reply

    I need to know how can we find out the size of the table in the tablespace.use user_segments (bytes) column.
    How much bytes it has taken ?value from user_segments, bytes column
    If u delete records will the space be used for another table in same tablespace?No, it keep the space in the same table for future usage.
    How can we free that space ?truncate or drop the table and reduce the size from tablespace, if you want to reclaim the space from the tablespace, OS level.
    Jaffar

  • Using voice-over function I see the result on the specific audio track but I don't hear anything. What to do?.

    Making a film in imovie I never had problems with voice-over. However in my current project I experienced problems at the end. Using the voice-over function I see the result - audio waves at the voice-over track - but I don't hear any sound of this track if I review or play this part of the project. Somebody an idea what I did wrong? Thanks for any suggestion.

    Not sure why, but sometimes a project will just cease playback of Voiceovers added to it. I've seen this before, but never had it persist into a new project. As with any issues that are specific to a single project, it's usually best to start over, as one problem is quite possibly indicative of further issues down the line with that same project.
    As a workaround (if you REALLY want to avoid recreating the project) would be to copy the voiceover files from within the iMovie Project file (browse to your Movies/iMovie Projects/ folder and right-click or CTRL+Click on the name of the project, then click "Show Package Contents") for that project out to your Desktop (or any other accessible location), then drag them back in to add them as a regular audio track. I've used this trick successfully, but it's not 100% (going back to the 'one problem means more later' thing).

  • Can I use LabVIEW to load data directly into system memory? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Win32 function to read the data from the card and now I want it to go directly to system memory.

    Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Call Library function to read the data from the card and now I want it to go directly to system memory.
    The data is being received at 1Mbps.
    Thanks

    Two questions:
    One, if it's a serial card, then presumably it gives you more serial ports, like COM3, COM4, etc. If so, VISA would see the COM ports, and not the card directly. The drivers for the card should make it so that you see the extra serial ports from the OS. If you don't see the extra COM ports from VISA, then it sounds like the drivers for the card are not installed properly. Do the extra COM ports show up in Device Manager?
    Two, you said that you're using a Call Library function to get the data and you want to put it into system memory. Errr.... you just read the data and you have it in memory by definition. Are you saying you need a way to parse the data so it shows up on a graph or something?

  • How to use user defined function in select query using Toplink

    Hi Friends
    I am little bit of new in Toplink stuff... so please help me...
    I have to database functions 1. encrypt and 2. decrypt.
    I want to exceute the following sql query using toplink
    select port, database, user_name, decrypt(encrypt('String which is to be encrypt ','password'),'password') from CONFIGURATION
    can anyone tell me , how to write code in toplink which will give the about sql output.
    thanks .....

    The "Specifying a Custom SQL String in a DatabaseQuery" section in the TopLink Developer's Guide may help... http://download-uk.oracle.com/docs/cd/B32110_01/web.1013/b28218/qrybas.htm#BCFHDHBG

  • Use of SUBSTR function

    Hi,
    I have a query like this:
    SELECT decode((select count(1) from patient_history b where (b.studyid =a.studyid and b.baseline_no= a.baseline_no and b.aeseq=a.aeseq and release_date IS not NULL)),0,'New','Current') status , a.*
    FROM patient_history a
    In this query for the where clause ( "b.studyid =a.studyid and b.baseline_no= a.baseline_no and b.aeseq=a.aeseq")
    All the columns listed here in the where clause need to come from some table tab100 which has a column named 'col'.
    tab100
    col
    This col columns store the column names which need to used in the "where" clause comparison.(its a self join)
    Say this columns has, 'STUDYID,BASLINE_NO,AESEQ" as value then how can I write a dynamic string so I can select these values as "a." or "b." etc and write the query completely.
    select decode((select count(1) from patient_history || 'b' || 'WHERE( ' || ' dynamic string after fetching from col ' ||...etc.
    I tried using subtsr but failed to do so. Please help.
    Rgds,
    Aashish

    Hi,
    This may help
    -- Created on 1/19/2010 by USER
    declare
      -- Local variables here
      i integer;
      str varchar2(2000);
      str1 varchar2(2000);
    begin
      -- Test statements here
    for i in 1..3 loop /* count of columns */
    for x in (select col from test100) loop
    str:=str||' a.'||REGEXP_SUBSTR(x.col, '[^,]+', 1,i)||'=b.'||REGEXP_SUBSTR(x.col, '[^,]+', 1,i)||' and';
    end loop;
    end loop;
    str:=rtrim(str,' and');
    dbms_output.put_line(str);
    end;The only thing you will have to determins is the number of column you need to join.
    If you are on 11g you may use regexp_count and determins else tehre are number of ways to do that you can search on teh forum.
    Regards,
    Bhushan
    Edited by: Buga on Jan 19, 2010 9:57 AM
    Included the table

  • When i tyr to use NI-daq function without having the boad inside

    i have an exception "i can not initialise c:\winnt\system\nipalu.dll" how can i avoid this

    At this point in time, you must have a DAQ device configured in MAX for the NI-DAQ funcitons to work. If you are building a program, and just want to make sure it will run, you can sometimes "fake out" NI-DAQ by adding a non-plug and play board (such as DAQPad-MIO-16XE-50). This will allow you to run most NI-DAQ functions, but will not remove all errors.
    Nick W.
    www.ni.com/ask

  • HT202157 when using airplay mirroring it will drop the screen be for no apparent reason. This is a new problem ;it has been working fine.

    Airplay is dropping out for no apparent reason; it has ben working fine and will reconnect for a time and then drop again.

    Hello Cate,
    Thank you for the details of the issue you are experiencing with AirPlay on your Apple TV.  I found a couple of resources I recommend for the issue you described.
    If you are experiencing the issue when AirPlaying from from an iOS device, I recommend following the steps in the section titled "Troubleshooting performance issues with AirPlay or AirPlay Mirroring" in the following article:
    iOS: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/ts4215
    If the issue you described happens when AirPlaying from your computer to your Apple TV, I recommend the section titled "Troubleshooting performance issues" in the following article:
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/ts5209
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have not upgraded to Firefox 4.0 or higher because I believe I will lose the use of ColorTabs, Logmein [free], and/or LastPass. Can anyone tell me if this is so? If it is, are there equivalent workarounds?

    Will the following applications work with Firefox 4.0 or higher?
    LastPass
    Logmein [free]
    ColorTabs
    I like and use these. Are there equivalent workarounds?
    Thanks
    Steve Albert

    I had issues in 10.4.7 as well as 10.4.8.
    My problems occurred at the beginning of 10.4.8, then many users brought light to me using WEP, which was not working that great. I changed my connections to WPA2 and my problem has disappeared. If my problem didn't resolve the way it did, I would have mentioned it the next time I visited an apple store.
    The bottom line is that assumptions, complaining, and self diagnostics don't get many people very far and bringing the problem to apple helps them know the incidence of this problem, and helps them develop a reliable solution.
    Though some users have reported the "cold shoulder" when reporting Airport problems to apple... I hope you weren't one of them.

  • Have another laptop and cannot connect to internet, do you have a disc I can order like aol use to have which will allow the laptop to conntect to internet?

    I removed firefox from the laptop so that I could download it again because the laptop was freezing while online. I have done this in the past and it worked. I used an old aol sign up disk to get back online and redownload firefox. this time, I could not get back online to download firefox. so, is there a way to get back online so
    that I can down load firefox?

    Hi is this Wifi/Airport?
    If so...
    Instead of joining it from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

Maybe you are looking for

  • Thunderbird updates when i don't want to update?

    I have a workstation running XP (a perfectly good O/S - regardless of what Microsoft says) and on which I installed Thunderbird (v2.0.0.24) For some reason, despite selecting to NOT have automatic updates, Thunderbird keeps automatically upgrading to

  • Photos from iphoto placed in imovie breakdown

    Imovie 4.01, when I move photos from iphoto into the clip viewer the photo clips become unreadable on play back. About halfway through the clip the picture changes to gray with repeating black and white rows of small pixelated squares. This happens t

  • How to put tabs in xml file?

    I want to put tabs in xml file, e.g: <?xml version="1.0" encoding="windows-1251"?> <root name="root1"> <node name="leaf1"/> <node name="leaf2"/> <node name="node1"> <node name="leaf3"/> <node name="leaf4"/> <node name="node2"> <node name="leaf5"/> </

  • Coldfusion, JSON, and the Amazon CloudSearch API

    Hi all, We are using Amazon CloudSearch service for our site search.  We created a front end which uses jquery to communicate with the server to display search results. The problem we are running into is with creating and updating data on the backend

  • Server can not be found

    just bought an original airport card for my emac and installed it. it shows i get a full signal to my wireless network in the menu bar. however when i try to open safari i get an error message saying can not connect to server. is ther any software or