How to add quotation marks in a string

create or replace procedure flag (r1 in Varchar2, varchar2 IN r2)
IS
v_test varchar2 (8);
Start

If ((r1 n'est pas null) and (r2 is not null)) then
Select e, name
in v_test
from emp e, Dept. d
where e.deptno = d.deptno
and Object between r1 and r2;
end if;

dbms_output.put_line ('print the values' | range1 |) Range2);

end;

During the race above proc 01722 invalid error number.

R1 and r2 are the varchar values

Could you please let me know how to add quotes to r1 and r2 in order to eliminate the error 01722?

Tags: Database

Similar Questions

  • How to add cut marks bleeding from an existing PDF?

    Hi, I have a PDF of a book (200 pages) that I need to add traces of cutting, offset print color bars.

    May not know how to open the PDF file in Acrobat and adds the marks bleeding.

    The PDF file was saved in Word.

    Please advise...

    The crop, bleed and trim boxes are all the same size. The collection area is defined in the culture dish (choose Tools > Print Production > Set of Page boxes). If the illustration contains a bleed, make sure the culture box is large enough to accommodate the substantive area lost and other printing marks.

    Once this is done, please follow the steps to integrate the printer marks in PDF format

    Choose Tools > print > add printing marks.

    Specify the pages on occasion.

    Specify the parameters and brands.

    Thank you

  • Add quotation marks in the search of grep

    I want to add quotes in a grep search string. In the case of four digits. for example: 1994 to "1994".

    Research works successfully. But, not change.

    {The search string that I use is: \d{4}

    Please help with the replacement string

    TIA

    MJ

    TIA,

    {try this one: find (\d{4)}-change '$1 '.

    Gert

  • How to insert quotation marks

    http://lave0134.site44.com/dsn1543/exercise-1.html

    I put the same quotes that can be found on this image. I tried to <q> and < /q> aroud the paragraph, but it does not work.

    Screen Shot 2013-09-11 at 22.12.50.png

    There are two ways

    1. Use an image
    2. Use the appropriate symbol

    In each case, you must use CSS for styling and placement.

  • How to escape the quotation mark?

    I need to move a column of link from page 1 to page 2. I found a bug in my program. When there is quotation mark in the string, the corresponding query cannot be displayed on page 2. However, by using the same query, I get the correct result in the SQL * more console. I don't know why. Because of the quotation mark? Thank you!

    Hello

    OK - I've updated my test page to include the date in the filter - [http://apex.oracle.com/pls/otn/f?p=267:126]. I added a new page element called P126_DATE for the date filter

    My SQL for the IR is now:

    SELECT
    ENAME BLAH,
    EMPNO,
    ENAME,
    HIREDATE
    FROM EMP
    WHERE HIREDATE IS NOT NULL
    

    The URL of the link is now:

    #" onclick="javascript:doLink(this, '#HIREDATE#');
    

    My javascript function is now:

    function doLink(o, d)
    {
     $x('P126_TEXT').value = o.innerHTML;
     $x('P126_DATE').value = d;
     doSubmit();
    }
    

    And SQL of the standard report is now:

    SELECT EMPNO, ENAME
    FROM EMP
    WHERE ENAME = :P126_TEXT
    AND TO_CHAR(HIREDATE,'DD/MM/YYYY') = :P126_DATE
    

    Note that the column HIREDATE on the IR has been formatted using JJ/MM/AAAA

    Everything seems to work very well.

    The only time I haven't had "no data" was when I had included all the records in the EMP and clicked on a link for a record that had no value of hiring date. Otherwise, clicking on any link meets the standard report ok. Have you tried using TO_CHAR or TO_DATE to ensure that both sides of the WHERE statement using the same type of data?

    Andy

  • How to get a marker to make the tour of forms?

    Hi all

    I have a problem here, I did until a rectangle using Rectangle.vi to draw on an X - Y graph, but I don't know how to add a marker around him.

    Can any kind souls advise me on this you? I'm in the right direction?

    The table below explains my needs (I must be able to control the speed and direction of rotation, also the size of the shapes of the marker):

    Any help is very appreciated! Thank you very much!

    Here's something for you get started.

    Key points: 1. you must be able to follow the position on the edge of the image you place on the marker. For rectangles, it is easy since the only direction both for other changes it may be messier.

    2. in the loop where the marker is placed NOT to use an image shift register. This will result in a series of markers rather than the one that seems to move.

    Many of the indicators in this VI are only for diagnostic purposes.

    Lynn

  • How to add items to the list of object field

    I have an array of strings as shown below.

    String s [] = {'a', 'b', 'b', 'b', 'b', 'b', "a"};

    I want these elements in the field of the Objecat list with output picking up the elements of a String array.

    in other words, the ListField should only contains ' has 'and' b ' as list items

    How to add the elements of a String array to the listfiled without repeating the

    Chain of elements of the array.

    someone help me please...

    concerning

    use a vector as the data structure for the objectlistfield. Check contains() before adding the item in the vector.

  • How can I add points mark before and after every comma in TextEdit?

    Hello world

    I have a fairly big translation file CSV that I need to change and I'm wondering how to do this without having to do it manually.

    I want to add points mark before and after every comma of the document.

    Currently, my text looks like this:

    Account information, information of the affiliate account, affiliate

    Credit, Credit affiliate, affiliate

    Membership discount, discount affiliate,

    Email, e-mail address of the affiliate membership,

    Home membership, Affiliation home,

    Link, affiliate link, affiliate

    Affiliate Login, login affiliate,

    Name, name of the affiliate, affiliate

    Affiliate, affiliate,

    And I need it to be like this:

    "Total account", "Account balance",

    "Reach account balance', ' the account balance - door."

    "Account setup", "Account setup",

    "E-mail account", "E-mail account",

    "Account Information", "Account information",

    'Account Manager', 'Account manager',

    'New account', 'New account',

    'Account settings', 'Account settings',

    Tips that would help me to do it is more than welcomed.

    Thank you!

    I suggest the 'best' way to do may not be via AppleScript itself.

    AppleScript can do, but his text, the analysis is heavy, while the shell commands handle this with ease (although they are not as easy to read).

    That said, here is an example of AppleScript - the converted text will be written to the file "output.csv" on your desktop.

    game dittos to (Choose file)

    the value of output of {}

    the value question in paragraphs of (read (dittos) as text)

    Repeat with eachPara in question

    the value my entry point text delimiters to ",".

    the value $thisline for text elements of eachPara

    the value my text item delimiters to quote & "," & quote

    copy (quote & ($thisline as text) & quote) to end of output

    the value my point text delimiters to ASCII character 10

    set this to output as text

    end Repeat

    game of outputFile to (open access file ((path to the Office as text) & 'output.csv' in the text) with write permission)

    outputFile folklore of the value to 0

    write this as text to outputFile

    outputFile close access

    As you can see, it is heavy, especially compared to a few lines of shell script, but it should you get.

  • How to add listbox form in string array objects

    Hello

    I need help related to listbox

    1. currently, I am able to select and implement string in array

    Prob is

    ex.

    When I select the point 1 and 1 point will be created on arrayString but when I select article 2 and article 3 then arrary string poster article 2 and article 3 and article 1 is deleted.

    So please let me know how to add, add and delet listbox to string in array.

    2. how popup listbox and allow the user to add, delet or add the items in the listbox control and the transfer to the string table

    I have my code atatched. Please help me.

    Thank you

    Clement

    Sorry, try this:

  • How can I add crop marks in Photoshop?

    Only use Photoshop for a few months and for an ad that I designed that they need "crop marks" added. How can I do this?

    Here's a simple video that explains how to do this.

    http://haizdesign.com/Photoshop/add-crop-marks-and-bleed-using-Photoshop/

  • How to make a global search in messages between quotation marks?

    Using Thunderbird 24.4.0 on Ubuntu. Is it possible to do a global search in messages between quotation marks? I read https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/gloda, "whittlers Content" section. I consider this description it's a feature to exclude the content of the message in quotes of global search? Is there a way to enable global search in the quoted text?

    You know that a strip search via the quick filter bar or edit/search/search Messages include quoted text? Although it cannot be restricted to the text cited only.

  • 'Save as csv' sets of quotation marks around the entire line

    Our customer relationships:

    Portal of data-> right click on-> save under-> Select 'Data Type': "Textfile - Auto détection (*.csv)"-> Save.

    Result of savings:

    "TIME V V_ABS.
    "63.0235776 28.6153372301571 0.105263157894737".
    "63.0235936 28.6156034598028 0.105264137235745".

    The values of strings with the same index (a header) are so composed of a single cell due to quotation marks around.

    By me is not get, but by a customer.

    Client standard configuration of region/German language Windows 7.

    No idea, how a customer can save as csv without quotes around the line?

    Sasha

    Checked the file format during the recording of the data of Test File (CSV) Portal.

    When I checked the file in Ultraedit (so that can see the hexadecimal values) the file doesn't have quotation marks around the values.

    But if I open the file in Excel and then saved. Excel has put the quotes like that was indicated in your message.

    It seems that the customer opens the file in Excel.

    Paul

  • How to retrieve the name of a string

    I have the SQL query that returns the name of a person and I need to extract the last part of all the hyphenated names or the last with a space in them

    In cases where the person has a family name, everything is OK

    As Smith. This OK. . I'm looking for just of Smith

    The problem I have is when I cut some family names such as Scott-Thomas

    In this case, I want to extract the last name from family or Thomas.

    Or if I have a surname like Rodham Clinton.
    In this case I want to extract only the last name Clinton.

    How can I do this?

    Creative use of the ListLast() function.  Something like:

    Note that the optional 2nd parameter, which is a default delimiter, a space and a hyphen between the quotation marks.  This will cause ListLast() break a string that contains a space or a dash into several parts and return only the last part.

    -Carl V.

  • Why ColdFusion adds the backslashes to my string concatenated?

    Well, serializeJSON isn't enough create JSON for me to use with jQuery.

    So I decided to build it myself.

    Here is my code:

    <cffunction name="getActions" output="false" access="remote" returnformat="JSON">
        <cfquery name="Actions">
          SELECT * FROM Actions
        </cfquery>
        <cfset ActionsList = '{"success" : "true"}, {"Actions" : ['>
        <cfloop query="Actions">
          <cfset ActionsList = ActionsList & '{ "ID" : "' & ID & '", "Name" : "' & Name & '"},'>
        </cfloop>
        <cfset ActionsList = ActionsList & ']}'>
        <cfreturn ActionsList>
      </cffunction>
    

    So basically I send an asynchronous call AJAX with jQuery to the cfc that contains this code.

    jQuery told me that the JSON was bad.

    So I pulled out what Coldfusion has been sending to the browser.

    "{\"success\":\"true\"},{\"Actions\":[{\"ID\":\"1\",\"Name\":\"View Public\"},{\"ID\":\"2\",\"Name\":\"View Full\"},{\"ID\":\"3\",\"Name\":\"Create Page\"},
    {\"ID\":\"4\",\"Name\":\"Create Part\"},{\"ID\":\"5\",\"Name\":\"Create Section\"},{\"ID\":\"6\",\"Name\":\"Create Question\"},{\"ID\":\"7\",\"Name\":\"Create Table\"},
    {\"ID\":\"8\",\"Name\":\"Assign Pages to Location\"},{\"ID\":\"9\",\"Name\":\"Input Data\"},{\"ID\":\"10\",\"Name\":\"Edit Page\"},{\"ID\":\"11\",\"Name\":\"Edit Part\"},
    {\"ID\":\"12\",\"Name\":\"Edit Section\"},{\"ID\":\"13\",\"Name\":\"Edit Question\"},{\"ID\":\"14\",\"Name\":\"Edit Table\"},
    {\"ID\":\"15\",\"Name\":\"Assign Pages to Location Type\"},{\"ID\":\"16\",\"Name\":\"Add Location\"},{\"ID\":\"17\",\"Name\":\"Add Location Type\"},
    {\"ID\":\"18\",\"Name\":\"Change Location\"},{\"ID\":\"19\",\"Name\":\"Assign Location Designee\"},{\"ID\":\"20\",\"Name\":\"Assign District Designee\"},
    {\"ID\":\"21\",\"Name\":\"Update User Information\"},{\"ID\":\"22\",\"Name\":\"Add User Type\"},{\"ID\":\"23\",\"Name\":\"Manage Permissions\"},]}\""
    

    Why coldfusion adds a bar backslash before each quotation mark?

    I built the exact way of sam JSON in another function, and it worked fine.

    The only difference between this function and this one is that it has a loop.

    I've been at this for hours... what Miss me?

    and replace(ActionsList,"\","","ALL")

    does not help...

    You're not perform a JSStringFormat() on that anywhere, are you?  (maybe in the code not released).  JSStringFormat() assumes that the text passed to it is a literal string, and then he escaped values in quotes (as we see here)

    In addition, on either said by the way, your JSON data is not valid, no?

    Your loop will update the list of actions with a table, but it always takes into account there is another index of values, so it did precede the comma.  {[{You can even see in the final version of your data table ends with a '...},]}' you may need to make a conditional test to see if the loop is at its max index and if not, then add the comma.

  • How to add all THE tabs not only the current criteria

    Hello

    I want to be able to bookmark ALL the sites I've visited. I know CTRL + D and SHIFT + CTRL + D and right mouse clicking on a tab and choose bookmark all tabs. What I'm looking for, it's mark recursively. Here is an explanation:

    I start Firefox and load the page from my home.
    I'll tell site Google.com.
    On the same tab, I leave Google and go to Microsoft.
    On the same tab, I leave Microsoft and go to Mozilla.org
    On the same tab, I'm leaving, I leave Mozilla and go to CNN

    So, if I right-mouse-click the Go Back button, I see all these pages in order of the last went to the first visit.

    How to add all these pages of homepage-> Google-> Microsoft->... all the way

    I hope this makes sense and that a solution is there.

    Waseemn

    If you open the page in different tabs, then you use "bookmark all tabs" in the context menu of the tab bar.

    You can middle-click on a link to open the link in a new tab or hold down the CTRL key and click to the left.

    ALT + Enter opens links through the address bar in a new tab.

Maybe you are looking for