Restrictions without triggers . is it possible?

Hello All,
I have one created one table as
create table file_par(file_name varchar2(100), delemitor varchar2(2));
so the column delemitor is supposed to have minimum 2 characters only
the default required value is '||' i.e. 2 pipes
and if any user enters only one pipe ('|') or anything other than 2 pipes then is there any way to generate error without using Trigger at table level?
means can we validate it using constraint?
Reagrds,
Abhijit.

And here's one example:
SQL> CREATE TABLE file_par(file_name VARCHAR2(100), delemitor VARCHAR2(2) CONSTRAINT file_par_del_chk CHECK(delemitor ='||' ))
Table created.
SQL> INSERT INTO file_par
     VALUES ('my_file_anme', '||')
1 row created.
SQL> INSERT INTO file_par
     VALUES ('my_file_anme', '|')
Error at line 9
ORA-02290: check constraint (FILE_PAR_DEL_CHK) violated
SQL> INSERT INTO file_par
     VALUES ('my_file_anme', '|||')
Error at line 12
ORA-12899: value too large for column "FILE_PAR"."DELEMITOR" (actual: 3, maximum: 2)

Similar Messages

  • Import without triggers

    Hi
    Is it possible to perform import without triggers?
    Oracle 9i

    If you dont want to import the triggers!! well, drop them after the import.
    $ exp help=y
    Dont export the triggers: triggers=n
    Edited by: Richard_76 on 1/09/2009 04:22 PM

  • Trash misbehaving.  Can't move files or folders to trash without triggering "Finder wants to make changes. Type your password to allow this."

    Help!  I suddenly find that I cannot move files to trash without triggering a Finder dialogue box that asks me to type in a password to continue.  When I comply, files and folders that have been moved to trash simply disappear from the desktop!  Nothing appears in the trashcan.  I'm using Lion 10.7.5 and have never noticed this behavior until today.  What's happening here?

    Try recreating the Trash file, because this is a problem related to permissions. Open Terminal (in /Applications/Utilities) and type:
    sudo rm -ri ~/.Trash
    For more information, see > http://www.thexlab.com/faqs/trash.html

  • Web Intelligence Rich Client without java - is it possible?

    Hello!
    Web Intelligence Rich Client without java - is it possible?
    How about other client as Web Intelligence Rich Client, but without java?
    Is it possible?
    Regards,
    Denis

    It's very interesting, becouse i have installed pathes: ENTERPRISECLNT03P_4-10007619.EXE, CRYSTALREPORTS03P_4-10007442.EXE, BOBJINTGRSAP03P_4-10007514.EXE and problem was solved. Moreover I have uninstalled JRE. New problem not have come.
    Regards,
    Denis

  • How create mail alert without triggering the event.

    1.     SR 3-4924626351: How create mail alert without triggering the event.
    We wanted to send alert mail every 10 days or 15 days or 1 month to a reporting manager of Opportunity Owner with details of that Opportunity. I don’t want to use any triggering of event like the Following. When new opportunity is created When modified Opportunity is saved etc.

    Raju,
    If you don't want to use the triggering event, you will have to do this manually.
    Manually:
    - Create a Web Link on the SR with and embed the mailto: function with the receivers email and subject and body embedded in the url (you can find this link on Google)
    - When this link is clicked, an email window will open with all the details you provide, and you can click the send button to send the email.
    - You will have to do this manually every 10-15 days or whatever is the duration
    Auto:
    - Create a time based workflow on a new Opportunity Created event
    - create a action to send an email notification to the concerned person (details in the workflow properties)
    - This workflow will auto send an email every 10-15 days to the opportunity Manager.
    The time based workflow is the best option I see. Do you see any issue/ concerns with auto generated emails?
    Hope this helps!
    Royston

  • How to find firefox version without triggering an update?

    I've disabled update in every way imaginable (no lectures please) but i an update starts regardless when i go to help / about firefox. Is there any other way i can check the version without triggering an update?
    thanks.

    Hello!
    You can find the version of your Firefox (along with other troubleshooting options, if you need it later) by entering ''about:support'' in the Awesome Bar.
    <hr>
    I hope that solved your problem!
    <i>If it did, would you please choose this answer as your solution? It would help other Firefox users to find help on the forums faster and more efficiently. Thanks!</i>
    And of course, feel free to post back if you need more help!
    Happy browsing!

  • Create SO without triggering MRP

    Dear Guru,
    May I know how the process works for manufacturing company. Let say they manufactured material A & then it goes to QA inspection. Then how the material move to finish good stor. loc. What is the movement type, t/code & who normally doing that.
    Today I try to create Sales Order & Delivery Order but with condition bypass MRP. I noticed that there is no stock for material A. So based on user I pump in stock via MIGO by using movement type 334. I'm not sure this is correct method.
    1. If not, may I know what is the correct movement type to pump in stock in stor. loc.
    2. How may I create SO & DO without triggering MRP. Reason is user said they have stock so they wana sell that. But they dont know how to create SO coz the moment create SO, system trigger MRP.
    Please advice.
    rgds,
    nantha

    Hi,
    Production Process:
    Sale order/demand-MRP-Planned order-Production  order-GI & GR(101 and 261)-Quality inspection(321)-Stock-outbound delivery(PGI)-Billing.
    1.In your case,once if it goes to quality inspection,it will create 1 inspection lot.quality person has to process that lot and give the UD.he will post the material to unrestricted stock with 321 movement type.(QA32 transaction code)
    2.If you want to have intial stock,do in MB1c,561 movement type
    3.In your case may they have used some user exit to trigger MRP.take the help of ABAPER to find it out and stop the triggering of MRP.
    Normally,IF stock is there you can create SO and DO without running MRP.
    Hope i try to clear ur doubts

  • In Office for Mac 2011 After creating a Button how do I change its shape without triggering its assigned macro?

    In Office for Mac 2011, after creating a button how do I change its shape without triggering its assigned macro?

    For questions about Microsoft's tools, it would be best to ask in the Microsoft Support Forums. They would likely have more experience than people here.

  • Without EEWB Is it Possible to add field to standard tab

    Hi Experts!
    Without EEWB and enhancing Screen Is it Possible to adding field to standard tab. Any body can help out in this.
    URGENT
    Thanks
    vikram.c

    Yes it is possible, but we are talking a modification of SAP standard here. Also the effort needed will be at least 10 times higher than using EEWB as you have to reprogram all generated code / screen helps that SAP provides. Moreover these fields are then still not exchanged with the interfaces / BDocs etc which will be also some more days of work. There is no usable documentation on this - at least not by SAP and I am not aware of another one. It is much easier to create an EEWB enhancement and then move the fields from one tab to another.
    Doing this all by hand is like adding a second processor to an existing motherboard for more performance compared to exchanging the existing one with one of higher specifications.This is possible, but requires a) more work/time/material b) more experience c) you lose warranty d) in the end you do not know for sure what the outcome will be
    Regards, Kai

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

  • Test FCC without triggering scenario, similar to "Test Configuration" in ID

    Hi,
    lets say, we are using FCC in receiver file adapter, is there any way to test the FCC conversion (without actually triggering the scenario).
    in ID, i see there is a nice tool "Test Configuration", but it ends at ReceiverAgreement and shows the Outgoing message as XML,
    is there any way go a step further to see actually the fcc output, or any alternative way.

    is there any way go a step further to see actually the fcc output, or any alternative way. 
    no alternative way to test the Scenario and only possiable with run time .
    Test Configuraion :  name it self only possiable to test Configuration only.......correctly configured /not..

  • Initialize delta without data transfer not possible

    Hullo,
    I want to switch the upload procedure for an ODS from full to delta. For I have researched SAP Note 689964 and executed the program RSSM_SET_REPAIR_FULL_FLAG for the ODS-object and datasource. It successfully modified the request and set the 'REPAIR_FULL' flag.
    Now I want to change the InfoPackage from Full update to Delta. According to the note I have to perform an init simulation, my problem is that the option initialize delta without data transfer is in display mode only (i.e. it's gray and I cannot select it).
    The InfoSource in question is "0HR_PY_1". I've checked several others and with some it is possible to select the initialization simulations and with others it's not.
    My questions are a) Why is it this option grayed out? and b) What can I do to enable the selection of this option?
    Any help is appreciated.

    Hullo AK,
    thanks for pointing out that note, sadly it's for "0HR_PY_PP_1" and not "0HR_PY_1".
    However it lead us to note '611199'...
    <b>Symptom</b>
    Some attributes of the following DataSources are not defined.
    0HR_PY_1 DataSource:
    - Commit after initialization phase
    - DeltaInit Simulation
    0HR_PY_PP_1 DataSource:
    - Commit after initialization phase
    0HR_PY_PP_2 DataSource:
    - Commit after initialization phase
    <b>Other terms</b>
    PXDW, extractor, posting transfer, settlement, PCPO, PCP0
    <b>Reason and Prerequisites</b>
    The SAP settings for the DataSources are incomplete.
    The following attributes should be set:
    0HR_PY_1 DataSource:
    - Commit after initialization phase: no commit
    <u>- DeltaInit Simulation: Mode is not supported</u>
    0HR_PY_PP_1 DataSource:
    - Commit after initialization phase: no commit
    0HR_PY_PP_2 DataSource:
    - Commit after initialization phase: no commit
    <b>Solution</b>
    Import the corresponding Support Package into the Plug-In Releases 2003.1 and 2002.2 and copy/activate the DataSources in the plug-in system again.
    If the correction is imported, you can <i>no longer select the "DeltaInit simulation"</i> option for the delta initialization of the <b>0HR_PY_1</b> DataSource/InfoSource.
    As long as you have not imported the correction or you are using an even older plug-in release, you should never select the "DeltaInit simulation" option during the delta initialization for the 0HR_PY_1 DataSource/InfoSource. <b>The 0HR_PY_1 DataSource does not support this mode.</b>
    The 0HR_PY_1 DataSource only supports the delta initialization (without the DeltaInit simulation) and subsequent delta calls.
    Sadly enough, not what I wanted to read, but well at least I now know that I shouldn't look into this solution anymore.
    Again, thanks for your help.

  • How to populate dropdown without triggering PAI event ?

    Hi,
    I have a screen with two fields- One input field and one drop down list field which has to be populated based on the value given in the first field. 
    How can I populate the drop down list dynamically based on first input field without pressing enter ( i.e with out triggering PAI event ) .  I tried using DYNP_VALUES_READ in value request event.
    Please give me your suggestions .

    Hhhhmm, I thought initially it should work, but I must admit I couldn't get it to work with a listbox. I just tried a simple report with selection screen, see below. Just enter something for the first parameter and then choose the value help for the second field. You will see that it will pick up the value from the first field, if we don't use a listbox.
    Once you comment in the coding the LISTBOX and replace it with the normal field, you can see that the value help works as one would hope. It seems that the problem is that the values for the dropdown list get populated too early (i.e. start-up of the report). I don't have the time at the moment to check this out further, but I'm assuming others must have tried this before. Any comments?
    REPORT zvaluehelp.
    PARAMETERS:
      p_statva TYPE stacust-statva,
      p_status TYPE stacust-status AS LISTBOX VISIBLE LENGTH 3. " Doesn't work
    *  p_status TYPE char1. " Value-help works for this
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_status.
      PERFORM value_help.
    FORM value_help.
      DATA:
        dynpread TYPE dynpread,
        dynpread_tab TYPE STANDARD TABLE OF dynpread,
        stacust TYPE stacust,
        stacust_tab TYPE STANDARD TABLE OF stacust.
      dynpread-fieldname = 'P_STATVA'.
      APPEND dynpread TO dynpread_tab.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                   = sy-repid
          dynumb                   = sy-dynnr
          perform_conversion_exits = 'X'
        TABLES
          dynpfields               = dynpread_tab
        EXCEPTIONS
          OTHERS                   = 1.
      CHECK sy-subrc = 0.
      READ TABLE dynpread_tab INTO dynpread INDEX 1.
      CHECK dynpread-fieldvalue IS NOT INITIAL.
      SELECT * FROM stacust INTO TABLE stacust_tab
               WHERE statva = dynpread-fieldvalue.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          ddic_structure = 'STACUST'
          retfield       = 'STATUS'
          dynpprog       = sy-repid
          dynpnr         = sy-dynnr
          dynprofield    = 'P_STATUS'
          value_org      = 'S'
        TABLES
          value_tab      = stacust_tab
        EXCEPTIONS
          OTHERS         = 0.
    ENDFORM.
    The coding above was just intended as a quick test - so I know it's not proper (i.e. check of return codes, etc.).
    Cheers, harald

  • Creation of Business role without allow user the possibility of personaliz.

    Hi
    I'm new in SAP. and I'm in need. Is it possible create Business Role (in CRM) without the possibility (for the user) to personalize the assignment block and the general setting?
    Thanks for your future help!
    Stefano

    Hi,
    this is possible by assigning the Function Profile 'PERSONALIZATION' with value 'ALL_DISABLED' to your business Role in the Business Role Customizing.
    Kind regards,
    Carl

  • CHARM without any project assignment possible or not ????

    Hi ,
    can we create transaction request through solution manager having charm configured without assignment of any maintenance  project.
    i n details : i config. charm for managing all daily transaction request from it. for that i was created a Zabc maintenance project.
    so now when ever any new developments come on service desk request it will call for change management request from their and
    after approval developer will create a TR which by default comes under project Zabc for maintenance cycle M0000XX.
    Now i want to get either multiple option to choose different projects or without project . can any one confirm is it possible to create any TR (Dev) without any project assignment or not. If yes please let me know.
    Regards
    Andrew.
    Edited by: Andrew lee on Jul 9, 2009 9:32 AM

    Maintenance Project are used for Maintenance on your "live" business scenarios, checked out from your solution.
    Implementation, Template are used for implementing new functionallity, into a new solution, or additional to a solution.
    Upgrade projects speak for themselves.
    If you start with Maintenance/Implementation/Upgrade/Template projects, as soon as you activate ChaRM (option in SOLAR_PROJECT_ADMIN) your are supposed to create a Maintenance Cycle. In relation to the type of project a certain tasklist is created, and thus a maintenance/development cycle is created.
    To those cycles the individual, change documents are "attached" to get a release kind of working.
    So you must have any cycle, Maintenance or Development or Upgrade.
    Kind regards.

