Is there a way to insert a string even if the value has a single quote in it?

Hi,
I have a varchar string like
Name: D'souza
I am getting an error when i am inserting  like this.
insert into table (D'souza)
Is there any way to allow inserting the exact value even if it has single quotes attached to it like set define off in oracle ?
Regards
Gautam S
Gautam S

insert into table values('D''souza')
insert into table values('D'''+'souza')
Try also this one
SET QUOTED_IDENTIFIER { ON | OFF }
http://msdn.microsoft.com/en-us/library/ms174393.aspx

Similar Messages

  • Is there a way to insert a clickable hyperlink in the long text of an order

    Is there a way to insert a clickable hyperlink in the long text of an order header instead of using the attachment option?
    Thank
    JAM
    Edited by: Jimmy Mendoza on Dec 6, 2010 8:48 PM

    hi jimmy,
    You can very well add hyper links in the long text ,the long text should be in word format,suppose you want to use www.google.com you can type this and when click on it,it will take you to the website.
    Regarding objects sap has not given this facility to add an attachment,for this you can use DMS functionality.

  • Is there a way to reference a variable name by the value of a String?

    I realize my title may not be expressing the question accurately so...
    In perl I can do this:
    $varname = "nIterations";
    ${$varname} = 27;
    which is the same thing as
    $nIterations = 27;
    Is there a way to do this in Java?
    eg I want something like
    String varname = new String( "nIterations" );
    How can I refer to a variable programmatically from the value of the varname string, or is there not a way to do this?
    Thanks!
    -Andy

    Thank you, I'm very new to java and am not sure I am seeing the big picture. I searched the forums and found this example:
    Map textFieldMap = new HashMap();
    textFieldMap.put("1", new JTextField());
    textFieldMap.put("2", new JTextField());
    JTextField textField = (JTextField)textFieldMap.get("1");
    textField.setText("some value"); // text field associated with "1"
    What I am confused with is how those textfields correspond to the 48+ textfields I have already placed on my applet canvas. I understand the example above as far as using the map to access specific textfields, but I am not sure how those textfields will match up to the ones I have ( which are named right now S11 , S12, ..., S116, ..., S31, S32, .., S316
    I am sure I am missing something.
    Thank you
    -Andy

  • Is there any way to insert a blank page in the middle of a document (rather than at the end)?

    I can do this in Word, but not Pages. I'm using Pages '09 Version 4.1. Any help would be appreciated.
    Thank-you!

    You can also click at the end of a section and insert a new section from the Sections link on the toolbar.
    Basic rule is if you are clicked in the text, then the new section will go after the current section.
    If you are not clicked in the text then the new section will be at the end of the document.
    A section obviously does not fit inside an existing section.
    Peter

  • Is there anyyyyy way to find a stolen iPod after the thief has reset it .

    Even if I diiidddd have find my iPhone and a iCloud account ?
    Maybe the SN? Or is the sn only for proof that its urs?

    The SN will only help identify the iPod as yours IF it is recovered.
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • Looking for a way to log privilege adds even when the user has that priv

    We've run into a situation where we want IDM to log privilege adds/removes, even when that privilege already exists (for add) or doesn't exist (for remove) on a person.  Let me give some background.
    We are a small team working on an IDM project, each team member with 6-30 months of experience with the IDM product.  We're using 7.1.
    We have two systems, one of which is queryable and (certain) privileges updatable via REST API -- we'll call this system REST.  The second system of course is IDM.
    When an IDM privilege is added or removed, the business requirement is to always keep IDM and REST in sync, privilege-wise.  This is no problem and we have provisioning set up to make the API call, and it works great.  However, if there is a problem with the REST API (network issue, just plain down, etc.) this sync can't happen.  So, within the provisioning framework, if there is a failure, the failure is logged and the privilege is reverted, keeping REST and IDM synced.  A job runs regularly to check this log table and re-attempt the appropriate action, which of course will trigger provisioning again, hopefully successfully.
    The problem occurs in a situation like this, where each point comes in chronological order.
    1. User X gets privilege Y granted within an IDM UI.
    2. Provisioning triggers, but for some reason the REST API call fails (twice, because of retry).
    3. The failure task for the REST API call removes privilege Y from user X.  The error is logged.
    4. After a while, some job runs which removes privilege Y from all users whose names begin with X.  Even if the job explicitly removes privilege Y from user X, this is not logged in the system in any way, doesn't trigger provisioning, etc.
    5. After another while, the "retry job" runs and attempts action #1 again.  This time, the provisioning succeeds.  Now user X has privilege Y on both IDM and REST.  However, because of step 4, clearly user X should not have privilege Y.
    The same (well, reverse) issue occurs when removing the priv in step 1 and doing a grant in step 4.  During tests, one can just set up a To Identity Center step and remove/assign a privilege to an arbitrary person, then run the job containing this step repeatedly.  If the action has no net effect, there's no record (in, for example, sentries, oentries, or indeed in mxi_(old)values).  It would be great if there was a generic way to cause these actions to be logged, and we've actually thought of a couple other cases where this logging would be useful as well.  Is there some simple way?  Is it already logged in some esoteric table we haven't thought of?
    Any thoughts on this interesting scenario would be appreciated.  Thanks!

    Hi Chris,
    If I understand correctly, since you are using the log to ensure that the privileges are synced.
    Any chance you could enhance step 4 to remove information about the failed assignment from the log, so that it will not be retried?
    Note also, that this is improved in IdM7.2 and the framework. You will only get the privilege assigned after the add-member task has successfully assigned the privilege in the back-end system (which is what you are trying to achieve).
    Best regard
    John Erik Setsaas
    Development Architect IdM

  • Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad?

    Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad? I'm trying to set up a document with quick check boxes to tick and a date to choose rather than type? I know it possible to do it on pages on a mac but i haven't been able to find anything on the ipad to create such a thing, and I don't know if it will work on the ipad if I create it on the mac

    RGA,
    Unfortunately, I do not believe that it is possible for a DAQ board to generate an AI Start Trigger from an analog trigger, but not be triggered itself until it receives a digital trigger.
    Spencer S.

  • Is there a way to insert a file (such as a PDF or Word doc) into a presentation?

    I have a few pdf "highlight sheets" that I'd like learners to be able to access and print out if they'd like, while watching the presentation.
    Is there a way to insert a file into the course? (For instance, if they click a certain button, the file would be downloaded to their computer?)
    Thanks,
    Inna

    While Michael's answer is technically correct, I never advise to use the browse button to locate the file. Doing so puts the link in peril as it typically creates an absolute path leading to the document you wish to link to. So use the button if you must, but before committing the link, ensure you remove any pathing information and leave behind only the document file name.
    Cheers... Rick

  • Is there a way to insert comments into numbers on an ipad, or an alternative?

    Is there a way to insert comments into numbers on an ipad, or an alternative?

    If you mean in the iBooks app - tap on Collections in the upper left corner. Then tap New. Name the collection. Tap Done. Then tap the Edit button in the upper right. Tap on the books that you want to move to select them. Tap Move in the upper let corner. Select the newly created collection.

  • Is there a way to insert a reminder in a long list?

    Is it really possible that there is no way to insert a new reminder in the Reminders app, only append to the end of the list?

    TThanks, but I meant creating new entries. In a long list it is only possible to add at the bottom rather than inserting...

  • Is there a way to insert a Ai graphic into msWord and the graphic text be searchable in msWord?

    Is there a way to insert a Ai graphic into msWord and the graphic text still be searchable in msWord? I would like the text in my Ai graphic to be searchable once the graphic is inserted in msWord. I have tried different Ai exports, but all come into msWord as pictures. Is there a way to keep the Text Layer in my Ai file searchable in msWord.

    Which version of Illustrator are you using?
    Which version of Word are you using?
    What OS?
    Do you have a recent version of Acrobat?

  • Is there any way to insert a sharp into excel through OLE?

    Dear Expert,
    Is there any way to insert a sharp into excel through OLE ?If have , Would you please give a sample code?
    BR Edward

    Hi,
    Check this link..[OLE2, Excel, WinWord |http://translate.google.com/translate?hl=en&sl=ru&u=http://www.sapnet.ru/] you can find the code snippets.

  • Is there a way of inserting symbols into JTextPane?

    Hi there folks. Is there a way of inserting symbols like greek letters in a standard way into JTextPane?

    use getDocument(). insertString(offs,str, attributes);
    str should contain proper unicode chars and attributes must contain proper font family to show the chars.
    use StyleConstants.setFontFamily()
    regards,
    Stas

  • Is there a way to insert/update .js files in an .oam after publishing?

    I'm working on a rather complex Animate project that utilizes Edge Commons and jQuery UI. I'm using Edge Animate CC 2014 because 2014.1 broke some of that functionality and I was already too far into the project to update the code.
    When I'm testing the project via "Preview in Browser" everything works great. But when I publish as either a .oam file or as web, the project is just broken. The interactive elements that depended upon Edge Commons are gone.
    I've narrowed the issue down to the three files "index_edge.js", "index_edgeActions.js", and "index_edgePreload.js". If I copy the working files from the Animate project directory and replace the published versions, the web export works. I'm assuming Edge Animate is compressing the code in these files and that is breaking something. However, I need a .oam file so that it can be utilized by the next person in the chain. Is there a way to replace those three files with the 'working' versions within the .oam file?

    Hi ,
    Open your edgeProject/index_edgeActions.js.Replace the following with single line comment. Open in edge animate 2014 and publish again. Published content will work
             /*================================================================================
             change Q number to match breakers || Q should = breakers +1 to account for 0 value if no BK0 exists
                     |    |
                     |    |
                     |    |                   DOUBLE CHECK BECAUSE OF BK0
                     |    |
                     |    |
                     |    |
                   __|    |__
             ================================================================================*/
    Like this.
             //================================================================================
             //change Q number to match breakers || Q should = breakers +1 to account for 0 value if no BK0 exists
             //        |    |
             //        |    |
             //        |    |                   DOUBLE CHECK BECAUSE OF BK0
             //        |    |
             //        |    |
             //        |    |
             //      __|    |__
             //================================================================================

  • Is there a way to insert comments directly into an Illustrator document so that every time you expor

    I use Illustrator a lot to create website designs, and pepper the PDFs with comments on how everything should work. Is there a way to have those comments embedded into the AI so that I don't have to enter in the comments every time I export a PDF?

    Template are the pre-designed document in which you do the modification as per the need.
    this will give you better idea..
    http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-6330a .html
    So , you can create a template with the comment on it.
    when creating the new file , base it upon the template so that you have the comment already present in the Ai.

Maybe you are looking for

  • I can send photos TO my MacBook Pro from my iPhone 5S using AirDrop but not vice versa.

    I am using OS X Yosemite 10.10 on my MacBook Pro, which has AirDrop enabled and is available in Finder and I am using iOS 8.1 on my iPhone 5S.  I can send photos to my MacBook Pro using AirDrop from my iPhone but I cannot send photos to my iPhone fro

  • Graph axes assignment: performance difference between ATTR_ACTIVE_XAXIS and ATTR_PLOT_XAXIS

    Hi, I am using a xy graph with both x axes and both y axes. There are two possibilities when adding a new plot: 1) PlotXY and SetPlotAttribute ( , , , ATTR_PLOT_XAXIS, ); 2) SetCtrlAttribute ( , , ATTR_ACTIVE_XAXIS, ) and PlotXY I tend to prefer the

  • Audio input too small for 1/4 mono adapter??? Help!!!

    Hi, I would like to record myself with garage band by plugging my bass in a 1/4 mono jack adapter in my macbook pro audio port. The problem is that when I plug the adapter, it goes to 2 / 3 of its size and blocks. I don't want to try to push the adap

  • Dragging a Window

    Hello, I am trying to create a window which can be dragged along the screen using the mouse. The source is as follows: import java.awt.*; import java.awt.event.*; import java.awt.image.*; public class WindowTest extends Window implements MouseMotionL

  • Select region in image / panel

    Hi, I am displaying an image currently on a JPanel using the Graphics and BufferedImage class. Does anyone know of any method that i can use to select a region of the image. Also if the image has been scaled to fit the GUI, how will i know that the r