Coat simply adding to the text

Hi all

I have a varchar2 column... its a text in it... I want to do a lpad of ' and rpad of "in the beging and txt
' = > single coat

for example; If the text is ABCD I want the result as "ABCD".

I tried like this

Select rpad (lpad ('ABCD', 10, "'), 10,"') of the double

But it does not work someone can guide me... Please also let me know if there is another way to add "for a text to begin and end.

Thank you
Saami

Like this?

select ''''||'your_text'||'''' from dual;

SQL> select ''''||'ABCD'||'''' from dual;

''''||
------
'ABCD'

SQL> select 'ABCD' from dual;

'ABC
----
ABCD

SQL> 

Published by: Sri on May 11, 2011 14:19

Published by: Sri on May 11, 2011 14:20

Tags: Database

Similar Questions

  • Text added to the text field using the variable does not appear

    Hello

    I have a test field I created dynamically.  If I add some text to it by writing: myField.text = 'text', the text if poster, but if I add text using a variable is nothing.  If I trace trace text in the text field ("text =" myField.text) get good value.

    Someone at - it ideas?

    Best regards

    Chris McLaughlin

    Try to comment out the two lines below and see if it helps...

    ["textField" + guestCueCnt 'c'] .defaultTextFormat plus myFormat;
    ["textField" + guestCueCnt + 'c'] .embedFonts = true;

  • adding to the text format within the framework

    Hello

    Im trying to add text with different styles (for example, font, size, color) of formatting that is not separated by a space:

    An example:

    'frame' is a textframe

    frame.parentStory.insertionPoints.item(-1).contents = "text1";

    frame.parentStory.words.lastItem () .appliedFont = "Arial";

    frame.parentStory.words.lastItem () .pointSize = 10 ";


    frame.parentStory.insertionPoints.item(-1).contents = "text2";

    frame.parentStory.words.lastItem () .appliedFont = "Times New Roman";

    frame.parentStory.words.lastItem (.pointSize) = 12 ";

    After that, "text1text2" is formatted in "Times New Roman., 12Pts.

    I tried to separate 'text1' and 'text2' with 'SpecialCharacters.hairSpace', but this did not help.

    Someone has an idea?

    Thank you!!

    Use the ranges of characters rather than words:

    frame.parentStory.insertionPoints.item(-1).contents = "text1";
    frame.parentStory.words.lastItem().appliedFont= "Arial";
    frame.parentStory.words.lastItem().pointSize = 10;
    endIndex = frame.parentStory.characters.item(-1).index;
    frame.parentStory.insertionPoints.item(-1).contents = "text2";
    frame.parentStory.characters.itemByRange(endIndex+1, frame.parentStory.characters.item(-1).index).appliedFont= "Times New Roman";
    frame.parentStory.characters.itemByRange(endIndex+1, frame.parentStory.characters.item(-1).index).pointSize = 12;
    

    .. Although in this case, it is easier to first change of setting in shape from the last insertion point and then insert the text:

    frame.parentStory.insertionPoints.item(-1).appliedFont= "Arial";
    frame.parentStory.insertionPoints.item(-1).pointSize = 10;
    frame.parentStory.insertionPoints.item(-1).contents = "text1";
    
    frame.parentStory.insertionPoints.item(-1).appliedFont= "Times New Roman";
    frame.parentStory.insertionPoints.item(-1).pointSize = 12;
    frame.parentStory.insertionPoints.item(-1).contents = "text2";
    
  • Country code being added to the text to send blackBerry Q10

    When you send a text to some contacts, I get an error message indicating the invalid number. 86 numbers have been added to my phone number. For example, let's say the number is 7749771234, so phone to send to 867749771234, I checked and updated my country code without results all contacts when imported through link bb and there was no question about the "BOLD"

    Found the solution, similar to what you suggested however to delete the conversation, and then delete the contact. Then, once I've recreated the contact and tested, everything was fine

  • Entry prices paragraph added to the text block

    Hi all

    In my book, I have an introduction document that is the same for all books. Sort of a preface. So I import the given in an empty document, which I then save and rename etc. In other words, the preface is a normal text inset. For some reason, Framemaker add the paragraph tag title after/before the Insert, while the leaves me with an empty entry numbered in my OCD and an ugly orange bar under my medallion, which I usually use as part of the title page. Not only the table of contents entry is a nuisance, but also the fact that even after the removal of the insert I can't edit or delete the paragraph tag. How can I correct/avoid this?

    Thank you

    Pieter

    Adding screenshots shows the document with the selected insert and the paragraph of title below and without the insert showing the immovable and immutable paragraph tag. (blue sign curly and bar orange)Clipboard02.jpgClipboard01.jpg

    Space Ctrl + space or Esc: to insert a (non-breaking) space.

  • Adding text with the text tool corresponds to the resolution of photo

    I discovered that, although the resolution of the image is of no consequence when the sizing of the images in pixel dimensions, it is always important if you decide to add information of copyright with the text tool.

    for example, I received pictures of several people, all sizes of 1024 pixels in width, but I wanted to add their names to the front of the images before putting the images in a slideshow.  I quickly discovered that, even if the images are identical pixel seen, applied names vary in size according to the resolution of the image.

    Because different brands of cameras assign a different resolution to the images taken with this camera, I needed to change the resolution of images to be all the same before I could add the names appearing in the same size.

    It was a surprise for me.

    Mary Lou

    I think we are saying the same thing.

    "Now, Type is expressed in points and points are defined as 72 points per inch for output format."

    This is the information that I needed.

    When people send me images that are all in 1024 x 768 in size in pixels (I'll stop using the word 'size') the size of the font that I choose to use appears differently on these images, depending on their output resolution.

    There is no way to avoid having to adjust the resolution of output of these images, if I want to have text added (via the text tool) that appears the same size on all images.

    Now, I can explain why this is happening.  I hope this is helpful to others reading this.

    Thank you.

    Mary Lou

  • Complete text (Names) checkboxlist when checked everything in the text a

    Hi developers of BB,.

    IM, Application development where the need is to checkboxlist text (Names) that presents itself as a drop box, when checked in the text, and then one by one, should be added to the text box that already has some text inside... I would also like to insert at the precise location or we can say to index...

    For example any suggestion is appreciated 

    See examples of Battambang for a similar case.

    Watch as all the controls of the cascadescookbook example.

    Break your application into small pieces of logic and construction of these parts.

    Stuart

  • Copy of the text, collage and montage

    I have simple text written in a table that I copy and paste into another column in the table. But I can't seem to edit the copy of this new column. Why is it not as easy as copy this text and changing the copy? Why is it not as easy as copy this text and changing the copy? Why is it not as easy as copy this text and changing the copy? Why is it not as easy as copy this text and changing the copy?

    This was done so easily in previous editions of Dreamweaver.

    Header 1 Header 2
    Day 1Day 2
    SunnyRain

    It might have something to with the different methods of coding the most recent versions of DW use compared to the old.

    In DWCS3, the program mainly used the html attributes now obsolete about all of its text style. When it has been copied, there are html tags format mixed with it that would move with the text.

    In the latest versions of DW, it uses CSS for formatting as soon as he can. The css is usually attached to an element parent (such as a table cell), its class or id so it is not all style formatting in the html code of the text itself. When the text is copied on a container and added to the other, the news of style are left behind in the container and the text takes some styles are associated with the new container. If the new container has no added style, the text will appear to drop off any style.

  • I create a text field and I can't get the text to start typing in the upper left corner

    I created a pdf file for and added to the text boxes. The text want to start in the middle left of the text field and I can't seem to start in the upper left corner. Any suggestions?

    Set as Multiline field, under Properties - Options.

  • Text on the stroke to the text block

    I was wondering if there is no way to force the text in a text block to be at the top of the race that I added to the text box. The descenders are cut and I have messed around with various options of baseline for the text block, but can't seem to find a way to make it work without making the largest text block which I prefer not to do.

    I saw a few solutions, but they all seem to be for earlier versions by using the settings that I can't find in the CC options.

    Any help would be appreciated! Thank you

    --

    Kristin

    Use a text image inset.

  • Text entry boxes: how to align the text

    I'm not loving the certificaate widget in Captivate 5 I decided to create my own background image landscape certificate. I added all the text of the certificate to the image so users only things have to do when the lesson of Captivate viewing is enter their name and the date in the text entry boxes. The problem I have is that I do not see a Format tab where I can line up text as I can for areas of legend. Now the names and dates entered by using the text input boxes are entered as left aligned while the background text on the certificate is centered.

    Any suggestions?

    Thanks in advance!

    Hello

    No possibility of alignment in one TextBox entry, sorry. But why not replace it with TextArea Widget? There you have all the possibilities of formatting and if necessary, can be associated with a variable.

    Lilybiri

  • (PS CS3) Select all the text to change the fill color?

    I have a graphic with text: the text was not inserted by Photoshop, and it is not available as text; It's just a part of the graph.  I would like to change the color of the text.

    I can select each letter and each block of punctuation, etc. by using the magic wand and shift + click on each element.  Is it possible, however, simply select all the text - or at least a line full - with one or two moves or orders, vice boredom with a click on each letter, comma, I dot and so on?

    Ed

    If all letters are the same color, magic wand selects all with a click on a such contiguous is disabled in the panels of options at the top of the screen under the main menu.

  • Set the position of the cursor in the text added (to make the part of the text in index) in WORD using Report Generation Toolkit

    I would like to generate a report in WORD using the report generation toolkit.

    Whenever a text is added to the report, the program should put part of the text index. The problem I am facing with is to set the cursor position in the current location of the text.

    Any suggestions?

    Hello!
    I think that's what you wanted (see attachment).

    First, you must set position for each loop, so after adding the table, your cursor index need to increase the number of added characters. That's why I have included the text of the report, Append - to get the position of the cursor at the end.

    Indexing begins with 0, so you need to set the 3 and 7.

    Hope you get what I mean

  • try to change the text in a saved file, but it will not allow isolate me the text, place the cursor in the text box or simply go back to remove.

    try to change the text in a saved file, but it will not allow isolate me the text, place the cursor in the text box or simply go back to remove.

    Hello

    in what format save you your file? If it's a jpg file, then the text is compressed and unfortunately PS is telling things as they are. Even if you could change the text before you save, after having been saved in jpg format, the text is merged and is no longer editable.

    A good solution is to save the files as PSD files, photoshop files. In this case, all layers are saved uncompressed and so your text will appear in its own layer in photoshop. All you need to do in this case to change it is the result of a three-step procedure

    (1) select the right layer

    (2) take the text tool in the tools bar

    (3) mark and change your text

    So the crucial question is: in what format you save your file?

  • Print the text - Acrobat Pro XI added JUST

    Desired action:

    I scanned in a form and added information.  Specifically, I filled in a list.

    I want to put the ORIGINAL form in the tray to printer paper and JUST print the information that I have added to this form,

    Is this possible?

    Thank you!

    Depends on how you entered the text. The quick way to know is to try printing and select Supplement only.

Maybe you are looking for