What is the proposal for substitution for the AMPERSAND (&) in oracle?

Hi all

It's my request...

Select * from
(
Select 'abc' a Union double
Select 'def' a Union double
Select 'abc and xyz' double
) where a = 'abc and xyz '.

Output must be "abc and xyz."

Since I use '&' it prompts you for a value between my keyboard.

Yes, I know, I'll get the output using set scan off the coast, together set off, set escape on.

What is the proposal for substitution for the AMPERSAND (&) in oracle?

"Abc and xyz" value will be passed forward and will be passed to the select...

Kind regards
Varma Koffi N

nkvkashyap wrote:
Hi all

It's my request...

Select * from
(
Select 'abc' a Union double
Select 'def' a Union double
Select 'abc & xyz' double
) where a ='abc & xyz';

Output must be 'abc & xyz '.

Since I use '&' it prompts you for a value between my keyboard.

Yes, I know, I'll get the output using set scan off the coast, together set off, set escape on.

What is the alternate to sign & (and) in oracle?

The value 'abc & xyz' will be passed forward and will be passed to the select statement.

Kind regards
Varma Koffi N

I think you're confused. Oracle (i.e. DB) doesn't care &. However the frontends like SQL * more: and request you substitution (unless the whole set off etc.).

If you use Java, and pass channels with & without problem.

Tags: Database

