Is to select a view that is more effective than the selection of multiple tables

Hi here is the problem

Lets say I created a view of 2 tables (person and information). both have an ID column
create view table_view (age,name,status,id) as
select a.age, a.name, b.status, b.id
from person a, info.b
where a.id=b.id
If I want to select a range of values of these 2 tables including the following queries would be more effective.
select a.age, a.name, b.status, b.id
from person a, info.b
where a.id=b.id
and a.id <1000
select age, name, status, id
from table_view
where  id <1000

No, this is not true.

A view is just a request. As any issue, you must run from the SQLPlus command line or any client application. The only difference is that the text of the query is saved in the database so that you do not have to re - enter type this in your query.

Once the request is submitted the optimizer doesn't bother if it comes from a view or a user by entering the text of the entire query again on the SQLPlus command line.

See "Mechanics views" to http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/schema.htm#sthref804

Published by: Hemant K grapple on November 3, 2008 14:40

Tags: Database

Similar Questions

  • More effective than a virus - KB930494 MS update ends with true Msg that Windows cannot now work correctly

    More effective than a virus - KB930494 MS update ends with true Msg that Windows cannot now work correctly

    I started to reinstall Windows XP, after he has screwed up and I discovered that all the system snapshot
    I created backups worthless - MS removes automatically after 90 days...

    But when reinstalling Windows XP Pro MCE 2005 I managed to beat or dodge the many problems - like all the
    famous error when update .NET Framework 1.1 Service Pack 1 and many others
    Suddenly I met an error generated by Microsoft of NONRECOVERABLE type!

    While trying to install Windows, I agreed that Windows was full of bugs and security flaws and
    need a large number of fixpacks installed via Windows Update.
    Such a group of patches is called KB930494 and the full name is:

    .NET framework 1.0 Service Pack 3 SYSTEM. WEB. DLL and MSCOREE. DLL Security Update for Windows XP Media Center Edition and Windows XP Tablet PC Edition

    Windows Update gave a brief error msg that this update has failed and I have tried to run this update
    manually when it produces the following error message: (note he's telling the truth when it)
    claims that "Windows may not work correctly")

    ---
    KB930494 Setup error

    Error while updating your system.
    Windows XP has been partially updated and may not work properly.

    Ok
    ---

    So, this update of Microsoft killed my system - it sure that _ 'does not properly"more.
    Lots of things off, lots of BSOD...

    Og - of course I should have used the system restore and created a backup that I should come back...!
    I did well - but this bomb of viral type of Microsoft made sure it was not possible to create
    a valid system by restoring such a backup. Probably because half the file system matches the other.

    The worst part is - even if I try to reinstall Windows again, avoiding this Virus created by MS, how can I be sure that
    This will be the only disguised bomb nothing extraordinary provided by Windows Update as necessary security patches?

    So guys, what is the best utility backup/restore partition there?

    Rgds. E. Ben

    Use Partiton Lofic is a down load for free on the partition, you can also use Easeus Disk Copy. It is a free program with a friendly interface.

  • How to set the keyboard Viewer in a language other than the main keyboard?

    is it possible to set the keyboard to the screen the viewer into another language (German) than the main (English) keyboard as an easy way to use the keyboard Viewer to make the German characters and umlauts while typing with the keyboard layout English on the main computer keyboard? Use the new Macbook with the latest OSX. Thanks for any advice.

    Visualizer keyboard can reflect only your current layout.

    But type German characters with the English keyboard layout is extremely easy.  Just hold down the key of the basic letter and select the version accentuated in the context menu that appears.  Or use the standard option key shortcuts

    http://symbolcodes.TLT.PSU.edu/accents/codemac.html

  • To create an interactive report in the apex by selecting from multiple tables

    Hi, I am creating an interactive report by selecting from multiple tables.

    SELECT w.FIRST_NAME as name, w.SURNAME as name, i.ROAD Road, i.DATE_OF_INC as DATE_OF_INC, S.STATEMENT as a STATEMENT OF Declaration

    JOIN THE

    WITNESS w

    ON w.witness_id = s.FK1_WITNESS_ID

    JOIN THE

    Incident I have

    WE

    i.incident_no = w.FK1_INCIDENT_NO

    JOIN THE

    user_station ps

    ON ps.station_id = i.nearest_station_id

    JOIN THE

    the user in.

    WE

    in. STATION_ID = ps.station_id

    WHERE po.officer_id = 1

    by I continue to encounter this error "the report query requires a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column. "ORA-01445: cannot select ROWID from where sample, a join without key preserved table view '

    So I googled around and found that in the attibutres tables report, I need to change the "LINK" COLUMN so first, I changed "Link to custom target", but the report is so I changed it to "Exclude link Clolumn" again, the report didn't report and I STILL got a blank page with only the tabs.

    I wonder you can not create a report by selecting from multiple tables?

    If you can please I need your help.

    Thank you

    You can, but in this case, it might be easier to build your report tables that are joined Oracle views and then build your report out of the newly built sight...

    Or wrap a selection around your selection with joins, and then make the where clause on the external selection...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Why is the 200 GB $44.99 a plan inherited from year more expensive than the monthly plan the new 200 GB $2.99 a month plan ($35,88) - what's the catch here?

    Why is the 200 GB $44.99 a plan inherited from year more expensive than the monthly plan the new 200 GB $2.99 a month plan ($35,88) - what's the catch here? is there a reason why the new plan is less expensive? they are trying to phase out the inheritance plan? is there a difference in storage w the new plan and the legacy for the difference in price (of the problems of the different devices w - computer laptop Mac, iPhone, iPad?)

    The only difference is that it is charged monthly.

    As shown in the following, you may be able to increase your storage space or reduce your costs by opting for the monthly package. Annual storage iCloud - Apple Support plans

  • The Sound Recorder with W7 now seems much more rudimentary than the old version, and I can't find any way to insert messages into My Documents.

    My O.S. is W.7. 32-bit.

    Before, I recently upgraded to XP and using MS Word 2007, I have a (short) Sound Clip of pre-registration<60 secs. )="" and="" then="" insert="" it="" into="" my="">

    A small icon that looks like a speaker appeared on the Document and that the beneficiary would have left click on it to hear the recording. The Sound Recorder with W7 now seems much more rudimentary than the old version, and I can't find any way to insert messages into My Documents.

    Is this even possible or has Microsoft taken a step backward here?

    I'd appreciate some help here. Thanks in advance. Mech-Tech.

    Original title: Sound Recorder

    If I've understood your problem, try this. Create a shortcut to "soundrecorder /file outputfilename.wav" (without the quotes).

    Then start soundrecorder via this shortcut and start and stop the recording, it will save so (hopefully) as a wav as before.

    I think the problem is, W7 soundrecorder, by default, saves to wma.

    If not, try a 3rd free part program such as Audacity (which seems like overkill, but should do the job).

    I hope this will help.

  • The message "requires the more recent than the installed version of OS service pack" when you try to install the CA's security program

    Original title: new pc and installation of my security program.

    The message "requires a more recent than the installed version of OS service pack" continues to show when I want to install my program files of security of this technology to my new computer. What should I do? Automatic update that happened but has not changed things.

    Are you sure the Antivirus you are using is compatible with Windows 7?

    What version is this?

    See the developers website for compatibility with Windows 7 and if there are updates, corrections or difficulties that might ensure compatibility.

    Windows 7 Compatibility Center

    Check if your application software or hardware is on the list

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Software:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx?type=software

  • ORA-00338: 3 log thread 1 is more recent than the control file

    Hello

    I met the error ORA-00338 while performing the recovery of incomplete data:

    ORA-00283: cool cancelled due to errors
    ORA-00338: 3 log thread 1 is more recent than the control file
    ORA-00312: wire 3 1 online journal: "+ DG_REDO/dbase/onlinelog/group_3.267.814820795".
    Complete recovery manager.

    I made this recovery on oracle 10g, database of ASM.

    1. What are the possible causes of this error ORA-00338?

    2. This error occurs at the beginning of the media recovery, RMAN is applying logs archived. If RMAN does newspapers "Online REDO" after applying "archived" logs required for recovery or in front of them?

    3 rman is how this journal in line 3 is more recent than the control file? How can I me SNA of the journal online & file control in my environment?

    Here are some details related to checkpoint scn / change # info. I found in my environment:
    Before recovery:
    view
    v$ datafile: 642935
    v$ datafile_header: 642935
    v database $: 642935
    Journal of v$: 640956

    After the recovery fails (ORA 338 :()
    v$ datafile: 640917
    v$ datafile_header: 640056
    v$ database: 640906
    Journal of v$: 640906

    You could try the incomplete recovery has to do only the RESTORE DATABASE with RMAN.
    Then, using the SQLPLUS command line, issue a RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL. See which he records guests for and monitor messages in the alert.log

    Hemant K Collette

  • M7 MacBook 1.3 GHz running more hot than the 1.2 GHz m5?

    Does anyone have experience with this? The new m7 Skylake 1.3 GHz running more hot than the 1.2 GHz m5?

    I hate having a computer warm on my knees, so I tend to buy the m5 to 1.2 GHz. However, I wonder what it is ' has really a lot of difference in actual use. Someone at - it a glimpse of this?

    Thank you!

    Hi Joel, any CPU which is clocked to run at a higher speed will have a slightly higher temperature if both the Broadwell Core M in 2015 Macbook and Skylake processor in the Macbook from 2016 offer low quantity of heat compared to the current MacBook Pro line. If you are still worried I recommend to visit an Apple store or dealer with a MacBook running all day to feel authorized intrados.

  • the new iPad pro films with more FPS than the iPad2?

    the new iPad pro films with more FPS than the iPad2?

    Even as the iPad 2, 30 frames per second - the Pro allows you to make the slow-mo video at 120 FPS

  • Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    In most cases you won't see much difference in performance using CPUs unless you do very intensive CPU.

    Maybe you can tell what your needs are for the computer, what you intend to use applications and then we can help suggest some configurations, you might want.

    In today's computers, which makes the greatest performance increases for typical users are (in this order):

    • SSD instead of a Fusion or rotation HD.
    • RAM
    • GPU
    • CENTRAL PROCESSING UNIT
  • Which is more effective for the bridge or photoshop contact sheets? {Double wire: locked}

    Hello

    Which is more effective for the bridge or photoshop contact sheets?

    Thank you.

    Duplicate thread: which is more effective for the bridge or photoshop contact sheets?

  • search for the name of view that can be added to the responsibility

    Hi Experts,

    How to find the name of view that can be added to that have been attributed to see the views of Catalog under quotes and orders.

    Help, please.

    Thank you and best wishes in advance

    Hello

    I guess that you do not specifically a particular display. If you want to find all the views in the Catalog under the orders & quotes you can follow the steps below:

    In the tab tools-flat - Select - display Template Web items:

    a. catalog views under citations: name that quotecatalog query * and GParentView in the catalog.

    You will be able to find the points of view. I am not correct on all points of view related to quotes. Choose from the list.

    b. catalog views under orders: name as orderEnrty query * and GParentView in the catalog.

    You will be able to find the points of view. I am not correct on all points of view related to quotes. Choose from the list.

    Try this and let me know.

    Kind regards
    Joseph

  • How to make the guides on a master page that is more effective

    I have a grid of guides on a master page. They do not appear in my pages to work, but they do not have this "magnetic quality" that I expect - things do not align with them. I have in my work pages and master page layers. Can someone help me sort out what I have to do to make the guides more effective? CS4 on Mac.

    "Align on the box" Options Guide 1px?

    In addition, 1 pixel is not much, maybe you don't see the snap. Try 5 pixels

  • What is a VPN solution that is more stable than IPSEC VPN? What is the latest version of VPN client recommended for Windows 7 &amp; 8 users?

    Hello

    I would like to ask a few details & concerns on our existing VPN configuration.

    1. What is the Cisco VPN client recommended for users of Windows 7 and 8? Is there an official documentation for this Cisco? We currently use customer VPN Ciso 5.0.7.

    2. we are running IPSEC VPN with only 1 gateway & only local authentication (No ACS) for our client. Recently, we have some concerns that they are the VPN connection is down. Whereas if I'm the one connected to the VPN, my connection is stable. Is there any point that we must consider up in the network. Is there a better configuration or solution that we could recommend to the customer as SSL VPN?

    3. If you want to use SSL VPN anyconnect secure mobility & we want to implement redundancy on the FW, how will the license work?

    Thank you!

    An AnyConnect-based VPN is the replacement recommended for remote IPsec VPN access. (source)

    AnyConnect can use SSL or IPsec (IKEv2) for transport.

    For an ASA redundant firewalls (running 8.3 (1) or later) any permit required AnyConnect are shared between them. that is, you just buy licenses for a member of the HA pair. (source)

Maybe you are looking for