dbTalk Databases Forums  

Unload with dbspace definition / charset

sybase.public.sqlanywhere.linux sybase.public.sqlanywhere.linux


Discuss Unload with dbspace definition / charset in the sybase.public.sqlanywhere.linux forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alex
 
Posts: n/a

Default Unload with dbspace definition / charset - 07-17-2008 , 02:26 AM






Hi

asa 9.02

which way can i unload structure with dbspace definition for
tables?
dbunload produced reload script for one dbspace.

are any changes in encoding between 9.02 and 10.x?
have a working asa 9.02 with utf8 charset.
unload/reload for same version works ok. if i try to load
data
in asa 10.0.1, created with the same parameters as 9.02,
data are loaded with strange encoding but newly created
records are in right encoding.

dbunload -c "uid=;pwd=;charset=utf8"

btw, documentation says

For example, if the database character set is UTF-8, you
should include "charset=utf-8" in the connection strings:

dbunload -c UID=user-ID;PWD=password;
CHARSET=utf-8;DBF=filename -ac UID=user-ID;
PWD=password;CHARSET=utf-8;ENG=server-name -xx

but

dbunload -c "uid=;pwd=;charset=utf-8"
Adaptive Server Anywhere Unload Utility Version 9.0.2.3476
***** SQL error: Database server cannot convert data from/to
character set 'utf-8'

however utf8 works. thus, what is right definiton for utf8?

Reply With Quote
  #2  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM






Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #3  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #4  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #5  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #6  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #7  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #8  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #9  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #10  
Old   
David Fishburn
 
Posts: n/a

Default Re: Unload with dbspace definition / charset - 07-29-2008 , 07:27 AM



Alex wrote in news:487ef42b.5bc.1681692777 (AT) sybase (DOT) com
of sybase.public.sqlanywhere.linux:

Alex, try posting this in the general newsgroup since it is not Linux
specific. You may get more suggestions.

From your write up, I am not clear on what exactly you are looking
for.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.