Database design problem. Need Help?

I have to display records in a table in a UI where users are allowed to move records to specify priority for the records.
Here is an example, a db table has 4 records:
RecordId Ranking
A 1
B 2
C 3
D 4
Now if a user tries to set the Ranking of the record with RecordId "D" to say 1, I now have to update all records in this table. So the result should be the following:
RecordId Ranking
D 1
A 2
B 3
C 4
This means that if a user wants to change the Ranking of the last record to be that of the first record, I have to update all records in the table. I am trying to figure out an algorithm that can do this better than deleting all records and adding new records or updating all records. Any help will be greatly appreciated. Thank you in advance.
null

Well, does your computer actually support the required features? Is OpenGL enabled in PS? If not, you can't do anything with 3D. OpenGL support is mandatory. If it doesn't work you can try to update your graphics driver, but otherwise there is no way to enforce it. Also did you uninstall your Design Standard before installing Premium? if it's still using the old serioal number, then the features wouldn't show up in PS, eitehr.
Mylenium

Similar Messages

  • Oracle Designer Problem Please help me

    Sir,
    1) I created a database
    2) Run>cd d:\Oracle_home\repadm61\admin\@ckqa
    @ckparams.txt
    @ ckvalqa
    @ ckcreate
    3)Opened Repository Administration Utility
    Log in as 'repos_manager/repos_manager@orcltest'
    Installed Repository.
    4) Opened Oracle 9i Designer. I am able to connect
    as 'repos_manager/repos_manager@orcltest'
    But I am not able to logon as any other user in same database/ any other user in different database. Why?
    Please help me.
    regards
    Mathew

    duplicate thread, see this one -> Re: Oracle Designer Problem Please help me

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

  • Zen Vision:M problem, NEED HELP!

    My zen vision:m is starting to run slowly. It started right after my player froze and i reset it.Now its really slow and barely even switches screens sometimes.Right now its just a black screen with the keypad lit up.Whats wrong with it'sI NEED HELP!

    johnnnyp wrote:
    hi, i have a problem with my creative vision m. i wanted to watch a movie and it froze. i tried to shut it down but it wouldnt respond, and now is frozen. please help me if you can!
    You know its kinda rude to derail XBenzinoFla thread with your own problems, make your own thread next time.
    But to the both of you especially XBenzinoFla, try putting your ZVM in rescue mode and run scan disk to see if it hel
    ps.

  • Zen Micro problem need help

    Today i was listening to music and my zen micro just froze while playing and no buttons could be pressed and the lock button wasnt on. So i took the battery out and rebooted the player but it froze at the creative screen. I went home and i went to recovery mode and tried to reload the firmware but it said erasing firmware for more than 2 hours. So then i tried a format but it said formating for the same amount of time. I need help please. Also, recently i've had problems witht the headphone jack. When ever i would stick it in it would sound distorted and i would have to move it around until i got it to a certain spot to hear it good again. If anyone else has this problem please tell me. One more thing i had returned my other micro zen in for hard dri've probems and this was my new one do u think if i have to return in (hopefully not) that they would accept it.

    If the functions in Rescue Mode aren't working properly then you need to contact Creative Support.

  • Using In-Memory Database Cache option need help

    Hi,
    I need some help:
    I am using Oracle 10g Server Release 2
    For Clientele activilty I am using Oracle Client where the Application resides.
    For Better performance I want to use the In-Memory Database Cache option Times-Ten Database.
    Is it possible to do so where there is Oracle Database Server Relaease 2 and in the Client there is Times-Ten In-Memory Database Cache?
    Any help will be needful for me

    In-Memory Cache is a server-side cache. I can not see where there would be any value putting it on the client side though given the license cost per CPU core I am sure the entire Oracle sales force would gladly disagree with me.

  • Still stuck with the same old producer consumer weight problem need help

    Hello All,
    This is the problem I am stuck with right now.
    I have two array lists one producer array list and one consumer array list denoted by a and b
    P1 P2 P3 P4 P5
    5 6 7 8 9
    C1 C2 C3 C4 C5
    2 3 4 5 6
    Now we find all those producer consumer pairs which satisfy the criteria Pi>=Ci
    We have the following sets
    (5,2)(6,2)(7,2),(8,2),(9,2)
    (5,3)(6,3)(7,3),(8,3),(9,3)
    (5,4)(6,4)(7,4),(8,4),(9,4)
    (5,5)(6,5)(7,5),(8,5),(9,5)
    (6,6)(7,6)(8,6),(9,6)
    Let us done each of them with Si
    so we have S1,S2,S3,S4,S5
    we assign a third parameter called weight to each element in Si which has satisfied the condition Pi>=Ci;
    so we we will have
    (5,2,ai),(6,2,bi),(7,2,ci)....etc for S1
    similarly for S2 and so on.
    We need to find in each set Si the the pair which has the smallest weight.
    if we have (5,2,3) and (6,2,4) then 5,2,3 should be chosen.We should make sure that there is only one pair in every set which is finally chosen on the basis of weight.
    Suppose we get a pair (5,2,3) in S1 and (5,2,3) in S2 we should see that (5,2,3) is not used to compare to compare with any other elements in the same set S2,
    Finally we should arrive at the best element pair in each set.They should be non repeating in other sets.
    Given a problem
    P0 P1 P2 P3 P4
    9 5 2 2 8
    6 5 4 5 3
    C0 C1 C2 C3 C4
    we have So as (P0,C0) and (P4,C0)
    assuming that the one with the smaller index has lesser weight PO is selected.In the program I have used random weights.from set S1 we select the pair PO,CO
    S1 =(P0,C1),(P1,C1) and (P4,C1)
    since P0 and P4 are already used in previous set we dont use them for checking in S1 so we have (P1,C1) as best.
    S2=(P0,C2),(P1,C2) and (P4,C2) so we dont use P0,C2 and P1 and C2 because PO and P1 are already used in S1.
    So we choose P4,C2
    in S3 and S4 ae have (P0,C3),(P1,C3),(P4,C3) so we dont choose anything
    and same in S4 also.
    So answer is
    (P0,C0),(P1,C1) and (P4,C2).
    My program is trying to assign weights and I am trying to print the weights along with the sets.It doesnt work fine.I need help to write this program to do this.
    Thanks.
    Regards.
    NP
    What I have tried till now.
    I have one more question could you help me with this.
    I have an array list of this form.
    package mypackage1;
    import java.util.*;
    public class DD
    private  int P;
    private  int C;
    private int weight;
    public void set_p(int P1)
    P=P1;
    public void set_c(int C1)
    C=C1;
    public void set_weight(int W1)
    weight=W1;
    public int get_p()
    return P;
    public int get_c()
    return C;
    public int get_x()
    return weight;
    public static void main(String args[])
    ArrayList a=new ArrayList();
    ArrayList min_weights_int=new ArrayList();
    ArrayList rows=new ArrayList();
    ArrayList temp=new ArrayList();
    Hashtable h=new Hashtable();
    String v;
    int o=0;
    DD[] d=new DD[5];
    for(int i=0;i<4;i++)
    d=new DD();
    for(int i=0;i<4;i++)
    d[i].set_p(((int)(StrictMath.random()*10 + 1)));
    d[i].set_c((int)(StrictMath.random()*10 + 1));
    d[i].set_weight(0);
    System.out.println("Producers");
    for(int i=0;i<4;i++)
    System.out.println(d[i].get_p());
    System.out.println("Consumers");
    for(int i=0;i<4;i++)
    System.out.println(d[i].get_c());
    System.out.println("Weights");
    for(int i=0;i<4;i++)
    System.out.println(d[i].get_x());
    for(int i=0;i<4;i++ )
    int bi =d[i].get_c();
    ArrayList row=new ArrayList();
    for(int j=0;j<4;j++)
    if( d[j].get_p() >=bi)
    d[j].set_weight((int)(StrictMath.random()*10 + 1));
    row.add("(" + bi + "," + d[j].get_p() + "," +d[j].get_x() + ")");
    else
    d[j].set_weight(0);
    row.add("null");
    rows.add(row);
    System.out.println(rows);
    int f=0;
    for(Iterator p=rows.iterator();p.hasNext();)
    temp=(ArrayList)p.next();
    String S="S" +f;
    h.put(S,temp);
    String tt=new String();
    for(int j=0;j<4;j++)
    if(temp.get(j).toString() !="null")
    // System.out.println("In if loop");
    //System.out.println(temp.get(j).toString());
    String l=temp.get(j).toString();
    System.out.println(l);
    //System.out.println("Comma matches" + l.lastIndexOf(","));
    //System.out.println(min_weights);
    f++;
    for(Enumeration e=h.keys();e.hasMoreElements();)
    //System.out.println("I am here");
    int ii=0;
    int smallest=0;
    String key=(String)e.nextElement();
    System.out.println("key=" + key);
    temp=(ArrayList)h.get(key);
    System.out.println("Array List" + temp);
    for( int j=0;j<4;j++)
    String l=(temp.get(j).toString());
    if(l!="null")
    System.out.println("l=" +l);
    [\code]

    In your example you selected the pair with the greatest
    distance from the first set, and the pair with the least
    distance from the second. I don't see how the distance
    function was used.
    Also it's not clear to me that there is always a solution,
    and, if there is, whether consistently choosing the
    furthest or the closest pairs will always work.
    The most obvious approach is to systematically try
    all possibilities until the answer is reached, or there
    are no possibilities left. This means backtracking whenever
    a point is reached where you cannot continue. In this case
    backtrack one step and try another possibility at this
    step. After all possible choices of the previous step,
    backtrack one more step and so on.
    This seems rather involved, and it probably is.
    Interestingly, if you know Prolog, it is ridiculously
    easy because Prolog does all the backtracking for you.
    In Java, you can implement the algorithm in much the same
    way as Prolog implementations do it--keep a list of all the
    choice points and work through them until success or there
    are none left.
    If you do know Prolog, you could generate lots of random
    problems and see if there is always a solution.

  • Ipod problem NEED HELP ASAP

    Hello guys,my ipod touch has battery problems and internal speaker are not working and will apple replace me a new one,i even have 1 year warranty and i want a new ipod touch white instead of black<<<plz plz plz reply ASAP plz really need HELP!THANK YOU

    If you iPod is defective, in warranty and not abused Apple will replace it with a refurbished one.  They may or may not replace it with the white one.  You will have to ask.
    Other users have asked the same question but I hav never heard them come back with whether or not they go the color changed.

  • Another Infinite Login Loop Problem - need help badly

    Hello. I need help.
    When I start up my iMac (24 inch last generation model) I can't log into the OS. When I enter my password I see the default OS wallpaper (nothing else) then it kicks me to a blue screen then right back to the login. Same thing over and over. I've already ran disk utility off of the install CD to repair permissions, etc... but no luck. This even happens when I enter into safe mode. I'm running the latest version of the OS.
    Can anyone help me?

    Restore the bootable backup/clone or Time Machine backup. Without one, you have a difficult situation. First thing to try is boot with your install disc, run Disk Utility, and repair the disk.

  • Ipod nano Problems need help fast!!!!!!

    I got my nano in october everything was working fine.Until 2 weeks ago my ipod wasnt getting reconized by itunes.Im really getting frustrated and i need help.

    Welcome to Apple Discussions!
    Read through this...
    http://docs.info.apple.com/article.html?artnum=61711
    btabz

  • Urgent Problem, need help asap.

    Hello everyone,
    I'm sorry for the alarmist title, but I need help and I need it badly. Just last night, my macbook froze with nothing working. The mouse froze, the interrupt keys didn't work, nothing. I shut down the laptop, and tried to restart. I noticed a clicking sound coming from the lower left hand corner of the macbook. I'm assuming this is the hard drive.
    What happens is that there will be two clicks happening in a rythmic fashion, and after 15 second of booting up, a folder will appear with a question mark on the screen. The only thing I can do is power it down. Can someone please describe what is happening and make suggestions?
    The kicker is that I'm a college student studying in Denmark for the semester. The laptop is my only lifeline to back home. Please, any help is greatly appreciated.
    Matt

    You may have a disk failure or simply corrupted files. If you have a bootable backup that is working, then you can boot from it, erase your hard drive, then restore your backup. If not then do this:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger, and 4.1 for Leopard) and/or TechTool Pro (4.6.1 for Leopard) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    If the drive is OK then you can reinstall OS X:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Backup Database Problem  - Need help  --  thanks!!

    I have backed up my LR database every few days and have had it check for corruption. Things were fine until today when I went to back it up. I received a message saying "Cannot write one file". That was the extent of the message. It didn't say that I had a corruption or give me an obvious error type warning. I rebooted my PC and repeated the maneuver without success.
    I then opened my most previous DB, from last week, and when I tried to save it, I got the same "Cannot write one file" message.
    LR appears to be working fine and all my metadata information seems intact.
    What does this mean and what should I do? I need to back up my database otherwise I feel very vulnerable to problems.
    Thanks for yor help! Marc - Syracuse, NY

    Thank you for the interest...
    I am using a Windows XP workstation and using the native LR database backup routine to backup the file to an external Western Digital harddrive. The WD HD has tons of room and, for some reason, the backup routine would tell me that it was "unable to write one file".
    I've tried reverting to an prior copy of the DB and now it seems okay. But I lost some of my recent work and feel a little less secure about putting all my edits/metadata into LR if I can be at risk for losing it again in the future.

  • Problem/NEED HELP: upgrade from CS5 standard to CS 5.5 design premium

    I specifically upraged to the design premium version to get the photoshop extended w/repousse and 3d. I've installed it and there is no extended version  installed. I need this function by Monday. Any help out there? I've tried some of the install troubleshooting, but they just don't answer this question.

    Well, does your computer actually support the required features? Is OpenGL enabled in PS? If not, you can't do anything with 3D. OpenGL support is mandatory. If it doesn't work you can try to update your graphics driver, but otherwise there is no way to enforce it. Also did you uninstall your Design Standard before installing Premium? if it's still using the old serioal number, then the features wouldn't show up in PS, eitehr.
    Mylenium

  • Searching Problem, need help plz...

    Hi All,
    I have a problem. After created index my_doc_idx1, i’m searching a word on all document i stored but find nothing. Everytime i search there’s no rows selected.
    anybody help me please?
    I including my code.
    My documents are:
    1. doc1.html contain:
    “Oracle interMedia audio, document, image, and video is designed to manage Internet media content”
    2. doc2.html contain:
    “Oracle interMedia User’s Guide and Reference, Release 9.0.1”
    3. word1.doc contain:
    “Oracle application server.”
    4. oracletext.pdf contain:
    “Stages of Index Creation.”
    Oracle9i 9 realese 2, Windows XP
    Thanks,
    Robby
    set serveroutput on
    set echo on
    -- create table
    create table my_doc (
    id number,
    document ordsys.orddoc);
    INSERT INTO my_doc VALUES(1,ORDSYS.ORDDoc.init());
    INSERT INTO my_doc VALUES(2,ORDSYS.ORDDoc.init());
    INSERT INTO my_doc VALUES(3,ORDSYS.ORDDoc.init());
    INSERT INTO my_doc VALUES(4,ORDSYS.ORDDoc.init());
    COMMIT;
    -- create directory
    create or replace directory dir_doc as 'e:\projects'
    -- import data
    DECLARE
    obj ORDSYS.ORDDoc;
    ctx RAW(4000) := NULL;
    BEGIN
    SELECT document INTO obj FROM my_doc WHERE id = 1 FOR UPDATE;
    obj.setSource('file','DIR_DOC','doc1.html');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 1;
    COMMIT;
    SELECT document INTO obj FROM my_doc WHERE id = 2 FOR UPDATE;
    obj.setSource('file','DIR_DOC','doc2.html');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 2;
    COMMIT;
    SELECT document INTO obj FROM my_doc WHERE id = 3 FOR UPDATE;
    obj.setSource('file','DIR_DOC','word1.doc');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 3;
    COMMIT;
    SELECT document INTO obj FROM my_doc WHERE id = 4 FOR UPDATE;
    obj.setSource('file','DIR_DOC','oracletext.pdf');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 4;
    COMMIT;
    END;
    -- check properties
    DECLARE
    obj ORDSYS.ORDDoc;
    idnum INTEGER;
    ext VARCHAR2(5);
    dotpos INTEGER;
    mimetype VARCHAR2(50);
    fname VARCHAR2(50);
    ctx RAW(4000) := NULL;
    BEGIN
    fname:= '';
    DBMS_OUTPUT.PUT_LINE('----------------------------------------');
    FOR I IN 1..4 LOOP
    SELECT id, document INTO idnum, obj FROM my_doc
    WHERE id = I;
    fname := obj.getSourceName();
    dotpos := INSTR(fname, '.');
    IF dotpos != 0 THEN
    ext := LOWER(SUBSTR(fname, dotpos + 1));
    ext := LOWER(ext);
    mimetype := 'application/' || ext;
    IF ext = 'doc' THEN
    mimetype := 'application/msword';
    obj.setFormat('DOC');
    ELSIF ext = 'pdf' THEN
    mimetype := 'application/pdf';
    obj.setFormat('PDF');
    ELSIF ext = 'ppt' THEN
    mimetype := 'application/vnd.ms-powerpoint';
    obj.setFormat('PPT');
    ELSIF ext = 'txt' THEN
    obj.setFormat('TXT');
    END IF;
    obj.setMimetype(mimetype);
    END IF;
    DBMS_OUTPUT.PUT_LINE('Document ID: ' || idnum);
    IF TO_CHAR(DBMS_LOB.getLength (obj.getContent())) = 0 THEN
    DBMS_OUTPUT.PUT_LINE('Content is NULL.');
    DBMS_OUTPUT.PUT_LINE('No information available.');
    ELSIF TO_CHAR(DBMS_LOB.getLength (obj.getContent())) <> 0 THEN
    DBMS_OUTPUT.PUT_LINE('Document Source: ' || obj.getSource());
    DBMS_OUTPUT.PUT_LINE('Document Name: ' || obj.getSourceName());
    DBMS_OUTPUT.PUT_LINE('Document Type: ' || obj.getSourceType());
    DBMS_OUTPUT.PUT_LINE('Document Location: ' || obj.getSourceLocation());
    DBMS_OUTPUT.PUT_LINE('Document MIME Type: ' || obj.getMimeType());
    DBMS_OUTPUT.PUT_LINE('Document File Format: ' || obj.getFormat());
    DBMS_OUTPUT.PUT_LINE('BLOB Length: ' || TO_CHAR(DBMS_LOB.getLength (obj.getContent())));
    END IF;
    DBMS_OUTPUT.PUT_LINE('----------------------------------------');
    END LOOP;
    EXCEPTION
    END;
    -- create index
    create index my_doc_idx1
    on my_doc(document.comments)
    indextype is ctxsys.context;
    commit;
    alter index my_doc_idx1
    rebuild online
    parameters('sync memory 10m');
    -- searching
    select id from my_doc t
    where contains(t.document.comments,'oracle') > 0
    order by id;
    select id from my_doc t
    where contains(t.document.comments,'application server') > 0
    order by id;
    select id from my_doc t
    where contains(t.document.comments,'index creation') > 0
    order by id;

    Hi,
    Which is best depends on the type of application you are building and the nature of the docs. For simple use with pdf's and word docs I prefer to use bfile or blob which is why I mentioned it. No sense in overcomplicating it.
    My recommendation - look at the interMedia docs and determine if you need the advanced features it provides. I like the application a lot, but am a firm believer in not adding complexity if there is no benefit to be had. Unless you are just playing around with it to learn, I'd recommend matching your project requirements up with what best meets them and go whichever route that is.
    Thanks,
    Ron

  • G5 DVI to VGA Dell Monitor Connection problems, need help!!!!!!!!!!!!!!!!!!

    hello,
    I'm running two dell monitors both of which were connected via DVI to my g5 quad dual dvi. My tv broke and I'm using one of my monitors to connect the cable boxes HDMI input to the dells DVI input, it works great.
    My problem is that i still want to run two monitors from my mac and still be able to switch channel sources from the Dells source button allowing me to switch from TV to Mac. Since I took up the dvi port on one of my monitors to connect to the cable box via HDMI, I have a free DVI cable. I purchased a tiny converter that allowed to change one end of the free DVI cable to VGA. I used this method to connect the cable to my g5's dvi port and the configured end to the VGA port on the monitor with no luck.
    The Dell monitor does not pick up any signal and just goes to sleep as if my computer does not exist. The TV works fine and I'm able to switch sources. Please note that I'm not using the DVI-VGA adaptor that came with my g5 and don't know if this would make a difference. If it does, how do i set this up because this adaptor is like 5 inches long.
    Does the adaptors DVI end need to be connected to the back of the g5 or does the VGA end need to be connected to the monitor or does it not matter. I need a longer dvi-vga cable as well, do they make them. This all depends if the problem actually is that that I'm not using the DVI-VGA cable that came with my mac to connect to the monitor in the first place.
    Can anyone help me out here. I'm using the Dell 2208WFP Ultra Sharp.

    Bad adapter?
    The G5 ports are DVI-I. Any good DVI-I to VGA adapter should be fine.

Maybe you are looking for