ROWTYPE to get the best query?

Hello

I have two identical paintings:

PHOTOS_TEMP AND IMAGES_TEST
(ID PK number , 
content blob,
filename varchar2 (200),
mimetype varchar2 (200),
filesize varchar2 (200),
res_id FK number,
watermarked varchar2 (1))
I have 1 CODE, I want to make it more effective perhaps using % ROWTYPE,
So, I tried 2 CODE, but it didn't work. He said, 'too many values... '. CONTENT must be declared... »

Can you plesae tune Code 1?

H1. CODE 1 works fine
DECLARE
type source_col is table of blob index by pls_integer ;
V_source source_col;
 
 
type id_col is table of number index by pls_integer ;
V_id id_col;
 
 
type char_col is table of IMAGES_TEST.FILENAME%TYPE index by pls_integer ; 
V_filename char_col;
V_mimetype char_col;
 
begin 
 
 
select content,filename,mimetype,id bulk collect into
 V_source,v_filename,v_mimetype,v_id from photos_temp
where  temp = :P700_TEMP_IMAGE   for update  ;
 
 
 
 
for i in V_source.first .. V_source.last 
loop
ORDSYS.ORDImage.process(V_source(i), 'fixedScale=800 500');
end loop;
 
forall i in V_source.first .. V_source.last 
insert into IMAGES_test
 (res_id ,CONTENT,filename,mimetype,filesize,watermarked) 
values 
(:P700_res_ID ,V_source(i),V_filename(i),V_mimetype(i),
dbms_lob.getlength(V_source(i)), 'Y');
COMMIT;
 
 
EXCEPTION
   WHEN OTHERS THEN
   RAISE;
END;
H1. CODE 2 is supposed to be more efficient, but does not?
DECLARE
 

type new_row is table of IMAGES_TEST%rowtype index by pls_integer ; 
v_row new_row;
 
begin 
 

 -- This may collect more than one row
select * bulk collect into
 v_row from photos_temp
where  temp = :P700_TEMP_IMAGE   for update  ;

 
 
for i in v_row.id.first .. v_row.id.last 
loop
ORDSYS.ORDImage.process(v_row.content(i), 'fixedScale=800 500');
end loop;
 
forall i in v_row.id.first .. v_row.id.last 
insert into IMAGES_test
 (res_id ,CONTENT,filename,mimetype,filesize,watermarked) 
values 
(:P700_res_ID ,v_row.contnet(i),v_row.filename(i),v_row.mimetype(i),
dbms_lob.getlength(v_row.content(i)), 'Y');
 
COMMIT;
 
 

EXCEPTION
   WHEN OTHERS THEN
   RAISE;
END;
Best regards
Fateh

Published by: Fateh on November 26, 2012 05:22

Hello

In your CODE 1

...
select content,filename,mimetype,id bulk collect into
 V_source,v_filename,v_mimetype,v_id from photos_temp
where  temp = :P700_TEMP_IMAGE   for update  ;

-- temp is not a collumn name nor a variable name
...

So I think that it does not work.

In code 2, you must use the index '(i)' on the table variable, not the attribute. So:
v_row.contnet (i) - THIS IS WRONG!
v_row (i) .contnet - it's OK
Also:
v_row.ID. First - THIS IS WRONG!
v_row. First - it's OK

Here's a working example:

insert into photos_temp (id ,filename) values ( 1,'peter');
insert into photos_temp (id ,filename) values ( 2,'Fateh');
commit;

DECLARE
type new_row is table of IMAGES_TEST%rowtype index by pls_integer ;
v_row new_row;

begin
  select * bulk collect into
   v_row from photos_temp
  --where  temp = :P700_TEMP_IMAGE
  for update  ;

  --for i in v_row.id.first .. v_row.id.last
  for i in v_row.first .. v_row.last
  loop
  DBMS_OUTPUT.PUT_LINE('Id: ' || v_row(i).id || ' filename: ' || v_row(i).filename);
  end loop;

end;

Result:
Id: 1 filename: peter
Id: 2 filename: Fateh

And in your case to encode simplified 2:

DECLARE
type new_row is table of IMAGES_TEST%rowtype index by pls_integer ;
v_row new_row;

begin
  select * bulk collect into
   v_row from photos_temp
  --where  temp = :P700_TEMP_IMAGE
  for update  ;

  --forall i in v_row.id.first .. v_row.id.last
  forall i in v_row.first .. v_row.last
  insert into IMAGES_test
  (id ,filename)
  values
  (v_row(i).id, v_row(i).filename);