Maybe you are looking for

  • Wont let me download apps in appstore

    Some apps I do not have option to download to ipod. Download Button not highlighted for me to click on in appstore. Using ios 6.1.6 on 4th gen ipod. Yes, these apps I am trying to download are compatible with ios6.1.6 as well so please help.

  • The mother of all re-boot problems.

    Hi All, I've got that re-boot problem that seems very common but the solutions out there aren't working. Basically the computer will turn on, chime, grey screen comes up, shortly after apple logo, and then the gear starts turning, about 2 minutes lat

  • JDBC OCI8 driver for Redhat linux 6.1

    I have oracle 8.1.5.0.1 Enterprise server loaded on RedHat linux 6.1 and i am trying to access database through jdbc. When I am trying to execute one of the compiled class say Employee.class provided in the JDBC samples directory using OCI* driver it

  • Zen goes to blackscreen after charging during songs

    I have a 32 gb x-fi and for some reason after I fully charge it, the screen goes black only a few minutes later. I cannot turn it off either, and am forced to hit the reset button. It then rebuilds and then the process repeats itself and I'm lucky if

  • Multiple Single Values with Select Options

    hi, I'm using the SELECT_OPTIONS to accept the multiple input values through CREATE_RANGE_TABLE and it is working well but 1) i have requirement for some input fields that should accept multiple single values means without RANGES(From .. To).. Usuall