MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Insert a Quote

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
NASCAR9
Intermediate


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Thu Oct 01, 2009 11:09 am    Post subject: Insert a Quote Reply with quote

I can't believe I don't know how to do this Embarassed

I'm tiring to insert this value
Code:

Paid according to your PPO contract with America's PPO


in a VARCHAR column and I keep getting errors.
I've tried
Code:

         'Paid according to your PPO contract with America's PPO'
   and "Paid according to your PPO contract with America's PPO"

Neither work. Can someone help?
_________________
Thanks,
NASCAR9
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Thu Oct 01, 2009 11:41 am    Post subject: Reply with quote

nasacar9,

Try this untested sql
Code:

'Paid according to your PPO contract with America''s PPO'
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NASCAR9
Intermediate


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Thu Oct 01, 2009 12:02 pm    Post subject: Reply with quote

kolusu,
Thanks for the response.

I tried the code and it inserted the double quotes "
_________________
Thanks,
NASCAR9
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Thu Oct 01, 2009 12:20 pm    Post subject: Reply with quote

NASCAR9 wrote:
kolusu,
Thanks for the response.

I tried the code and it inserted the double quotes "


Nascar9,

Did you code 2 single quotes after the America?
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NASCAR9
Intermediate


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Thu Oct 01, 2009 12:44 pm    Post subject: Reply with quote

kolusu, No! My mistake Embarassed I tested again with two single quotes and it WORKS!

THANK YOU!!
_________________
Thanks,
NASCAR9
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group