end;
/
select
  id
  ,filename
from
  images_test;

Result:
ID FILENAME
-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 peter
 2 Fateh                                                                                                                                                                                                    

That it works:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production."
AMT for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

I think in oracle 9, you should use separate table variables and not a variable array of a scalar type.

Kind regards

Peter

Tags: Database

Similar Questions

  • You are not on the latest version of Firefox. Update today to get the best of the Web!

    Whenever I update my firefox, I get this message, you are not on the latest version of Firefox. Update today to get the best of the Web!

    It - http://www.google.com/firefox - is the old Page to start Firefox used by the Firefox 3.6 and earlier versions of Firefox. I think that Google assumes that you are using an older version of Firefox, as they hard-coded message 'upgrade' in this page - all versions of Firefox see this message.

    From version Firefox 4, Firefox uses a 'local' with the address Start Page of Subject: House. It looks like the old start Page, but this isn't exactly the same thing.

    See - How to set the home page

  • I get, you're not on the latest version of Firefox. Update today to get the best of the Web! When I go to the site to update it tells me I have the latest version.

    I start the Firefox browser.
    When the start page shows, I get just below the Google search box:
    You are not on the latest version of Firefox. Update today to get the best of the Web!

    Not unusual, but when I go on the site to update it looking for a minute and then tells me I have the current version of the software.

    If you use the www.google.com/firefox as homepage site that previous versions of Firefox 3 use as homepage you can ignore the message about not using the latest version of Firefox on this page.

    Google seems to keep this page.

    The current versions of Firefox 4 + is no longer use this website from Google as home page, but use the build-in on: home page as the home page.

    Google assumes that you are using an older version of Firefox if you still visit this site, and warns you that you are using an older version of Firefox and invites you to update.

    You can use a different page than the homepage as subject: House or www.google.com or www.google.com/ig (iGoogle).

  • Why my start page says "you are not on the latest version of Firefox. Update today to get the best of the Web! "when in fact I have the latest version?

    I've upgraded to the latest version of Firefox, but I always get a message on my home page that says "you are not on the latest version of Firefox. Update today to get the best of the Web! »

    You can see this message under the Google search box on www.google.com/firefox which is the old default Firefox homepage. It seems that this page is no longer maintained by Google. You seem to have the latest version of Firefox.

    If you want as the Google search page as homepage, change your homepage to Subject: House (a new version of the old homepage Google/Firefox update is now integrated into Firefox).

    Also see-> https://support.mozilla.com/en-US/kb/Finding+your+Firefox+version

    You can also see your version on the help > troubleshooting information display

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • I have a HP computer and I try to get the best performance on it

    Dear community,

    I have a HP computer and I try to get the best performance on it, but it does not work. I try to update the drivers and use the memory of storge on USB keys and other stuff like using Microsoft Security Essenticals it is sort of: wered because there is no no way around my problem that way happens to you guys, please I want to just play and have the best performance that I can handle it.

    I think I'll put my memory to 8 GB of Ram or 16 GB of Ram.

    Thanks for your help.

    Original title: Windows 7 HP 2000-369WM

    Hello

    Before upgrade you your RAM, check at HP for the specifications of your computer to see what max amount and type of RAM your motherboard will / can use, or download and run the Crucial Scanner:

    http://www.crucial.com/USA/en/systemscanner

    Also, if you use Windows 7 32 bit, 4GBs is the maximum RAM that can be installed, with the exception of Starter which is 2GBs.

    If you are using Windows 7 64 bit, what are the limits of RAM max for each edition (there is no Starter 64 bit)

    http://Acer.custhelp.com/app/answers/detail/A_ID/2729/~/what-is-the-maximum-amount-of-RAM-memory-supported-by-Windows-7%3F

    Home Basic 8GB
    Home Premium 16GB
    Professional 192GO
    Enterprise 192GO
    Ultimate 192GO

    _________________________________

    And follow these steps to keep your device works properly:

    Search for malicious software with the FREE version of this program.

    This is the right link to download included.

    And does not accept the option "Pay for the version" trial installation

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And it is not recommended to use a register or a program of cleaning/TuneUP/utilities they can do more harm to your any good operating system that they claim to be able to do.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Make sure you have the latest updated drivers:

    Access the site on your computer or equipment manufacturing > Driver and Software Support Section > search your computer or hardware model number > then your operating system > locate the correct drivers > download and install.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    What are the other steps, which does not include some of the above:

    "Optimize Windows for better performance.

    http://Windows.Microsoft.com/en-us/Windows/optimize-Windows-better-performance#optimize-Windows-better-performance=Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    It would be a good idea also run the System File Checker tool to check that everything is correct in the system files.

    "How to use the System File Checker tool to fix the files on system missing or corrupted on Windows Vista or Windows 7"

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

    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    2. Type the following command and press ENTER:
      sfc/scannow

      The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    See you soon.

  • Where can I get the best version of Windows Movie Maker that allows me to publish movies in FULL HD? For WINDOWS 7 RC

    Where can I get the best version of Windows Movie Maker that allows me to publish movies in FULL HD? For windows 7 rc?

    Hello, sebianoti

    Please use the Forum for answers and help to test Windows 7!

    Windows Movie Maker is no longer included in Windows 7. Be sure to check the Windows Live Movie Maker beta available at http://download.live.com/moviemaker.

    Let us know if that helps.

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

  • my home network that gets the best connection

    I have my router connected to my pc and one switch (another router) connected to the computer of the children upstairs and other connected via wyfi who gets the best signal?

    Because in most cases, the Internet itself is significantly slower than any local LAN connection, there will be little difference that the bottleneck is the internet.

    About the only exception is a very common wireless network. Because all of the wireless clients are connecting to the same base station all have to share this speed of connections. So the performance of the base station must be divided between the number of clients. As mentioned WiFi speed tends to be higher that is practically possible and any additional loss occurs between customers, this can have an effect.

  • How to get the SQL query running of af: search?

    I use JDeveloper 11.1.2.3.0. I have a page where I've set up an af:query and an array of result. The problem is that I can't get the exact query that is used during the execution of this component in a managed bean method. Is it possible to get the query string that is run within the af: query?

    Thank you

    Hello

    Method of the ViewObject getQuery() returns what you need;

    You can replace the executeQueryForCollection(), and prior to calling super, you can print the result of getQuery() method:

    public void executeQueryForCollection (rowset Object,

    Object [] params,

    {int noUserParams)

    System.out.println ("SQL =" + getQuery());

    call the super method here...

    }

  • How to set up the hearing to get the best possible recording.

    Hello.  I'm a complete noob to your help and understanding are greatly appreciated.

    I use Windows 7, Samson co1u mic and audition cs6.

    I would like to know how to set the hearing to get the best possible recording.  I'm only audio recording for a podcast.

    I record in a 12 x 15 typical room in my home office.

    Thank you.

    He is not hearing, you must set up - simply recording what send you it, and it does not change in the slightest. What you need to do, is get the vocal microphone so that it picks up your voice in the best conditions it can - and it will be a combination of the microphone technique and possibly some changes of scenery if the room is particularly reverberant or echo-y.

    The microphone must be ideally on a support, and you need about 8-9 "of her, but ideally not directly talk to him. In other words, he won't be directly in front of your mouth; If you put it there, you stand a much better chance of picking up the sibilence and plosives ("ssss" sounds and pop). So just below or just above level of the mouth, and very slightly to one side usually works quite well. Made a windshield. I dream of recording direct speech like that without the help of a.

    You can set it up like that at first and see what it sounds like. If you get a lot of 'place' sound in it, you may need to put curtains of some sort behind you (the sensitive direction of mic's is this way, of course), which will reduce noise reflected from the walls. Being farthest from the walls is generally a good thing - more near the center of most of the sounds of spaces better because of this. If there are windows with curtains or drapes, then close them - large glass surfaces can make its rooms even worse. If you are going to do a lot of this, and have trouble with the room, then one good patch is one of the laboratories reflection filters themselves. Initially, I was rather dubious on one of them would work well, but after trying, I am convinced - it's a great way to keep a lot of room on the microphone.

  • How to get the sql query result?

    Hello

    Currently I use LV2012 to connect to an Oracle database server. After the Oracle Express and Oracle ODBC driver facilities/settings made.

    I managed to use the SQL command to query the data through my command prompt window.

    Now the problem is, how to do the same task in Labview using database connectivity tools?

    I have build a VI to query as being attached, but I have no idea of what range to use to get the result of the query.

    Please help me ~ ~

    Here is a piece of code that I use to test the SQL commands, you can use the part that retrieves the results of sql.

    It is also possible to get the rear column headers, but it's for the next lesson!

    ;-)

  • BlackBerry Smartphones best way to get the best picture, the phone is off?

    I think it's true that when we send a jpeg image which was obtained using the camera of the phone it is compressed... to a certain extent.

    What is the best way to dload an image uncompressed computer desktop or such so that we can get the higher resolution image?

    Hey copperbeech,.

    You can also use the mass storage Mode to browse your BlackBerry Media Card of your computer to find the image and copy it to a folder on your PC.

    Thank you

  • What is the best query plan

    Hi all

    Please help me choose the query plan. You can tell me which is the best plan for the No. 1 query plan or no plan No 2
    Map 1:

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Hash value of plan: 442504905

    -----------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    -----------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 1. 325. 13222 (1) | 00:02:39 |
    | 1. SORT ORDER BY | 1. 325. 13222 (1) | 00:02:39 |
    | 2. UNIQUE HASH | 1. 325. 13221 (1) | 00:02:39 |
    | 3. NESTED LOOPS |
    | 4. NESTED LOOPS | 1. 325. 13220 (1) | 00:02:39 |
    | 5. NESTED LOOPS | 1. 224. 13217 (1) | 00:02:39 |

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 6. NESTED LOOPS | 1. 199. 13216 (1) | 00:02:39 |
    | 7. NESTED LOOPS | 1. 144. 13215 (1) | 00:02:39 |
    |* 8 | HASH JOIN | 1. 93. 13212 (1) | 00:02:39 |
    |* 9 | TABLE ACCESS FULL | REC_EPS | 787. 25184 | 742 (2) | 00:00:09 |
    | * 10 | TABLE ACCESS FULL | RECEIPTDETAIL | 1059K | 61 M | 12462 (1) | 00:02:30 |
    | * 11 | TABLE ACCESS BY INDEX ROWID | LOTXLOCXID | 1. 51. 3 (0) | 00:00:01 |
    | * 12 | INDEX RANGE SCAN | IDX_LLI_ISQ | 1 | | 2 (0) | 00:00:01 |
    | 13. TABLE ACCESS BY INDEX ROWID | CODELKUP | 1. 55. 1 (0) | 00:00:01 |
    | * 14 | INDEX UNIQUE SCAN | PK_SYS_C004623 | 1 | | 0 (0) | 00:00:01 |
    | 15. TABLE ACCESS BY INDEX ROWID | RECEPTION | 1. 25. 1 (0) | 00:00:01 |
    | * 16. INDEX UNIQUE SCAN | PK_SYS_C004755 | 1 | | 0 (0) | 00:00:01 |

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | * 17. INDEX RANGE SCAN | PK_SYS_C004767 | 1 | | 2 (0) | 00:00:01 |
    | 18. TABLE ACCESS BY INDEX ROWID | SKU | 1. 101 | 3 (0) | 00:00:01 |
    -----------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    8 - access("RECEIPTDETAIL".") RECEIPTKEY «= SYS_OP_C2C ("REC_EPS".» ASNKEY') AND
    'RECEIPTDETAIL '. "' SKU ' = SYS_OP_C2C ("REC_EPS". » « « « SKU »))
    9 filter (SYS_OP_C2C ("REC_EPS". "ASNKEY") > = U '0' AND "
    SYS_OP_C2C ("REC_EPS". ("ASNKEY") < = U'ZZZZZ ")

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    10 - filter("RECEIPTDETAIL".") RECEIPTKEY' > = U "0" AND "RECEIPTDETAIL". "" RECEIPTKEY "< = U'ZZZZZ") "
    11 - filter("LOTXLOCXID".") LOC "= U 'STAGE')
    12 - access("RECEIPTDETAIL".") TOLD "=" LOTXLOCXID. " "" IDENTITY CARD "AND
    'RECEIPTDETAIL '. ' ' SKU '=' LOTXLOCXID. ' "' SKU ' AND 'LOTXLOCXID '. ("' QTY ' > 0)
    14 - access ("LISTNAME"= U 'RECSTATUS' AND "CODELKUP"." "RECEIPTDETAIL"="CODE". ("' STATUS ')
    16 - access("RECEIPTDETAIL".") RECEIPTKEY "=" RECEPTION ". ("' RECEIPTKEY")
    filter ("RECEPTION". "RECEIPTKEY" > = U '0' AND 'RÉCEPTION' "." " RECEIPTKEY"< = U'ZZZZZ") "
    17 - access("RECEIPTDETAIL".") SKU "=" SKU ". ("' SKU ')

    41 selected lines.
    =================================================================

    Plan No. 2:

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Hash value of plan: 1174712643

    ----------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ----------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 1. 325. 18382 (1) | 00:03:41 |
    | 1. SORT ORDER BY | 1. 325. 18382 (1) | 00:03:41 |
    | 2. UNIQUE HASH | 1. 325. 18381 (1) | 00:03:41 |
    |* 3 | HASH JOIN | 1. 325. 18380 (1) | 00:03:41 |
    | 4. NESTED LOOPS |
    | 5. NESTED LOOPS | 1. 293. 17637 (1) | 00:03:32 |

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 6. NESTED LOOPS | 1. 192. 17634 (1) | 00:03:32 |
    | 7. NESTED LOOPS | 1. 167. 17633 (1) | 00:03:32 |
    | 8. NESTED LOOPS | 2. 224. 17631 (1) | 00:03:32 |
    |* 9 | TABLE ACCESS BY INDEX ROWID | LOTXLOCXID | 2. 102. 3 (0) | 00:00:01 |
    | * 10 | INDEX RANGE SCAN | IDX_LOTXLOCXID_LOC | 2 | | 1 (0) | 00:00:01 |
    | * 11 | TABLE ACCESS BY INDEX ROWID | RECEIPTDETAIL | 1. 61. 8814 (1) | 00:01:46 |
    | * 12 | INDEX SCAN FULL | IDX_RD_QCREQ | 1 | | 8813 (1) | 00:01:46 |
    | 13. TABLE ACCESS BY INDEX ROWID | CODELKUP | 1. 55. 1 (0) | 00:00:01 |
    | * 14 | INDEX UNIQUE SCAN | PK_SYS_C004623 | 1 | | 0 (0) | 00:00:01 |
    | 15. TABLE ACCESS BY INDEX ROWID | RECEPTION | 1. 25. 1 (0) | 00:00:01 |
    | * 16. INDEX UNIQUE SCAN | PK_SYS_C004755 | 1 | | 0 (0) | 00:00:01 |

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | * 17. INDEX RANGE SCAN | PK_SYS_C004767 | 1 | | 2 (0) | 00:00:01 |
    | 18. TABLE ACCESS BY INDEX ROWID | SKU | 1. 101 | 3 (0) | 00:00:01 |
    | * 19. TABLE ACCESS FULL | REC_EPS | 787. 25184 | 742 (2) | 00:00:09 |
    ----------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    3 - access("RECEIPTDETAIL".") RECEIPTKEY «= SYS_OP_C2C ("REC_EPS".» ASNKEY') AND
    'RECEIPTDETAIL '. "' SKU ' = SYS_OP_C2C ("REC_EPS". » « « « SKU »))
    9 - filter("LOTXLOCXID".") QTY' > 0)

    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    10 - access("LOTXLOCXID".") LOC "= U 'STAGE')
    11 - filter("RECEIPTDETAIL".") RECEIPTKEY' > = U "0" AND "RECEIPTDETAIL". "" RECEIPTKEY "< = U'ZZZZZ") "
    12 - access("RECEIPTDETAIL".") SKU "=" LOTXLOCXID. " "' SKU ' AND
    'RECEIPTDETAIL '. "" TOLD "=" LOTXLOCXID. " (' ' ID ')
    filter ("RECEIPTDETAIL". "TOLD"="LOTXLOCXID" "." " IDENTITY CARD"AND
    'RECEIPTDETAIL '. ' ' SKU '=' LOTXLOCXID. ' ("' SKU ')
    14 - access ("LISTNAME"= U 'RECSTATUS' AND "CODELKUP"." "RECEIPTDETAIL"="CODE". ("' STATUS ')
    16 - access("RECEIPTDETAIL".") RECEIPTKEY "=" RECEPTION ". ("' RECEIPTKEY")
    filter ("RECEPTION". "RECEIPTKEY" > = U '0' AND 'RÉCEPTION' "." " RECEIPTKEY"< = U'ZZZZZ") "
    17 - access("RECEIPTDETAIL".") SKU "=" SKU ". ("' SKU ')
    19 - filter (SYS_OP_C2C ("REC_EPS". "ASNKEY") > = U '0' AND SYS_OP_C2C ("REC_EPS". " ASNKEY") < = U'ZZZZZ") "

    44 selected lines.

    Did you test them? You do not have us given information on why you want to use one over the other... For example, do you need to recover as soon as possible all lines or do you want the first rows as quickly as possible? Given that you did not formatting on your plans and we do not request or background, we can say nothing. Even for an experienced DBA/developer - it is not always possible to read a plan and determine which is the 'best' - test and then you can tell us.

  • How to get the inline query which is drawn from the TAB specific Application.

    Hi all I use 10.2.0.4.0 oracle version.

    I want to capture the sql that is raised in my prod database when an applicaton tab is hit as it takes about 5 minutes for the tab to be loaded. So is it possible, for the inline sql, which is the origin of the problem, directly from the prod environment.

    (Note: I looked through the browser session in PROD DB for the query, but there, I found a lot of meetings and a lot of requests, I do not know how to distinguish the session being created by the specific tab I hit).

    >

    Hello

    I want to capture the sql that is triggered to my database of prod
    When an applicaton tab is hit as it takes about 5 minutes so that the tab
    to be loaded. So is it possible to get the inline sql, which is
    the origin of the problem, directly from the prod environment.

    Please, please tell us that you have a Test environment? Log into that, then run a trace.
    No doubt you can either descend all test for a few miinutes and/or
    easily distinguish sessions on your Test System? That's exactly what the test
    the environments are for.

    The SQL execution will be the same - you can go try to find
    the root cause of the problem.

    HTH,

    Paul...

  • How can I get the best quality when creating a DVD

    Hey everybody

    I really hope you can help because I'm more frustrated. That is the problem.

    Each month, we create a DVD with all the latest trailers on them playing in video stores.


    Here are the steps that we take

    1. download the trailer for quicktime 720 p on the web

    2. We then change the first Pro CC
    3. we add a graphic overlay (its a 1280 X 720, 72 dpi TIFF) I use the CC Photoshop preset for it
    4 export the project to the h.264 (.mp4) format (flow target 7.5, 7.5 maximum Bitrate, quality use Mailhot invalidate) it comes out beautiful in HD 720 p.

    Then we open again CS6

    1. start a new chronology

    2 import our .mp4 file
    3. define our transcoding. Now, here's the problem, I tried each preset. With custtominzing, our most recent has been...

    Screen Shot 2013-08-08 at 1.27.32 PM.png
    Then go us to the author of it. But when its done, it is so blurry you can't read text on the screen. Now, I know that DVD IS NOT HD, I get it, but it must always be readable? That's the best I can get? Here are a few screenshots (sorry I had to take with my camera to the DVD and you can see how blurry.)

    DVD1.jpg

    DVD2.jpg

    Any help would be appreciated as our client is really getting annoyed with the quality. Society before us used Premier Pro and still but it came out in a most pleasant way. Im just lost here.

    Export first as MPEG2-DVD. Or something without loss to export even if you have only a compression.

  • New to the blackBerry Smartphones Blackberry and LOVE my Storm! Now, how can I get the best party?

    OK, I am new to Blackberry and devices in general.   I had a Palm, but never really used.   Now, I have a Blackberry, I really want to learn how to get the most out of it.

    I want to get more organized with my calendar and schedule.   I want to keep a list of things to do.  I want that all my contacts easily manageable.

    In my Palm, she had a beautiful desktop app where I could add Notes, or memos or items to my calendar and then synchronize when it would move anywhere in my Palm.

    The B; ackberry Desktop application does not seem to have that same out of the box user friendilyness.    So my question, what program to use, how total, all this together to get the most out of my Blackberry?

    Outlook?   Google Calendar?  Another program?

    Thanks for any suggestions!

    Jamie

    The most transparent way is synchronization with Outlook, via the Desktop Manager.

    Step 1 install Blackberry Desktop Manager Manager of
    http://NA.BlackBerry.com/eng/services/desktop/

    Step 2
    Connect blackberry to your PC via a USB cable and let the blackberry device driver install. During the device driver installation is complete, it will warn 'material installed successfully' in your windows taskbar.

    Step 3
    Run the Blackberry Desktop software and choose the option SYNCHRONIZE.

    Step 4
    Now choose CONFIGURE and you can select the CONTACTS, CALENDAR, NOTES, and databases TASKS by clicking on the boxes next to each. After you select each item, it will ask you which application you want to synchronize with, there are OPPORTUNITIES for all.

    Step 5
    Now click OK on all windows until you are on the main blackberry Desktop Manager screen. Click SYNCHRONIZE. Make sure that the SYNCHRONIZE ORGANIZER DATA checkbox is checked. Now, click SYNCHRONIZE NOW to start the synchronization.

Maybe you are looking for