Similar Questions

  • What is the difference between oracle and peoplesoft databases

    What is the difference between oracle and peoplesoft databases. How the tables of metadata between the two relate?

    According to my understanding, peoplesoft database exists as a schema on the oracle database.
    Please correct me if iam wrong.

    user4212454 wrote:
    ...
    The second statement, I realized that each schema created its specific use.
    for example, peoplesoft had 1000 objects (including the peopletools and application and system tables), each schema created above has access restrictions different on these database of 1000 objects. Am I wrong?

    Yes, each schema has its own purpose and the grant for objects of Peoplesoft. SYSADM is the owner of the objects of Peoplesoft with all rights. PS is the owner of one and same table, PSDBOWNER and the PEOPLE is granted to select three of these tables (PSOPRDEFN and PSACCESSPRFL PSDBOWNER).

    In addition, for DB2, what are the patterns of PeopleSoft?

    It is located in the installation documentation dedicated to the database you want to work on:
    http://download.Oracle.com/docs/CD/E15742_01/PSFT/HTML/docset.html

    The first statement, could you please elaborate on the part highlighted.

    A "Peoplesoft database" is nothing, it's terms to refer to a database containing everything you need to make a Peoplesoft application running.

    Nicolas.

  • What is the map loads Oracle in 10.2.0.5 OEM?

    In My Grid Control, I go to the target-> databases, see: map loads Oracle

    but it's not showing anything... When I change the display of the search list, I get my goal of databases...

    What is the map loads Oracle? why it does not show anything on my browser... It's like there is a missing image icon...

    Am I need to install an IE plugin? My IE 6 shows nothing running out of plugin or something...

    The load plan Oracle, will show a map of all of the databases according to the load. She'll understand each database as a rectangle, and its size depends on the load of data. More load on the database, the largest and the rectabgle.

    You must however have installed Adobe Flash Player!

    So just install the Flash Player.

    Concerning
    Rob

    For more tips and tricks on OEM GRID Control: http://oemgc.wordpress.com/

    Published by: robztw on November 30, 2009 13:32

  • What is the difference between Oracle RAC and Oracle Clusterware?

    Hi all, it's maybe a stupid question, but I read the documentation and still do not understand what is the difference between RAC and Clusterware.
    Can someone explain it to me?

    Thanks in advance!

    ACR is part of database software Oracle database option should be the database mode cluster; See http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/glossary.htm#CNCPT2076.

    Clusterware is a separate required to run the Oracle database in cluster mode: you can use Oracle Clusterware without Oracle database, but you cannot use Oracle Database with the option CARS without Oracle Clusterware.
    See http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/intro.htm#BABCHEEE.

    Edited by: P. Forstmann on November 19. 2010 19:11

    Edited by: P. Forstmann on November 19. 2010 19:11

  • What is the difference of ORACLE for a 16 processor machine and 1 cpu with 16 cores?

    What is impact performative to ORACLE running on a machine of 16 processors comparison 1 cpu with 16 cores?

    No difference? but maybe something I don't know...

    I assume you mean the Sun T2 based servers?

    See http://blogs.sun.com/glennf/entry/virtual_cpus_effect_on_oracle

  • What is the difference between Oracle and Oracle BI Apps applications?

    Hello world. I am a consultant OBIEE and am looking for a job at the moment. I'm requirements asking for Oracle Apps (EBS) or Oracle BI Apps. 40% needs to ask these two. But I have no idea on the applications of BI O. I know EBS is an ERP... but there are a few similar words in BI applications. What are you saying??

    If I want to learn Oracle BI apps, I need no knowledge of BSE?

    Thanks in advance,
    Pratap.

    OBIEE is the infrastructure or the engine that runs the Oracle BI Applications. In other words Oracle shipped a full suite of Applications in the BI space, which is analytical supply & spend. Others to be called financial information and profitability, management of orders, related HR Analytics, etc. You can download presentations from Oracle's Web site marketing.

    These are nothing, but the things that you would normally but comes pre-built out of the box. It is a whole warehouse with the model Physics (all of fact and dimension tables) Business model and presentation catalog data (Repository) and especially you get pre-built ETL routines in the form of adapters that you plug n play. You configure just a few things on the warehouse, beside the repository and on the side of Informatica (assuming you choose Informatica as your ETL product) and you're ready to go. Just to give you a simplistic ;-) This fact that re-badged Seibel analytics.

    If your core skill is OBIEE then you must get your hands on an output of the drop box and start having a glance. You do not have to re-skill/re-train somehow, but just understand architecture. Then you use the same skills as answers, Deliver, Oracle BI admin.

  • What is the difference between Oracle and MySQL

    Hello

    I would like to know the major difference between Oracle and MySQL. I have a project to generate tables of database XML files, I used the functions XML built oracle XMLELEMENT, XMLAGG XMLATTRIBUTES, XMLFOREST. I really want to know if these functions (or) similar functions are taken into charge/availabe in MySQL.

    I'm having a hard time finding better linux distro to install Oracle11g, so I intend to move to MySQL. Please help, thanks in advance.

    Supported operating system versions are documented - http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD

    HTH
    Srini

  • What is the difference between Oracle App Server and OC4J

    Thanks in advance



    Concerning
    Sunil

    Just a little (or big, depending on how you consider) correction, OC4J is not just 'servlet container '. It is a complete J2EE container.

  • What is the differene between the operation of the filter and NL semi join?

    Hi all.

    The oracle is gr 10, 2 and 11 GR 2.

    There are differences between the operation of the filter and the HASH/MERGE semi join in the treatment of subqueries.

    But I couldn't see the difference between the operation of the filter and NL semi join?
    (the only thing I know is that the operation of the filter mechanism has cached, but I'm not sure if semi NL)

    What are the advantages and disadvantages of each of them?

    Thanks in advance.
    Best regards.

    >
    The oracle is gr 10, 2 and 11 GR 2.
    >
    These are not "version. What are the 4-digit versions?
    >
    There are differences between the operation of the filter and the HASH/MERGE semi join in the treatment of subqueries.
    >
    What is? When you make a statement like this post the information (and links) that backs up your statement.
    >
    But I couldn't see the difference between the operation of the filter and NL semi join?
    (the only thing I know is that the operation of the filter mechanism has cached, but I'm not sure if semi NL)
    >
    We cannot 'see the difference' you don't has not post anything to watch us.
    >
    What are the advantages and disadvantages of each of them?
    >
    Each of what? Again - it must be as specific as possible if you want specific comments.

    In addition, given that you should generally not use indications in production in any case code what does what are the differences? Oracle will make the choice.

    Without something specific to comment on everything that we can do is provide several links that talk about joins and how to produce and review them. These are all notebook of Jonathan Lewis:

    http://jonathanlewis.WordPress.com/?s=semi-join
    http://jonathanlewis.WordPress.com/2010/12/20/index-join-4/
    http://jonathanlewis.WordPress.com/2010/08/15/joins-MJ/--Les merge joins
    http://jonathanlewis.WordPress.com/2010/08/10/joins-HJ/--Les hash joins
    nested loops http://jonathanlewis.WordPress.com/2010/08/09/joins-NLJ/--joings
    http://jonathanlewis.WordPress.com/2011/06/08/how-to-hint-1/--comment tip for joins

    Check out these articles. Pay attention to how, in each of them, it does not provide only a text description but also provides the code and explains the code.

    In other words, it provides information specific to illustrate what he is talking about. That's what you need to do if you need help with a specific topic: provide the query plans and output that you use as the basis for your question. Allows us to see EXACTLY what you're talking about.

  • The error code is 'Windows Update error 80072ee2'. SO how to fix in a step-by-step fashion. I added the site proposed for the update in my antivirus while list.

    The error code is 'Windows Update error 80072ee2'. SO how to fix in a step-by-step fashion. I added the site proposed for the update in my antivirus while list.

    Hi Sarma_RN,

    1. When you receive the error message?

    2. update you are trying to install?

    3. When was the last time you were able to install updates?

    If Windows Update, error 80072ee2 during updates, the Windows Update servers may experience an unusually high number of requests for updates. Close Windows Update, wait 10 to 15 minutes, and then run Windows Update again. Alternatively, you can wait for automatic update of Windows run at its next scheduled time.

    These errors can occur caused by one of the following problems:

    • Applications or processes that interfere with Internet communications
    • Problems on your computer
    • Strong Internet activity
    • Recoverable database errors

    See the Microsoft article and try the steps mentioned below.

    You may encounter temporary connection related errors when you use Windows Update or Microsoft Update to install updates

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

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What is the best way to store the RCS for an insert/update in this rec

    Oracle on Win 64 non-conteneur 12.1.0.2

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    I thought of a line after trigger, but did not know if this trigger to store the current_scn would still fire that trigger again (recursive trigger).

    Someone at - he a good idea of what the best way is to do?  The devs don't want to store the pk and the SNA in yet another table...

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    3rd party applications retrieve data from tables (all data).  We are looking for a way for them to just pull what is new or updated updated since their last sweater.

    I suggest that you try again and give all OF THE REQUIREMENTS.

    You have rejected ANY answer given and he justified using 'hidden' on what knowledge management or the devs want or do not want to. Stop making us guess what are the requirements and constraints. If you want a real answer then tell us ALL the news.

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    Solomon answered repeatedly. If you want to add a column to a table to store the then "best" SNA is to let the Oracle to do this for you automatically by using the DEPENDENCY LINE.

    As he says also re-create the table to add this clause will be MUCH MORE EFFECTIVE that everything THAT you can do it manually. It will be also more accurate because Oracle will fill the value ORA_ROWSCN with the SNA at the time the line was committed. You, as long as user, can't fill a column in function when a line is engaged since real VALIDATION belongs to a transaction, not the line or the trigger that you use.

    Yes - there are two drawbacks to this method:

    1. you need to re-create the table

    2. you cannot add an index to this "hidden" column

    The devs don't want to store the pk and the SNA in yet another table...

    Then? Who cares what the devs want to do? You want the BEST solution? Next, you will need to put aside personal preferences and determine what is the 'best' solution. Why it is important that certain dev wants to do this or not?

    OK, the problem of biz is now, 3rd party external users are an all-wheel drive large number of tables in the database via the API that we wrote.  That was obviously interrupted OLTP during the day.  To reduce to the minimum, we want for them just to extract data that has been inserted/updated since their last sweater.

    It is the definition of a "replica" DB Then why don't you consider a real replicated DB? You can use DataGuard and have replicated DB which is read only that can be used to generate reports. Oracle does ALL the work to keep ALL the tables in sync. You and your developers do NOTHING!

    We thought that store the RCS higher their last sweater would allow the API to extract only data with YVERT higher than their last data pull CHN.

    OK - except you keep rejecting solutions actually do. Ask you questions about the SNA stored in the same table, but then reject the solution that does this. And then you add your "devs" don't want to store the info in a new table either.

    Then your solutions must ONLY use the replication or Log Miner. The REDO logs have all changes, if you want to extract yourself. Replication (e.g., DataGuard) will use these logs for you to maintain a replicated database.

    We thought about it, but recreate all tables in production with ROWDEPENDENCIES as well as dealing with CF and other dependencies idea this was shot.

    Well you NEVER mentioned you "thought that" and rejected it. And you NEVER mentioned anything about FKs and other dependencies. What is FKs and other dependencies which prevents this working solution? Tell us! Give us ALL the information.

    Wouldn't a trigger AFTER LINE capture the commit YVERT?  Or is after really not after validation?

    No - a trigger has NOT one commit. A trigger runs as a step in a transaction. Validation applies to the entire transaction. Until you, or Oracle, issues a commit, there is NO "committed SNA" to be stored as ORA_ROWSCN.

    You can easily see that for yourself. Create a simple table with dependencies of the line and then update two different sessions.

    create the table emp_scn rowdependencies in select * from emp where rownum<>

    Select empno, emp_scn ora_rowscn

    Update emp_scn set work = 'b' where empno = 7499

    commit;

    The first SELECT statement will show you that each row has the same SNA.

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622201

    7521,70622201

    Now, do the update (but no commit), then SELECT it

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,

    7521,70622201

    Where is the value of 7499? This session will NOT see a value for the changed lines in the current transaction. Other sessions will still see the old value.

    Now do the validation, then SELECT

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622301

    7521,70622201

    7499 now has a new and different value than the other lines. It will not be this new value until the validation occurs.

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    Well, you got the answer you want. You ask the best way. Now, you say that you were told the best way. But now you don't like the answer.

    How is it our fault? Your question has been answered wasn't she?

    Here are the facts:

    1 oracle creates a history of changes - the REDO log files

    2. you can use Log Miner to extract these changes

    3. you can create your own change log by adding a log file of MV to your table.

    4. you can then write a custom code to use this MV log file to determine which rows to "reproduce".

    So far reject you all THE POSSIBLE solutions.

    Accept it or change the requirements to allow one of the solutions proposed to be used.

    Personally, if I HAD to use a customized solution, I would use a MV journal to record the ROWID of the lines that have changed (for tables ROWID cannot be changed). I would then extract the appropriate lines by pulling on the lines corresponding to these row ID.

    Even that has problems since a line can be changed several times and children lines can also be amended several times - these questions FK you mentioned.

    I suggest you read this entire thread on AskTom a dozen years ago. It addresses ALL these issues.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:16998677475837

    Then in your next reply on this topic give us a summary of where some things with your question and what help you further expect.

  • What is the correct syntax to reference a page point (P23_ID, for example) in a process of PL/SQL page after submit?

    What is the correct syntax to reference a page point (P23_ID, for example) in a process of PL/SQL page after submit?

    TexasApexDeveloper wrote:

    Variable binding is preferred: P23_ID you can also use & P23_ID. (variable substitution notation).

    Bind variable and static text substitution references are not interchangeable. For example, static text substitution references cannot be used in allocation targets:

    :P23_ID  := 'foo';  -- valid
    &P23_ID. := 'bar'; -- syntax error (or something weird or sinister due to SQL injection)
    

    Substituting static text references should be avoided in SQL and PL/SQL code because of the risk of behavior topic SQL injection and / odd error because of values containing quotes, etc.

  • I use PE 13, what are the best settings for viewing a slide show on a TV

    I set up a slide show of my drawings for display on a TV.   The images are color JPEGs.   What primary settings work best for the project when it comes to watching a slideshow of images on an HDTV?   I know how to change the properties of the project, but I don't know which of the formats and options will work best to turn slideshow into a video clip.

    Genetrump

    First 13 items on what operating system? You have 13 to 13.1 updates, using Help Menu/updates to date of an open project?

    Your question immediately... assuming you have a NTSC installation...

    1. What are the dimensions in pixels of your JPEG files, and how many of them are there? Depending on the resources of the computer, how many JPEG files, and what pixel dimensions, try to use 1920 x 1080 format JPEG and the project preset elements 13/13.1 first is NTSC, DSLR, 1080 p, DSLR 1080 p 30.

    2. what type of player is has your HD TV?

    (a) if only one DVD, then your destination drive is drive DVD/record/Publish + share with preset = NTSC_Widescreen_Dolby DVD. Video set for display at 872 x 480 after encoding.

    (b) if player Blu - ray, then the publish + share/disc/AVCHD (which are a DVD disc)... can be 1920 x 1080 @ 23,94 progressive frames per second (H.264 1 920 x 1080 NTSC Dolby)

    (c) if the Blu - ray player, then publish + share/Disc/Blu-ray disc... can be 1920 x 1080 @ 23,94 progressive frames per second (H.264, 1920 x 1080 p NTSC Dolby).

    I assumed you wanted a product of disc? If your HD TV player takes support other media of the video file, what are the formats on which media supports?

    With this information, I will propose Publish + share/computer/specificities for export to files.

    Please review, study and give more details.

    Thank you.

    RTA

  • What is the field replace it for?

    In the 'Properties' tab, you will see "Override and"Main timeline"is left as"Not defined". Okat to leave them like this and what is the substitution is"is it used?

    Thank you

    -Russ

    Override.jpg

    Generally, the value overrides what not.  they were once as necessary to manage the chapter plays, but not because there isn't "chapter playlists." And if you don't know what you're doing, they can get you into trouble.

    A substitution changes the end action that would occur without the substitution. For example, if a timeline has an end action to go to the 2 timeline and the button that calls if a substitution in the 'main menu', using this button to call the timeline will result in the timline ending and in the main menu.

    The "chronology of the hand" is a property only for the drive, and the default seems to be so he could be on the first timeline added to the project.

  • What is the need for level 0 and level 1 backup?

    I am a bit confused about the need for level 0 and level 1 backup. Oracle has proposed strategy in 10g creates only level 1 backup continues to not to break and not to create any level of 0 after the first backup of level 0. But I had seen in the document Oracle Database Backup & Recovery basis he suggests to create backup of level 0 on weekly or monthly basis. There?

    Secondly according to my understanding when creating oracle backup of level 1 first creates a level 0 backup that contain also copies of data image files and then apply an incremental copies of the image, once the incremental backup is applied on the copy of the image you don't have to the previous incremental backups. Am I wrong?
    If I'm right, what is the difference between level 0 & backup of level 1? and after the level 0 backup you must also all previous backups.

    PL. help me to clarify my questions in this regard.

    Kind regards

    Vassallo

    What is the most reliable in terms of recovery?

    I do not see the differences in terms of recovery, the two strategies are reliable.

    There is an advantage in terms of recovery time expected, Oracle says:

    /*
    Incorporate gradually update the backup in your backup strategy shortens the time of recovery as provided. The reason is that media recovery right now or at some point in the recent past may begin at the time of the last backup of level 1 applied, rather than at the time of the last full database backup.
    */

    In a regular incremental backup strategy you always go back to a level 0 backup and then to apply everything follows level 1 backups + archivelogs. But - for an incremental backup set to day - it's a little tricky to emerging a window of recovery, normally relies on redundancy 1, i.e. that a backup is retained, you cannot go back, this type of backup is designed for a quick and complete recovery.

    But there is a solution (I don't think there is place in EM), even if you're on 10g, see the 11 g documentation, he explains fuller:

    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmbckba.htm#BRADV89532

    Werner

Maybe you are looking for