dear all
from my blog at this link:
http://rawpatentdata.blogspot.it/2013/1 ... pload.html
is possible to download scripts for mysql that allow to upload last version of patstat
mysql upload scripts october 2013
-
- Posts: 63
- Joined: Mon Nov 09, 2009 8:48 pm
- Location: Italy
- Contact:
-
- Posts: 140
- Joined: Wed Jul 08, 2009 5:51 pm
- Contact:
Re: mysql upload scripts october 2013
You have to add ESCAPED BY '' because the EPO doesn't escape the backslash.
That is the reason behind the 25 delta imp for TLS202_APPLN_TITLE. Some lines end with \", MySQL quietly assumes that the backslash is escaping the double quotes and therefore the quote is ignored as an escaping character and the following line is included in the same record.
I think the PATSTAT documentation mentioned somewhere that all double quotes within texts are replaced by spaces. I think it would have been better to escape them... or to use a tab as a delimiter because then you wouldn't need double quotes as enclosing characters in the first place.
Anyway, if you add ESCAPED BY '' it will work... though I have a feeling the backslash is some sort of typo (it's right next to the Enter button).
That is the reason behind the 25 delta imp for TLS202_APPLN_TITLE. Some lines end with \", MySQL quietly assumes that the backslash is escaping the double quotes and therefore the quote is ignored as an escaping character and the following line is included in the same record.
I think the PATSTAT documentation mentioned somewhere that all double quotes within texts are replaced by spaces. I think it would have been better to escape them... or to use a tab as a delimiter because then you wouldn't need double quotes as enclosing characters in the first place.
Anyway, if you add ESCAPED BY '' it will work... though I have a feeling the backslash is some sort of typo (it's right next to the Enter button).
________________________________________
Nico Doranov
Data Manager
Daigu Academic Services & Data Stewardship
http://www.daigu.nl/
Nico Doranov
Data Manager
Daigu Academic Services & Data Stewardship
http://www.daigu.nl/
-
- Posts: 63
- Joined: Mon Nov 09, 2009 8:48 pm
- Location: Italy
- Contact: