question about this query... using parameters if it is null

Hello all;

I have the following query below
  SELECT p.id            
             ,p.place
  FROM table_one p
       WHERE p.id = decode(p_parameter_one, is not null, p_parameter_one, is null, p_co) 
what I'm trying to do, it's pass two parameters in my function, and if p_parameter_one is null, then use p_co, else if p_parameter_one is not null, and then use it and do not use p_co.

I use oracle 9i

you want?

SELECT p.id ,
  p.place
FROM table_one p
WHERE P.ID = NVL(:P_PARAMETER_ONE,:P_CO)

Tags: Database

Similar Questions

  • A question about the methods and parameters.

    Hey guys, this is my first post here. I am very new to Java and done a bit of C++ before Java. I had a question about the methods and parameters. I do not understand the methods; I know they can be repeated when it is called, but it's almost everything. I also know that a program should have a class that contains the main method. What I really, really understand on methods is what the parameters are. I know they are in parentheses and that is it. Could you explain what they are? I really appreciate it. Thanks to all in advance. Best regards, Michael

    Taking an example:
    Suppose you calculate area of the rectangle you need two inputs one is the length and the width. Area = l X b, where l = length, b = width

    If your method, say, calculateAreaOfRectangle (length int, int width) will be two parameters as arguments.

    System.out.println ("field of rectangle:" + calculateAreaOfRectangle (40,30);)

    public int calculateAreaOfRectangle (int length, int width) {}
    int area;
    Area = length * width;
    return of area;
    }

    So if you call this method then the output will be returned in 120.

    Parameters of a method are simply the input variables for the method of treatment for all calculations or something useful.

    And we cannot have methods inside the main method in Java. It is in the java syntax and if you do, it will throw a syntax error.

  • Messages/questions about this mac

    I have a late 2008 macbook unibody. A few months ago I updated and it worked find. 8g memory on El Capitan. My wife has a macbook 2009 (white) and he has had some problems. It is currently running 10.5.8 (Leopard?). I decided that it would be a good idea to create a profile on my computer because it is higher and actually works. So, I took out his hard drive and used the migration assistant to move its data to a profile on my computer. Everything seemed to work very well and everything going on above.

    Now, I learned today that I can't use Messages. For some reason, I think he's trying to open its version which may have migrated from his computer. I don't know why he would do that and I can't understand how to solve. I can't remove it because it tells me that it is used by OS X and cannot be deleted. I've attached screenshots of the error I get. I have since deleted his user profile to try to remedy, but it did not help. I'm still stuck with all applications and files that came with the migration. I don't know how to remove one of these.

    There is another question. Since I migrated the data, I was no longer able to open "about this mac". Or from the top menu, or the finder by using system information. Really at a loss here.

    Any help would be appreciated.

    System profiler does not open on my iMac. Apple support communities

    OS X: about system information and System Profiler - Apple Support

  • Satellite L650-11R - a few questions about this

    Hello there :-)

    I have a few questions about my new L650.

    I've never had Toshiba notebook before so I apologize if some of these "quirks" are actually quite normal on this laptop. I really want to hear the views of other users L650.

    1)
    First of all, by the time I turned it on I saw gradient thin (1-2 mm) along the right edge of the screen that goes from the bottom up. Maybe "degraded" isn't the right word, but it seems that since two or three pixels are kind of discoloration or lose brightness/sharpness to the edge along the straight bezel. It is not really that visible, looks like the colors are desaturated a bit here or brightness is a bit lacking. He can be seen everywhere (bios or no color in Windows, but better in the lighter background).
    The left side (or other) seems ok, all this along the right edge is somewhat suspicious. If one can compare? I don't know if it's something to worry about or is just supposed to be like that.

    2)
    The other thing I noticed heating of the processor (Intel i3 330M) and GPU (ATi Mobility Radeon 5650). It's pretty hot here right now (I would say that the temperature is around 28 degrees Celsius when using cell phones). He is sitting on the hard surface (table) and nothing is blocking the vents.
    However, at "rest" (surf the web & regular light stuff), average CPU temp hovers around 58 ° C. It usually goes from 45 to 62 in just a few minutes after starting, and then I can hear and see (Toshiba PC Health Monitor) evacuate the kicks in. Temp goes back to 50 +, event stops and then the temp rises to 60 + until the vent is used again.
    During load full (Prime95 or some games), CPU is going all the way up to 75 degrees (the highest being 77). Fan runs at 75 to 77% during this time, never go faster.

    GPU idling is usually around 5 degrees above temp CPU (62-65). During full load (for example. Benchmark of Far Cry 2), I see a lot of stuttering with the latest drivers Catalyst and DX10 (not sure if the stuttering has something to do with heat), otherwise it is ok (no artifacts or anything like that). Temp of GPU during the loading goes up to 74-75, fan speed is locked at 30%, the frequency of the heart 5650 is 450 MHz. left side of the laptop (vent and below) is pretty hot, while the keyboard is warm (or slightly warmer who who).

    These time seems correct and safe in the long term? I'd rather events works all the time (they aren't really very strong) and keeping time less than 50, but there are just wishful pious bios control events and I can't control not the bios. :-)

    3)
    This is just General related products. :-)
    Official specifications of Toshiba L650 say ATi 5650 (between other low range GPU), but I saw a few specifications calling for there 5730 (same model 11R). Is there really a Satellite L650 with ATi 5730 GPU models?

    Sorry for the long post, I tried to include the best possible description that I could do. :-)

    Thank you in advance.

    Thanks for the additional info!

  • Question about the query optimizer

    For a year during my database of the Conference the following table
    CREATE TABLE TASKS
    (
        "ID" NUMBER NOT NULL ENABLE,
        "START_DATE" DATE,
        "END_DATE" DATE,
        "DESCRIPTION" VARCHAR2(50 BYTE)
    ) ;
    with approximately 1.5 million entries were given. In addition, there were the following query:
    SELECT START_DATE, COUNT(START_DATE) FROM TASKS
    GROUP BY START_DATE
    ORDER BY START_DATE;
    And the Index:
    create index blub on Tasks (start_date asc);
    The main exercise was to speed up queries with indexes. Because all the data is available the optimizer ignores index and just have a full table scan.
    Here the QEP:
    ----------------------------------------------------------------------------                                                                                                                                                                                                                                 
    | Id  | Operation          | Name  | Rows  | Bytes | Cost (%CPU)| Time     |                                                                                                                                                                                                                                 
    ----------------------------------------------------------------------------                                                                                                                                                                                                                                 
    |   0 | SELECT STATEMENT   |       |  9343 | 74744 |  3423   (6)| 00:00:42 |                                                                                                                                                                                                                                 
    |   1 |  SORT GROUP BY     |       |  9343 | 74744 |  3423   (6)| 00:00:42 |                                                                                                                                                                                                                                 
    |   2 |   TABLE ACCESS FULL| TASKS |  1981K|    15M|  3276   (2)| 00:00:40 |                                                                                                                                                                                                                                 
    ----------------------------------------------------------------------------
    Then we tried to compel him to make the index with this query:
    ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_1;
    
    SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
    GROUP BY START_DATE
    ORDER BY START_DATE;
    but again he ignored the index. The optimizer guide makes clear, that whenever you will use all the data in a table, it must do a full scan.
    So we fooled him doing a scan limited quick index with this query:
    create or replace function bla
    return date deterministic is
      ret date;
    begin
      select MIN(start_date) into ret from Tasks;
      return ret;
    end bla;
    
    ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_1;
    
    SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
    where start_date >= bla
    GROUP BY START_DATE
    ORDER BY START_DATE; 
    now, we got the following QEP:
    -----------------------------------------------------------------------------                                                                                                                                                                                                                                
    | Id  | Operation            | Name | Rows  | Bytes | Cost (%CPU)| Time     |                                                                                                                                                                                                                                
    -----------------------------------------------------------------------------                                                                                                                                                                                                                                
    |   0 | SELECT STATEMENT     |      |     1 |     8 |     3   (0)| 00:00:01 |                                                                                                                                                                                                                                
    |   1 |  SORT GROUP BY NOSORT|      |     1 |     8 |     3   (0)| 00:00:01 |                                                                                                                                                                                                                                
    |*  2 |   INDEX RANGE SCAN   | BLUB |     1 |     8 |     3   (0)| 00:00:01 |                                                                                                                                                                                                                                
    ----------------------------------------------------------------------------- 
    So he use the index.

    Now to my two questions:

    1. why should always do a full scan (because the response of optimizer documentation is a bit unsatisfactory)?
    2. After looking at the difference between the costs (FS: 3276 IR: 3) and the time, the system needs (FS: 9.6 s IR: 4.45) why the optimizer refused the plan clearly better?

    Thanks in advance,

    Kai Gödde

    Published by: Kai Gödde on May 30, 2011 18:54

    Published by: Kai Gödde on May 30, 2011 18:56

    The reason for which Oracle is full of sweeping the table corresponding to your request:

    SELECT START_DATE, COUNT(START_DATE) FROM TASKS
    GROUP BY START_DATE
    ORDER BY START_DATE;
    

    and using the index for:

    SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
    where start_date >= bla
    GROUP BY START_DATE
    ORDER BY START_DATE;
    

    has to do with the (possible) null values in the table. Note that the query with a predicate on start_date would have probably used the index even without suspicion.

    The optimizer does not know that there is a start_date value in each row of the table and the group by expression will include NULL values, but because you count start_date (meaning count of non-null of the expression values) the count himself will be null. For example:

    SQL> with t as (
      2     select trunc(sysdate) dt from dual union all
      3     select trunc(sysdate) dt from dual union all
      4     select trunc(sysdate-1) dt from dual union all
      5     select trunc(sysdate-1) dt from dual union all
      6     select to_date(null) from dual)
      7  select dt, count(dt) from t
      8  group by dt;
    
    DT           COUNT(DT)
    ----------- ----------
                         0
    29-MAY-2011          2
    30-MAY-2011          2
    

    Because Oracle does not create an index entry for a line with all null values in the index key, the optimizer is forced full analysis of the table to make sure that it returns all rows. In the query with a predicate on start_date the optimizer knows that no matter what start_date > blah must be non-null.

    To make your first query to use an index, you must declare either start_date as not null (which implies that it is a mandatory field), or if there may be values NULL, but you care not to add a like predicate:

    where start_date is not null);
    

    John

  • Question about a query that will be 1 for the first 10 lines, 2 for the

    Hi all

    I am trying to write a query that will be 1 for the first 10 lines, 2 for the next ten lines and so on.

    I tried several approaches such as mod, rank, case but could not get the correct idea.

    Grateful if someone can give me a hint on this one.

    Ex:

    Col1 Col2
    1 989
    1 120
    1 876
    2 121
    2 456
    2 87
    1 of 3
    3 22
    3 333
    ....................... and so on..


    Thank you
    MK.

    How about this:

    His past all my tests so far

    select trunc((rownum - mod(rownum-1,10))/10)+1
    from dual
    connect by level <= 1000
    
  • Question about this forum

    What the hell does that mean in my preferences?

    "Always subscribe via email to threads, I create: Yes No.

    How can a person 'subscribe' to anything by e-mail?

    Why would I want to subscribe to a thread or not?

    A dictionary is a typical definition "subscribe":

    "to Gage, as by signature an agreement, to give or pay (a amount of money) as one contribution, gift, ou investment: he subscribed $ 6 000 for the new Church. «
    or
    "to agree or sanction to '

    Can someone explain this strange use of the word subscribe?

    Ted,

    There are essentially two ways/places to get notifications by email:

    • You can subscribe to a notification for the positions that they have the initiative. If we're looking for an answer to a question, they might want to be informed of any activity in this thread.
    • You can subscribe to a forum, so that all posts to this forum generates an e-mail notification. If we follow the forum, it's their choice.

    This ARTICLE will be the location to TURN the notifications by e-mail.

    Personally, I have the two OFF and just drag by the forum when I have a moment. Otherwise, my Inbox would be filled, since I followed several Adobe Forums.

    Good luck and we hope this helps,

    Hunt

  • Question about the correct use of the WM_CONCAT

    Hello

    I am trying to accomplish the following:

    from this
         ENAME
         ----------
         ADAMS
         ALLEN
         BLAKE
    ...
    and ends on this
         OLD_NAME   NEW_NAME
         ---------- --------
         ADAMS      AADMS
         ALLEN      AELLN
         BLAKE      ABEKL
    ...
    Basically, alphabetically sort the characters within each name. I have an intermediate step that seems promising
    select e.ename oldname, substr(e.ename, iter.pos, 1) newcharpos
      from emp e,
           (select rownum pos from emp) iter
     where iter.pos <= length(e.ename)
     order by e.ename, substr(e.ename, iter.pos, 1);
    Yields above
    OLDNAME    NEWCHARPOS
    ---------- --------------------
    ADAMS      A
    ADAMS      A
    ADAMS      D
    ADAMS      M
    ADAMS      S
    ALLEN      A
    ALLEN      E
    ALLEN      L
    ALLEN      L
    ALLEN      N
    BLAKE      A
    BLAKE      B
    BLAKE      E
    BLAKE      K
    BLAKE      L
    ...
    the characters are in the right sequence, I thought that all I had to do was to use WM_CONCAT (and replace the comma it inserts with an empty string) and I would like to make. I thought it would do: (replacement of commas left out for clarity)
    select oldname,
           wm_concat(newcharpos) newname
      from (
            select e.ename oldname, substr(e.ename, iter.pos, 1) newcharpos
              from emp e,
                   (select rownum pos from emp) iter
             where iter.pos <= length(e.ename)
             order by e.ename, substr(e.ename, iter.pos, 1)
           )
      group by oldname;
    but the sequence of the newcharpos is messed up in the process and, rather than the expected result, I get this:
    OLDNAME    NEWNAME
    ---------- --------------------
    ADAMS      A,S,M,D,A
    ALLEN      A,N,L,L,E
    BLAKE      A,L,K,E,B
    ...
    My question is, how to structure the last query so that the order of character as calculated in the inner query stays?

    Thank you for your help,

    John.

    Or

    SQL> select   oldname,
           wm_concat(newcharpos) keep (dense_rank last order by null)  newname
      from (
            select e.ename oldname, substr(e.ename, iter.pos, 1) newcharpos
              from emp e,
                   (select rownum pos from emp) iter
             where iter.pos <= length(e.ename)
             order by e.ename, substr(e.ename, iter.pos, 1)
           )
      group by oldname
    /
    OLDNAME    NEWNAME
    ---------- ------------------------------
    ADAMS      A,A,D,M,S
    ALLEN      A,E,L,L,N
    BLAKE      A,B,E,K,L
    CLARK      A,C,K,L,R
    FORD       D,F,O,R
    JAMES      A,E,J,M,S
    JONES      E,J,N,O,S
    KING       G,I,K,N
    MARTIN     A,I,M,N,R,T
    MILLER     E,I,L,L,M,R
    SCOTT      C,O,S,T,T
    SMITH      H,I,M,S,T
    TURNER     E,N,R,R,T,U
    WARD       A,D,R,W                       
    
    14 rows selected.
    

    Or (11 GR 2)

    SQL> select ename oldname, column_value newname
      from emp,
           xmltable(('string-join(for $i in (' || rtrim(regexp_replace(ename, '(.)', '"\1",'),',') || ') order by $i return $i, "")'))
    /
    OLDNAME    NEWNAME
    ---------- ------------------------------
    SMITH      HIMST
    ALLEN      AELLN
    WARD       ADRW
    JONES      EJNOS
    MARTIN     AIMNRT
    BLAKE      ABEKL
    CLARK      ACKLR
    SCOTT      COSTT
    KING       GIKN
    TURNER     ENRRTU
    ADAMS      AADMS
    JAMES      AEJMS
    FORD       DFOR
    MILLER     EILLMR                        
    
    14 rows selected.
    
  • Question about the possible use of MSVC 2008 Express as an external compiler CVI 9.0

    I was looking for these messages looking for information on the use of the ICB with external compilers, especially from MSVC 2008, and I came across this ad are about 4 months:

    "CVI 9.0 and MSVC 2008 express.

    The title of this announcement means that the freely downloadable 'express' version of MSVC can be used with CVI 9.0, but the body of the message is not in the details.  But I would really like to know if this is possible, and I'm guessing there are others here who could be very interested as well.  Page 8 of the CVI 9.0 release notes does not indicate that the Express version is supported, which makes sense.  I say this because I always thought that "express" versions of the MSVC were only to create .NET applications (C + c++ / CLI) and applications not native to Windows.  Or does change with the release of MSVC 2008 Express?

    There is no hurry to answer...

    JB

    If you have a CVI 9.0 FDS(I'm not sure about the BDS)

    Select Options/Build Options

    Select the Select button to the right of 'compiler active'.

    Click 'new' to create a new configuration of external compiler

    Select MSVC 9.0 as a model.

    Choose a configuration name (what you choose to CVI) and a destination file (where the external compiler settings will be stored).

    Click OK

    After that, you can easily select the optimizing level and the level of warnings that you need through the "Edit" in the box "compile to realease configuration.

    Kind regards

    Nicolas

  • Question about ESXi 5 use cases

    Hello

    My name is David Baldock, and one of the IT guys here at work suggested that with the help of VMware ESXi 5 could allows me to accomplish what I need to do on my system, without having to close and restart between Linux and Windows 7 for different tasks.

    I recently upgraded my PC to a processor Intel Core i7 - 3930K on a motherboard ASUS X 79 Sabertooth (VT - d support in BIOS) with 32 GB memory DDR3-2133 2 NIC and an AMD HD graphics 7970.  While I have not a card SCSI or SAS in there, I have a 256GB SSD OCZ Vertex - 4 2 x 120 GB OCZ Vertex 3 Max - SSD IOP, a 600 GB 10 K RPM Raptor H/D and a Blu - Ray SATA writer.  The SSD & H/D is on SATA 6 Gb/s ports, and the Blu - Ray is on a SATA 3 GB/s port.

    I normally run Linux on my PC, but the photo post-processing software that I use (DxO Optics Pro 7.5) works on Windows 7 and using OpenCL to take advantage of the computing power of 7970 HD.

    I understand that the VMware ESXi 5 installs as a hypervisor directly on the hardware and then allows multiple VMs to be run simultaneously on the system.

    Read on ESXi 5 (see courses and link below), I don't know if I should add a SCSI or SAS card, or if I can install and run VMware and OS on the SSD Client, using the large Raptor H/D to common storage?  There is a 2 to drive Iomega NAS connected to my network (and I have several external drives with SATA or USB-3 interfaces), with future plans to add in addition to stand-alone drives NAS or a big NAS RAID Array.

    The main question I have is if the material resources are dynamically reassignables between Virtual Machines?  For example, if I'm normally running Linux, then I would most of the CPU cores and the video card to "assign" to this virtual machine - but when I need to process the photos, I want to be able to boot Windows 7 and "reallocation" most of the hearts of processor and Passthrough the 7970 HD for this virtual machine to provide the computing power for the DxO Optics Pro.

    Is it possible to use VMware ESXi like that, or I'm better stop the PC and reboot between operating systems?

    Thanks for your ideas and suggestions.


    Take care
    David Baldock

    =====
    Quote from 'ESXi hardware requirements:

    For Serial ATA (SATA), a drive connected through taken SAS controllers supported or supported integrated SATA controllers. SATA drives will be considered remote, non-local. These discs will not serve as a partition to scrape by default because they are too far away.

    Note
    You cannot connect a SATA CD-ROM device on a virtual machine on a host ESXi 5.0. To use the SATA CD-ROM device, you must use the IDE emulation mode.

    Note
    ESXi does not support using SATA internal disks local to the host server to create VMFS stores of data that is shared between multiple ESXi hosts.

    =====
    Citation of "VMware Articles 10/05/11 06:51:
    VROOM! : GPGPU Computing in a VM

    Regularly on the forums I see people asking if GPGPU computing is supported by ESX, prompting me to write a brief message on the subject:

    YES! VMware ESX supports GPGPU computing. Applications can access the GPGPU CUDA or OpenCL in exactly in the same way that when running in native mode - no changes are necessary for the application.

    =====
    http://communities.VMware.com/community/VMTN/CTO/high-performance/blog/2011/11/21/SC11-virtualized-GPU-compute

    =====

    Install ESXi 5u1 on the system, then upward, setting it up as a host server. Then use another computer (Yes, you need to have another system actually configure/use the host) to configure passthrough and others. I don't know if it's available in the free version, so you don't have to try it and see. Be aware that you will be able to use the video adapter on a virtual machine single at some point.

    I just activate DirectPath of e/s on my own host (a nVidia Quadro NVS 290) video card. It requires a restart until it's available, however.

    So, if this works (for you too) enable you, reboot the host and then attach one of the virtual machine to the video card to use. You will then be able to use your other system to open a console window in this VM (from the Client vSphere connect directly on the host server) to do what you want / need.

  • Sides - a few questions about this generation of switching

    Well, I'm here... A user of Final Cut Pro, building a new box for CS5 of Prime Minister. He would you believe? I mainly work with AVCHD / H.264 if all goes well in native mode depending on how the system behaves. Mostly just first edit and convert it to MPEG and H.264 for web and blu ray.

    This is the build I have came with. I love the case, it seems huge.

    Antec twelve hundred black steel ATX Full Tower computer case

    GIGABYTE GA-X58A-UD3R

    Intel Core i7 - 930 Bloomfield 2.8 GHz

    Mushkin Enhanced Redline 6 GB (3 x 2 GB) 240 - Pin DDR3 SDRAM DDR3 1600

    EVGA 012-P3-1470-AR GeForce GTX 470 (Fermi) 1280 MB

    Series HX of CORSAIR CMPSU - 650HX 650W ATX12V v2.2


    I have a few questions if you guys don't mind:

    (1) the RAM I have listed is speed 6. But it's only 6 GB. I could spend more and get 12 GB, but it would be much slower (9 speed). I am using only the Prime Minister, encoder and again. Little, or even no AE, etc. The performance gain will be worth investing in slower 12 GB of ram?

    (2) any experience with the Matrox card? Everything I do is exported to blu ray and some of them online (h.264). Looks like the $500 would be well spent.

    (3) what is the cheapest version of Windows 7 that has the characteristics that a person like me would need?

    (4) POWER supply is enough @ 650w? I intend it power hard drives 6 +.

    I have a lot of help apprechiate! Thank you very much!

    1. download both sets of 3 x 2 GB, arrive at 12 GB total.

    2. a complete waste of money. The Matrox cards are great as one doorstop, not much else.

    3. at least Home Premium, but better Pro.

    4. go to eXtreme Power Supply Calculator Pro v2.5 and download the Pro version. The value of CPU load to 100% and the ageing of capacitors to 30% and add 10 to 15% for safety. Don't forget to add a BR burner, fans, USB etc devices

    Discover the impact of memory on the system performance on base here information page: Référence PPBM5

    For other items of interest possibler, click on the preview at the top of the forum Hardware tab and go to the menu drop down.

  • Question about the photo (using the folders and Photos app)

    Hello

    I am new on the app Photos - aperture used briefly but never really liked. I used to manage/sort all my photos with simple folders on the hard drive. Now, I would like to move the direction of the Photos app.

    A few questions:

    1.) if I add images, are they duplicated on my hard drive when I import them from Photos?

    2.) how to delete images permanently? I need to do a cleanup, which is easier in the Photos. If I delete the images here (and also delete the "recently deleted" album), why they remain in their original on my hard drive folder?

    Any help is appreciated - thanks!

    1 - Yes by default which is highly recommended, as was the case with iPhoto you then delete the photo source since it is safe in the library

    2 - pictures works just like iPhoto - nothing outside the library is not affected by what you do in the application - see 1

    LN

  • Question about support export using predefined option 'Match Source - broadband'

    HI - looking for a few tips here:

    One of the first things I want to do after the shoot is to create a backup with all my usable images file (I'm shooting video air with the camera running all the time, so more most of my images is disposable). I would have thought that to preserve all the data/full resolution, etc. I should just export with option 'Match Source - broadband', but I am amazed as to how small the file size is proving to be. I shoot at 4K, so I'm expecting this option to export full 4K. But if I export 1080 p even this file ends up larger than the Source Match option. And compared to use export YouTube 4 K setting, the Option to Match Source is a fraction of the size. Then where all data goes? What will I lose? He applies a form of compression? And what is the best option to preserve the full resolution/data export?

    Thank you!

    Jacques

    I guess that 'source' = MP4 of origin off the camera files.

    "Source" in this case the resolution, frame rate, NOMINAL, etc..  It does not consider codecs and bitrates.

    What I want to do is made usable in MP4 pictures, as it comes off the camera without any loss.

    You can not.  H.264 is a codec.  If you want to keep the quality, you need a different codec, that which two I mentioned earlier.  If you're working in 4K, however, you are actually limited to UT as the only viable option for now, because the version of 4K of DNx is not yet implemented in the Adobe software.

  • question about this instruction box... Never seen written in this way

    I case this statement written by a developer, and I try to understand what he was trying to accomplish with the write this way
    CASE t_CELL
                    WHEN 'XML' THEN
                        'Mods'
                    ELSE
                        CASE WHEN t_CELL IS NOT NULL THEN
                            t_Cell
                        ELSE
                            CELL
                        END
                    END
                = CELL OR CASE t_CELL
                    WHEN 'XML' THEN
                        'Amps'
                    ELSE
                        CASE WHEN t_CELL IS NOT NULL THEN
                            t_Cell
                        ELSE
                            CELL
                        END
                    END = CELL);
    What is throwing me off the coast is the = CELL which was included... Please note, this is just one example of code

    Well, simplified, it looks like:

    CASE WHEN t_CELL = 'XML' THEN 'Mods'
         ELSE NVL(t_CELL, CELL)
         END
    = CELL
    OR
    CASE WHEN t_CELL = 'XML' THEN 'Amps'
         ELSE NVL(t_CELL, CELL)
         END
    = CELL
    

    Shows that there are two distinct conditions to test, so I guess this is part of a WHERE clause of a query or an another CASE statement, or an assignment to a variable of the BOOLEAN in PL/SQL?

    It is often more logical (more readable) to put the MATTER on the right side of the State, for example

    WHERE CELL = CASE WHEN t_CELL = 'XML' THEN 'Mods'
                      ELSE NVL(t_CELL, CELL)
                 END
    OR    CELL = CASE WHEN t_CELL = 'XML' THEN 'Amps'
                 ELSE NVL(t_CELL, CELL)
                 END
    
  • Question about flashback Query

    You can compare a line to an earlier version of himself by using the Flashback Query feature? Without changing the current value of update?

    In a situation such as;
    CREATE TABLE EX (ID NUMBER(5) PRIMARY KEY, AMOUNT NUMBER(5));
    
    INSERT INTO EX VALUES (1,100);
    
    commit;
    
    UPDATE EX SET AMOUNT = AMOUNT - 50
    WHERE ID = 1;
    
    commit;
    Is it possible to make an ACE OF the request to give a difference of the current value of the field AMOUNT reduced by the previous value?


    Something like...

    SELECT ID... Less old news...
    WHERE ID = 1

    TIA

    Published by: kmc5117 on October 4, 2010 19:05

    Published by: kmc5117 on October 4, 2010 21:32

    Published by: kmc5117 on October 4, 2010 21:32

    Hello

    Of course, you can do:

    CREATE TABLE EX (ID NUMBER(5) PRIMARY KEY, AMOUNT NUMBER(5));
    
    INSERT INTO EX VALUES (1,100);
    
    commit;
    
    ACCEPT     x     PROMPT     "=====  Wait at least 5 seconds, then press [ENTER]  ====="
    
    UPDATE     EX
    SET      AMOUNT = AMOUNT - 50
    WHERE      ID = 1
    ;
    
    commit;
    
    SELECT     w.amount          AS was
    ,     i.amount          AS is_now
    ,     w.amount - i.amount     AS old_minus_new
    FROM      ex     AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '5' SECOND)
              w
    JOIN     ex     i     ON     w.id     = i.id
    ;
    

    Output:

    Table created.
    
    1 row created.
    
    Commit complete.
    
    =====  Wait at least 5 seconds, then press [ENTER]  =====
    
    1 row updated.
    
    Commit complete.
    
           WAS     IS_NOW OLD_MINUS_NEW
    ---------- ---------- -------------
           100         50            50
    

Maybe you are looking for

  • Satellite A30-414 turn off randomly

    Hi, I'm new here. I own this Satellite A30-414. It works well, but it turns off randomly. I explain. I might use it for non-stop days, it works well, but sometimes it empties and turns off. Then it always turns on the second attempt. I mean, after th

  • Satellite A100: 2 GB of RAM installed, but Windows displays only 1.99 GB

    Hello everyone again I've recently updated the ram in my A100-583 from 1 GB to 2 GB.However, although the computer does not seem to run much faster, when I look at the properties of the system in the main general tab, it's only show that there is 1.9

  • How can I change the paper size when printing

    Can how I change the paper type when printing.  I get everything print photo paper

  • Windows 7 - the problem with the photos saved in XP

    I used to have a Dell XP desktop computer. I've saved 200 + photos from a digital camera on a CD - R disc. I now have an office of Novatech Professional running 7. When I insert the CD in the drive, my computer can say how much of the Conference on D

  • BlackBerry blackBerry 10 protect Question

    I would like to know if I lost my blackberry and then the person who found my phone, tried to enter the password 10 times, the device will be wiped off and then it may enter a new email, I find always my phone using blackberry protect even if the ema