What is the use for CREATING VIEW WITH CHECK OPTION?

Dear Legends,
I have a doubt
What is the use for creating view?
A: First Data Integrity, Selecting Particular Columns..
What is the use for creating a view with check option?
A: As per oracle manual I read that its a referential integrity check through views.
A: Enforcing constraints at DB level.
A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
Please clear my doubt's Legends
Lots of Thanks....
Regards,
Karthik

Hi, Karthick,
karthiksingh_dba wrote:
... What is the use for creating view?
A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
Views are necessary for INSTEAD OF triggers.
What is the use for creating a view with check option?
A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables.

Similar Messages

  • What is the use of creating a new calendar group in iCal?

    Hi All!
    Still new to this. What is the use of creating a new calendar group in iCal? Enlighten me please.
    Cheers,
    John

    john from marayong wrote:
     What is the use of creating a new calendar group in iCal? Enlighten me please.
    You may create own calendars for special purposes as e.g. Sport's, secret events, hobby's and so on.
    As iCal allows to share calendars, you want eventually not share family events to others or if you manage a circle you may only share the "Homebrew" calendar with them.
    Lupunus

  • What is the tcode for creating a variant ??

    Dear Guru,
    I want to know What is the tcode for creating a variant  which is being used for SM30 's variant option .
    Because we have created a maintenance view and we want to run this trhough tcode..
    but dont know how to do it.
    pls guide through out the procedure.
    thanks & regards
    Saifur rahaman

    Hi,
    If you want to create the TCODE for the TMG you created you must go for Parameter Transaction
    Go to SE93
    Give your Tcode
    Click Create , select parameter transaction Radio Button
    In the Transaction Field Give SM30
    Check the Check box SKIP INITIAL SCREEN
    select your GUI support and SAVE
    in the space provided give F4
    Select        VIEWNAME and give your table name
    Select                  UPDATE  give it as X
    then SAVE
    Edited by: Prasanth Kasturi on Nov 25, 2008 6:54 AM

  • What is the use of materialised view in ORACLE

    Hi All,
    What is the use of Materialised view in ORACLE.Can anyone please help me out by giving a real time example in banking application (How MV is used in banking applications).
    Thanks & Regards,
    SB2013

    SB2013 wrote:
    What is the use of Materialised view in ORACLE.Can anyone please help me out by giving a real time example in banking application (How MV is used in banking applications).http://docs.oracle.com/cd/E11882_01/server.112/e25789/schemaob.htm#CNCPT411
    Just add for example in a banking application at the end of each paragraph
    E.g.
    >
    In data warehouses, you can use materialized views to compute and store data generated from aggregate functions such as sums and averages, for example in a banking application

  • What is the use of creating proxy services using WSDL.

    Hi
    Am a beginner in ALSB and i have a basic question. Business services are created using WSDL,thats sounds logical as we need to invoke the actual backend services .
    Proxy services are connected to business services and what is the need that it can be e created using WSDL.
    What is the use of creating proxy services using WSDL.

    Hi,
    I beleive you are confused because of the apparent inclusion of transport information in WSDL (that is the host:port/endpoint where the service is hosted). However, if you refer to the w3c specification of WSDL1.0 ([url http://www.w3.org/TR/wsdl]www.w3.org/TR/wsdl), you will find that WSDL has three separate sections:
    1. The schema information that describes data element(s): specified in types
    2. The message information ie message and port sections that specify the parameters and the operations
    3. The service section that specify the actual protocol and endpoint binding.
    Ideally, a WSDL can be broken down into these three separate components. Any WSDL containing the first two is called an abstract WSDL and is used for a top-down approcah for web services, and if the third part is used, then you get a concrete WSDL, containing invocation end-point also.
    Comming back to your question one can typically use an Abstract WSDL for creating proxy service. This way, the service requester and integration can go on two separate threads where the common denominator or agreement between these two parties in terms of operation name and data element are imposed using the WSDL.
    Thanks and Regards
    Vivek Nandey
    BEA Certified Developer for Integration Solutions

  • What is the prerequisite for creating two hierarchies from one fact table i

    Hi,
    what is the prerequisite for creating two hierarchies from one a single fact table.
    Rgds,
    Amit

    create global temporary table t1 as select * from trn_ordbase on commit preserve rows;You CANNOT use this syntax.
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/glob_tab.gif
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/cre_tabl.gif

  • What is the tcode for creating material receipt

    Hi,
    what is the tcode for creating material receipt & payment to the vendor

    Hi,
    You recieve your material from the vendor and do a Goods Reciept in MIGO with mvt 101. You can even enter via T-Code - MB1C.
    Once you get your Invoice for this reciept from your vendor, you then do invoice verification in MIRO.
    After verification, if there is no blocking of the invoices and is posted and released, a accounting document is released during the posting of MIRO. These documents are then referred by FI pals, who are responsible for the payment.
    Hope this gives you a clear picture.
    Anand
    Message was edited by:
            Anand.B.K.

  • What is the Use For Top 3 Contributors

    Hi All,
    What is the Use For Top 3 Contributors in the Forums
    REgards
    Vamsi

    Hi,
    I think it is purely for information purposes. I do not think anything is actually done with the information as claimed by other posts.
    (Although some sort of recoginition in the form of a statue does seem a good idea and would encourage more posting if there was something to aim for)
    Kind regards
    Colin.

  • What is the BAPI for creating BP account / contact ?

    Hello experts,
    what is the BAPI for creating BP account / contact ?
    Please replay me as erarly as possible. Urgent requirment.
    Thanks,
    HP

    Hi,
    I think it is for bua1.
    Below are other bapi's which migt be useful:-
    BAPI_BPCONTACT_ADD_TO_ASGN BAPI Partner Sales Activity AddToAssigned
    BAPI_BPCONTACT_CHANGE BAPI Change Partner Sales Activity
    BAPI_BPCONTACT_CREATEFROMDATA BAPI Partner Sales Activity Create from Data
    BAPI_BPCONTACT_CREATEWITHDIA BAPI Partner Sales Activity - Create from Data Dialog
    regards
    Sandipan

  • What is the BAPI for creating an inbound delivery without reference.

    Hi Experts,
    What is the BAPI for creating an inbound delivery without reference.
    Points will be rewarded

    BAPI_DELIVERYPROCESSING_EXEC
    cheers
    Aveek

  • What is the Procedure for Creating BC sets In PI

    hi
    what is the Procedure for Creating BC sets In PI
    Thanks

    Hi Venkata,
          Read this SAP official document on creating BC Sets:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6f/3c3f91fbef11d2958c00a0c930dcc1/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/6f/3c3f91fbef11d2958c00a0c930dcc1/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6f/3c3f88fbef11d2958c00a0c930dcc1/frameset.htm">Create Business Configuration Sets</a>
    Regards,
    Subhasha Ranjan

  • What is the replacement for design view in in flex builder 4.7 for cs extension builder?

    Because design view is not available in flash builder than what is the use of extension builder in UI designing now we have to do design UI with xml which is very time consuming and boring  if there is any replacemnt for it than please help me .1 more thing i want to know is that when i make new default project in extension builder(flash builder 4.6) than it also not able to load design mode errror is
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse\plugins\com.adobe.cside.libsinstaller_2.0.0.4-33034\archive\cslibs\2.0\4.5\re lease\apedelta.swc- not respondingSWC file failed to load. Any component dependent on this SWC file will not be displayed in the Design Mode.The SWC may have failed to load because of:
    *  Incompatible definitions caused by usage of a different SDK version
    *  Missing referred class definitions

    I have researched this quite considerably and my understanding is that Adobe have no intention of supporting Design View any more for Extension Builder.  In my opinion a very disappointing decision and one that is hard to comprehend.
    The best workaround I can find is to create the majority of your design in a parallel, non Extension Builder, project and then convert/import your design into your Extension.  This is by no means as satisfactory as having Design View for the Extension you are writing but it is better than simply creating your layout by guess work/trial and error.
    Although this has not been announced by Adobe, I have a suspicion that the reason they have decided not to put any further resources into fixing Design View is that Extension Builder as we know it is going to be abandoned soon, probably replaced with an HTML5/JavaScript method of building extensions.  My concern with this is that, other than wanting reassurances that there will be backward compatibility support for old extensions, There will not be a way of compiling an extension in a way that prevents people from seeing your code.
    This is all speculation and I guess we will have to wait and see what happens.  Hope this has helped.

  • Package question - what are the uses for  /var/sadm/pkg ?

    I'm writing packages and noticed once a packages is installed using pkgadd, that files and dirs are created in the /var/sadm/pkg directory. I'm specificly intereseted in the pkginfo file - it contains all the variables from my request script and their values. My question is what are all the uses for this file?
    I've noticed that pkginfo reads from it but would there be any problem deleting certain lines from that file (lines not used by pkginfo - just variables used in the request script that I'd really rather not have floating around in a publicly accessable file).
    thanks!
    Bob

    I'm refering specificly to the file "/var/sadm/pkg/<pkgName>/pkginfo" - it's created during pkgadd and contains all the variable-value pairs from the packages pkginfo file as well as any variables used in the request script and copied to it's temporary response file. I'm not refering to the pkginfo file that you create as a package infofile component.
    I want to remove, from the /var/sadm/pkg/<pkgName>/pkginfo file, certain var-value pairs that were used in my request scripts (not part of the InfoFile/pkginfo component). Otherwise, any user can look at this file or run 'pkgparam <pkgName>' and get that sensative info.
    To the best of my knowledge, this file is only used by the commands pkgparam and pkginfo. Are there other uses?
    My worries are:
    -is it OK to remove lines manually during the postinstall script?
    -will doing this cause problems with any admin or package maintenance functions?
    Thanks-
    Bob

  • What is the use for lock object and how to use the lock objects

    Hi Guru's,
    I am new to ABAP .Can you please clarify the that what is the use of lock object and how to use the loct object .what is use of the Deque & Enque  function modules .

    hi ,
    below are some minfo about lock objects :
      Lock Objects
    These types of objects are used for locking the access to database records in table. This mechanism is used to enforce data integrity that is two users cannot update the same data at the same time. With lock objects you can lock table-field or whole table.
    In a system where many users can access the same data, it becomes necessary to control the access to the data. In R/3 system this access control is built-in on database tables. Developers can also lock objects over table records.
    To lock an object you need to call standard functions, which are automatically generated while defining the lock object in ABAP/4 dictionary. This locking system is independent of the locking mechanism used by the R/3 system. This mechanism also defines LUW i.e. Logical Unit of Work. Whenever an object is locked, either by in built locking mechanism or by function modules, it creates corresponding entry in global system table i.e. table is locked. The system automatically releases the lock at the end of transaction. The LUW starts when a lock entry is created in the system table and ends when the lock is released.
    Creating Lock Objects
    Lock object is an aggregated dictionary object and can be defined by using the following steps:
    o From initial data dictionary screen, enter the name for the object, Click Lock object radiobutton and then click on Create. The system displays a dialog box for Maintain Lock Objects screen
    o Enter short text as usual and the name for primary table.
    -Save
    -Select Tables option
    From this screen you can:
    Select secondary tables, if any, linked by foreign key relationship.
    Fields for the lock objects. This option allows you to select fields for objects (R/3 system allows locking up to record level). Lock object argument are not selected by user but are imposed by the system and includes all the primary keys for the table.
    1) Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
    2) Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
    3) Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
    Also, last but not the least, locking the object is logical (locking with any enqueue ) .so, you have to use the lock object while trying to access from second program .
    reward if helpful ,
    Regards,
    Ranjita

  • What Tool i use for creating OAF (Page)

    Hi All,
    I am new in Oracle EBS my boss given task for develop page in OAF, so please guide me what tool i use for this page given me link for download it and also help me for creating this page.
    Currently we are using Oracle EBS R12.1.2.
    Thanks
    Rehan

    I am new in Oracle EBS my boss given task for develop page in OAF, so please guide me what tool i use for this page given me link for download it and also help me for creating this page.
    Currently we are using Oracle EBS R12.1.2.OA Framework - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    Troubleshooting JDeveloper setup for Oracle Applications [ID 357218.1]
    What Setup is Required to Create Custom JSP Pages to Run on the Ebusiness Suite 11i and R12+? [ID 884200.1]
    Thanks,
    Hussein

