User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 391,563 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,728 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser:
Views: 1095 | Replies: 5
Reply
Join Date: Nov 2007
Posts: 5
Reputation: svijayakumaris is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
svijayakumaris svijayakumaris is offline Offline
Newbie Poster

Help help me for this query

  #1  
Nov 1st, 2007
Hi,
I want to store the text data with apostrophe in the table.
I tried through this query like this
insert into temp values(101,'vijaya\'s');

but it is giving error - missing comma

Could anybody help this sql query for the following requirement?

NAME
vijaya's
rajani's
Last edited by svijayakumaris : Nov 1st, 2007 at 6:14 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,213
Reputation: debasisdas is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 78
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Nearly a Posting Virtuoso

Re: help me for this query

  #2  
Nov 2nd, 2007
try this sample query

  1. insert into temp values(101,'vijaya''s');
hope that solves your problem.
Share your Knowledge.
Reply With Quote  
Join Date: Nov 2007
Posts: 5
Reputation: svijayakumaris is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
svijayakumaris svijayakumaris is offline Offline
Newbie Poster

Re: help me for this query

  #3  
Nov 3rd, 2007
Thank you. It's working.
Reply With Quote  
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,213
Reputation: debasisdas is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 78
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Nearly a Posting Virtuoso

Re: help me for this query

  #4  
Nov 4th, 2007
You are most welcome.
I am glad to know i could help you.
Share your Knowledge.
Reply With Quote  
Join Date: Nov 2007
Posts: 5
Reputation: svijayakumaris is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
svijayakumaris svijayakumaris is offline Offline
Newbie Poster

Re: help me for this query

  #5  
Nov 5th, 2007
Originally Posted by debasisdas View Post
You are most welcome.
I am glad to know i could help you.



Thankyou! its working.
Reply With Quote  
Join Date: Nov 2007
Posts: 5
Reputation: svijayakumaris is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
svijayakumaris svijayakumaris is offline Offline
Newbie Poster

Re: help me for this query

  #6  
Nov 5th, 2007
Originally Posted by debasisdas View Post
You are most welcome.
I am glad to know i could help you.



Thankyou! its working.

-vijaya
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Oracle Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 10:01 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC