dbTalk Databases Forums  

possible unload/load problem with 64 bit sqla10 on vista

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss possible unload/load problem with 64 bit sqla10 on vista in the sybase.public.sqlanywhere.general forum.



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

Default possible unload/load problem with 64 bit sqla10 on vista - 10-23-2009 , 10:56 PM






When converting (using the SC interface) a sqla9 db to sqla 10, using my 64
bit installation on vista, the load process is generating a "Syntax Error
Near 'Quotes' on Line 3... Please see the sql cited below.

Why is the unload process creating sql that cannot be executed by the load
process?
Thanks,
Doug
p.s. On an xp box, with 32 bit sqla 10, i was able to unload and load
without a problem.


LOAD TABLE "DBA"."groups"
("group_id","short_descr","descr","fiscal_yr_start _dt","first_sched_dt","nbr_wks_in_sched_cycle","fi rst_pay_period_dt","nbr_wks_in_pay_period","std_hr s_ft_emp_per_wk","uploaded_staff_reqd","float_grou p","parent_id","first_shift_of_day","notes","delet ed","display_order","ta_replace_time","nbr_wks_mas ter","extra_fld1","extra_fld2","extra_fld3","extra _fld4","selfsched_nbr_days1","selfsched_nbr_days2" )
FROM 'C:/des/data/resq/clients/prm/unload/217.dat'
FORMAT 'TEXT' QUOTES ON
ORDER OFF ESCAPES ON
CHECK CONSTRAINTS OFF COMPUTES OFF
STRIP OFF DELIMITED BY ','
ENCODING 'cp1252'

Reply With Quote
  #2  
Old   
Breck Carter [TeamSybase]
 
Posts: n/a

Default Re: possible unload/load problem with 64 bit sqla10 on vista - 10-24-2009 , 09:27 AM






Version 10 and earlier dbunload uses FORMAT 'ASCII' QUOTES ON

Version 11 dbunload uses FORMAT 'TEXT' QUOTES ON

So, it is possible you (accidentally?) executed version 11 dbunload,
perhaps by relying on the PATH.

Personally I like using command files with full filespecs...

"%SQLANY10%\win32\dbunload.exe" ...

Breck



On 23 Oct 2009 20:56:03 -0700, "Doug Stone" <doug.stone (AT) res-q (DOT) com>
wrote:

Quote:
When converting (using the SC interface) a sqla9 db to sqla 10, using my 64
bit installation on vista, the load process is generating a "Syntax Error
Near 'Quotes' on Line 3... Please see the sql cited below.

Why is the unload process creating sql that cannot be executed by the load
process?
Thanks,
Doug
p.s. On an xp box, with 32 bit sqla 10, i was able to unload and load
without a problem.


LOAD TABLE "DBA"."groups"
("group_id","short_descr","descr","fiscal_yr_start _dt","first_sched_dt","nbr_wks_in_sched_cycle","fi rst_pay_period_dt","nbr_wks_in_pay_period","std_hr s_ft_emp_per_wk","uploaded_staff_reqd","float_grou p","parent_id","first_shift_of_day","notes","delet ed","display_order","ta_replace_time","nbr_wks_mas ter","extra_fld1","extra_fld2","extra_fld3","extra _fld4","selfsched_nbr_days1","selfsched_nbr_days2" )
FROM 'C:/des/data/resq/clients/prm/unload/217.dat'
FORMAT 'TEXT' QUOTES ON
ORDER OFF ESCAPES ON
CHECK CONSTRAINTS OFF COMPUTES OFF
STRIP OFF DELIMITED BY ','
ENCODING 'cp1252'
--
Breck Carter http://sqlanywhere.blogspot.com/

RisingRoad SQL Anywhere and MobiLink Professional Services
breck.carter (AT) risingroad (DOT) com

Reply With Quote
  #3  
Old   
Doug Stone
 
Posts: n/a

Default Re: possible unload/load problem with 64 bit sqla10 on vista - 10-27-2009 , 03:43 PM



Quote:
So, it is possible you (accidentally?) executed version 11 dbunload,
perhaps by relying on the PATH.
Yes, that is possible. Thanks!

"Breck Carter [TeamSybase]" <NOSPAM__breck.carter (AT) gmail (DOT) com> wrote in
message news336e5t7j2p13hrkkbqa24310ccso67t4r (AT) 4ax (DOT) com...
Quote:
Version 10 and earlier dbunload uses FORMAT 'ASCII' QUOTES ON

Version 11 dbunload uses FORMAT 'TEXT' QUOTES ON

So, it is possible you (accidentally?) executed version 11 dbunload,
perhaps by relying on the PATH.

Personally I like using command files with full filespecs...

"%SQLANY10%\win32\dbunload.exe" ...

Breck



On 23 Oct 2009 20:56:03 -0700, "Doug Stone" <doug.stone (AT) res-q (DOT) com
wrote:

When converting (using the SC interface) a sqla9 db to sqla 10, using my
64
bit installation on vista, the load process is generating a "Syntax Error
Near 'Quotes' on Line 3... Please see the sql cited below.

Why is the unload process creating sql that cannot be executed by the load
process?
Thanks,
Doug
p.s. On an xp box, with 32 bit sqla 10, i was able to unload and load
without a problem.


LOAD TABLE "DBA"."groups"
("group_id","short_descr","descr","fiscal_yr_start _dt","first_sched_dt","nbr_wks_in_sched_cycle","fi rst_pay_period_dt","nbr_wks_in_pay_period","std_hr s_ft_emp_per_wk","uploaded_staff_reqd","float_grou p","parent_id","first_shift_of_day","notes","delet ed","display_order","ta_replace_time","nbr_wks_mas ter","extra_fld1","extra_fld2","extra_fld3","extra _fld4","selfsched_nbr_days1","selfsched_nbr_days2" )
FROM 'C:/des/data/resq/clients/prm/unload/217.dat'
FORMAT 'TEXT' QUOTES ON
ORDER OFF ESCAPES ON
CHECK CONSTRAINTS OFF COMPUTES OFF
STRIP OFF DELIMITED BY ','
ENCODING 'cp1252'

--
Breck Carter http://sqlanywhere.blogspot.com/

RisingRoad SQL Anywhere and MobiLink Professional Services
breck.carter (AT) risingroad (DOT) com

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 - 2012, Jelsoft Enterprises Ltd.