MySQL Forums
Forum List  »  Newbie

MySQL and Apostrophes
Posted by: Hugh Mansfield
Date: April 18, 2005 02:42PM

I am doing an INSERT INTO statement to bring in data.


So whats the deal ..... i have tried all three below and still no joy, it doesn't like apostrophes no matter what i do.


1. (00000006,Colin,O\’Brien,Cork,Irish,000005),

2. (00000006,"Colin","O\’Brien","Cork","Irish",000005),

3. (00000006,'Colin','O\’Brien','Cork','Irish',000005),


The data types are


MemberNo integer not null,
FIrstName Varchar(32) not null default '',
Surname Varchar(32) not null default '',
PlaceOfBirth Varchar(32) null default '',
Nationality Varchar(32) null default '',
ClubNo integer null default '',


All the text values are varchar if that makes a difference !!

Any ideas ??

Options: ReplyQuote


Subject
Written By
Posted
MySQL and Apostrophes
April 18, 2005 02:42PM
April 18, 2005 03:24PM
April 19, 2005 01:10PM
April 19, 2005 01:37PM
April 30, 2005 03:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.