How often have inverted commas in an inserted text to be doubled?
Hello,
if I want to insert a text into a string field and the text contains inverted commas, how often have these inverted commas to be doubled, to avoid inserting errors and to keep the original inverted commas after insertion?
Example "this is a text to be inserted and it contains *'text in inverted commas'* and normal text" How has it to look to keep the single inverted commas in the the text after inserting it?
Regards
Carsten
Use (a) the quote operator or (b) escape quotes.
For the first case, assuming you're on 10g or higher, your example would be:
Insert into tab1 values( q'{this is a text to be inserted and it contains 'text in inverted commas'}'); For the second case, simply add a single quote to escape another. Your example would be:
Insert into tab1 values( 'this is a text to be inserted and it contains ''text in inverted commas'''); (Notice the trailing quote is the end-quote for the entire text.)
Edited by: Sharma on Mar 21, 2011 4:26 PM
Similar Messages
-
I often have to open files .cue with Text Edit. Right Click, Open with, Others, Text Edit. Is it possible to put Text Edit in the menu avoiding to use "others"?
The easiest way is to keep Textedit in the Dock and drag the .cue file(s) to the Dock icon.
You can also create an Automator Service:
Open Automator
Select: Service
Select Service receives selected [files or folders] in [Finder]
and:
Then select one or more .cue file, right click (or Control-click) on the selection to display the contextual menu. Scroll to the bottom of the contextual menu and select Services -> (what you named the Service). -
Ballpark: What is expected "normal" range for how often have to charge 4s?
My new iPhone 4s is needing to be charged more than once a day with moderate usage... is this "normal"? I know it is not an exact science and depends on many factors such as what the phone is doing and various settings, etc., but in general / ballpark: What is the expected "normal" range for how often one would expect to have to charge the 4s? Thanks in advance for any help/insight...
Hi there thamwiggin,
You may find the information in the article below helpful.
iPhone 4S - Technical Specifications
http://support.apple.com/kb/SP643
Power and Battery
Built-in rechargeable lithium-ion battery
Charging via USB to computer system or power adapter
Talk time: Up to 8 hours on 3G, up to 14 hours on 2G (GSM)
Standby time: Up to 200 hours
Internet use: Up to 6 hours on 3G, up to 9 hours on Wi-Fi
Video playback: Up to 10 hours
Audio playback: Up to 40 hours
All battery claims depend on network configuration and many other factors; actual results will vary. Battery has limited recharge cycles and may eventually need to be replaced by Apple service provider. Battery life and charge cycles vary by use and settings. See www.apple.com/batteries and www.apple.com/iphone/battery for more information.
-Griff W. -
Avoid Commit after every Insert that requires a SELECT
Hi everybody,
Here is the problem:
I have a table of generator alarms which is populated daily. On daily basis there are approximately 50,000 rows to be inserted in it.
Currently i have one month's data in it ... Approximately 900,000 rows.
here goes the main problem.
before each insert command, whole table is checked if the record does not exist already. Two columns "SiteName" and "OccuranceDate" are checked... this means, these two columns are making a unique record when checked together with an AND operation in WHERE clause.
we have also implemented partition on this table. and it is basically partitioned on the basis of OccuranceDate and each partition has 5 days' data.
say
01-Jun to 06 Jun
07-Jun to 11 Jun
12-Jun to 16 Jun
and so on
26-Jun to 30 Jun
NOW:
we have a commit command within the insertion loop, and the each row is committed once inserted, making approximately 50,000 commits daily.
Question:
Can we commit data after say each 500 inserted rows, but my real question is can we Query the records using SELECT which are Just Inserted but not yet committed ?
a friend told me that, you can query the records which are inserted in the same connection session but not yet committed.
Can any one help ?
Sorry for the long question but it was to make u understand the real issue. :(
Khalid Mehmood Awan
khalidmehmoodawan @ gmail.com
Edited by: user5394434 on Jun 30, 2009 11:28 PMDon't worry about it - I just said that because the experts over there will help you much better. If you post your code details there they will give suggestions on optimizing it.
Doing a SELECT between every INSERT doesn't seem very natural to me, but it all depends on the details of your code.
Also, not committing on time may cause loss of the uncommitted changes. Depending on how critical the data is and the dependency of the changes, you have to commit after every INSERT, in between, or at the end.
Regards,
K. -
Why my bookmarks don't have their sitelogo anymore and the text is larger?
My computer crashed and I had to reinstall windows XP. After i had isntalled it and reinstalled Mozilla also my web browser window is different. The bookmarks don't have their sitelogos anymore and the text is allmost double in size. How can fix this or am i missing some programs?
Did you restore any Firefox files (program / profile) from before that reinstall?
Did you make changes to the DPI settings in Windows (Control Panel > Display) ? -
Inserting inverted comma in constant
Hi
I have to include an inverted comma in text literal.
How to do this.
The text is 'MSD Int' l Services B.V.'
Note the comma after "int" in above text
if i declare like this
constants:c_1048_text TYPE char40 VALUE 'MSD Int' l Services B.V.'.
this is giving error.Hi Ajay,
You can write (so 2 inverted commas):
constants:c_1048_text TYPE char40 VALUE 'MSD Int'' l Services B.V.'.
Regards,
John. -
Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?
Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?
-
I have imported an mp3 to my Library. I want to keep it as media kind = podcast but no matter how often I change the tag in get info > options > media kind, the change will not persist, and the file remains in my Music list not my Podcast list.
Resolved in update.
-
How often should the 6509's and 3750's switches be rebooted?
Does Cisco have a best practice document on this and recommendation how long the switch should be up before it gets rebooted?
Why is a reboot needed if there are no indications of issues on the log?I'd agree with Larry here.
If you're not seeing any issues with your IOS revision and there are no relevant PSIRTs (security notices applicalble to features and or exposure of your device requiring an IOS upgrade) then you can go a very long time without rebooting, if ever.
I'm sure it's far from a record, but our corporate distribution router that supports >1000 downstream devices day in and day out has never been rebooted since installation just over 5 years ago. I have a top of rack Layer 2 switch (2900 series running CatOS) that's almost at 10 years.
That said, you should have some monitoring scheme that assures you everything is healthy. But as long as memory and cpu are happy, the device will run forever. -
Does anyone know how often camera raw is updated for new cameras I have a nikon D750
HI, I was wondering how often camera raw is updated for new cameras as I have just got a Nikon D750 and at present cannot adjust raw files
Thanks for the image sample, bsailus. I am also unable to open the file.
A couple of questions.
How did you import the image (Nikon transfer, Adobe Photo Downloader, etc.)?
What was the in-camera quality setting for the image (NEF (RAW), Lossless compressed, 12-bit, 14-bit, etc.)?
Thanks!
- Chris -
i have been getting this message " no sim installed " too many times then my phone goes off , its iphone 4S , its really a problem i cant get calls or anything and im not sure how to take the SIM out then insert it again , what to do ??
Use the sim tool that came with your phone or a safety pin and just insert it into the hole at the side of the sim tray and push it in and then pull it out. It is no more difficult than that and then just close it again.
-
How to print the output string in inverted commas
hi all,
my question is
like i have a string
"welcome to java"
using println statement
i need to print the above statement in inverted commas
like the output should appear as
"welcome to java"This sounds like part of some homework but what the
heck ...
System.out.println("\\"welcome to java\\"");I was trying to anticipate bugs in this stupid forum sofftware, this should be
System.out.println("\"welcome to java\""); -
How often we have to pay the upgrading fee $20?
How often we have to pay the upgrading fee $20?
If you mean the iCloud storage upgrade fee, annually.
-
How often syncs Firefox sync with the server were my bookmarks are storaged? Can I turn of the historical sync because one computer is at home and the other is at work. So I use totally different webpages and would like to have the history disabled.
OK, I found the part about history. It is just to unmark that.
But still i wonder how often it sync? Instantly? Or when closing FF? -
Problem with inverted commas in texts in WAD
Hi all,
I've a problem with description texts in WAD. In a graph where one of the columns have the description, let's say something like ' bla"bla ' (in Hebrew we've texts with inverted commas in the middle of the word) and when I point with my mouse on the point to see the value in numbers the text is cut. let's say 'bla"bla' had 15 value it wouldn't show it, but it would show 'bla'. if the text is ' bla ' with value 18, it shows ' bla 18' .
How can i solve it?
thank you,
Yoav.Hi Abraham,
thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
- search for the infocube
- doubleclick on the infocube
- choose an specific infoobjekt
- right mousebutton and click "specific dataprovider settings"
- check if the right entries are set
Hope this will help.
André
Maybe you are looking for
-
Obmocmenu: Music on Console (moc) pipe menu for Openbox
Sourceforge Project Page AUR Package Screenshot This is a simple menu for controlling the music player moc. I use moc version 2.5.0-alpha4 (found in the AUR) which has quite a few more features than 2.4.4 in [extra]. Still, this script should work fi
-
What do you when the computer stalls and the round color ball keeps turning and turning?
What do you do when Mac Pro freezes And the ball keeps turning and can't close it.
-
I have recently changed my Internet provider, and details for my ipad, when I tried to open apps on my ipad, they would not open, but appeared open, ie the word open is opaque, synced on my laptop, deleted them again, tried to reload them but they
-
How to replace home folder after yosemite erase-reinstall?
Hi, I did an erase-reinstall and then simply copied my backed-up home folder (administrator's home folder) back into the new home folder but this has not worked well. Can anyone tell me the correct procedure of how to restore the home folder. I have
-
Itunes wont recognize dvd. HELP!!
When I put a DVD into my drive Itunes does not recognize it. also how do I merge songs from lime wire to itunes?