Maybe you are looking for

  • PS and AI issues

    According to my Creative Cloud home PS is installed and up to date, but there are no PS files on my hard drive. So I can't launch, uninstall or reinstall PS. Also having trouble downloading AI. I just updated CC software. I have MacBook Pro with 10.7

  • Mac Pro keeps crashing while sleeping.

    MacPro3,1 Quad-Core Intel Xeon, 2.8 GHz, 6 GB running OSX 10.10.1 Mac Pro keeps crashing while sleeping.  Just did a clean install of Yosemite so not a lot of extras loaded on this machine. Crash log is below, can anyone help? Crash log Anonymous UUI

  • InDesign - Hidden Characters Corrupting Documents

    I post this message in the spirit of sharing information, hopefully to be of help others. I recently encountered a problem after distilling a document from InDesign which, as an Acrobat PDF, would not print - giving three successive error messages: 1

  • Defaulting Payment term at Order line based on Line Bill to Customer profil

    Hi As per Seeded Defaulting rules payment term at Order lines is defaulting from Order Header Bill to customer profile, But as per business requirement they want payment term to default from Order line bill to customer profile Guess we need to build

  • Master data services 2012 domain trust issues

    hi, we have a Master Data Services 2012 installation within one domain and the users exist within another domain.  This has a selective trust both ways. the behaviour that we are seeing in MDS 2012 when adding users to the master data services from t