dbTalk Databases Forums  

DELETE FROM tablename doesn't work in SA V11 in interactive SQL ???

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


Discuss DELETE FROM tablename doesn't work in SA V11 in interactive SQL ??? in the sybase.public.sqlanywhere.general forum.



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

Default DELETE FROM tablename doesn't work in SA V11 in interactive SQL ??? - 10-16-2009 , 09:25 PM






Regularly when developing and testing with V9 from within Interactive SQL in
Sybase I would do a DELETE FROM tablename
to clear all the entries in a table.

In Sybase Central V11

DELETE FROM tablename

generates the following error

could not execute statement
Run Time SQL Error *** Error *** Assertion Failed 106104
(11.0.1.2044)
Field Unexpected during compilation
SQLCODE=300 ODBC 3 State="HY000"
Line 1 Column 1

However - The following does work

DELETE FROM tabalename WHERE keyvalue = 'somevalue'

Anybody know what is wrong??

IAdditional nformation is that there is a cascade delete RI from the table
in question to subordinates.

Reply With Quote
  #2  
Old   
Glenn Paulley [Sybase iAnywhere]
 
Posts: n/a

Default Re: DELETE FROM tablename doesn't work in SA V11 in interactive SQL??? - 10-17-2009 , 08:24 AM






"Field unexpected during compilation" is an internal error that should
not occur.

I note you're using the GA build of version 11 - to solve the problem
download and apply the latest EBF to your 11.0.1 installation and retry.

Glenn

Glenn Barber wrote:
Quote:
Regularly when developing and testing with V9 from within Interactive SQL in
Sybase I would do a DELETE FROM tablename
to clear all the entries in a table.

In Sybase Central V11

DELETE FROM tablename

generates the following error

could not execute statement
Run Time SQL Error *** Error *** Assertion Failed 106104
(11.0.1.2044)
Field Unexpected during compilation
SQLCODE=300 ODBC 3 State="HY000"
Line 1 Column 1

However - The following does work

DELETE FROM tabalename WHERE keyvalue = 'somevalue'

Anybody know what is wrong??

IAdditional nformation is that there is a cascade delete RI from the table
in question to subordinates.


--
Glenn Paulley
Director, Engineering (Query Processing)
Sybase iAnywhere

Blog: http://iablog.sybase.com/paulley

EBF's and Patches: http://downloads.sybase.com
choose SQL Anywhere Studio >> change 'time frame' to all

To Submit Bug Reports: http://case-express.sybase.com

SQL Anywhere Studio Supported Platforms and Support Status
http://my.sybase.com/detail?id=1002288

Whitepapers, TechDocs, and bug fixes are all available through the
Sybase iAnywhere pages at
http://www.sybase.com/products/datab...chnicalsupport

Reply With Quote
  #3  
Old   
Glenn Barber
 
Posts: n/a

Default Re: DELETE FROM tablename doesn't work in SA V11 in interactive SQL ??? - 10-22-2009 , 02:48 PM



Thanks

The Oct 6 Build does seem to solve this problem....so far

Glenn

"Glenn Paulley [Sybase iAnywhere]" <paulley (AT) ianywhere (DOT) com> wrote

Quote:
"Field unexpected during compilation" is an internal error that should not
occur.

I note you're using the GA build of version 11 - to solve the problem
download and apply the latest EBF to your 11.0.1 installation and retry.

Glenn

Glenn Barber wrote:
Regularly when developing and testing with V9 from within Interactive SQL
in Sybase I would do a DELETE FROM tablename
to clear all the entries in a table.

In Sybase Central V11

DELETE FROM tablename

generates the following error

could not execute statement
Run Time SQL Error *** Error *** Assertion Failed 106104
(11.0.1.2044)
Field Unexpected during compilation
SQLCODE=300 ODBC 3 State="HY000"
Line 1 Column 1

However - The following does work

DELETE FROM tabalename WHERE keyvalue = 'somevalue'

Anybody know what is wrong??

IAdditional nformation is that there is a cascade delete RI from the
table in question to subordinates.

--
Glenn Paulley
Director, Engineering (Query Processing)
Sybase iAnywhere

Blog: http://iablog.sybase.com/paulley

EBF's and Patches: http://downloads.sybase.com
choose SQL Anywhere Studio >> change 'time frame' to all

To Submit Bug Reports: http://case-express.sybase.com

SQL Anywhere Studio Supported Platforms and Support Status
http://my.sybase.com/detail?id=1002288

Whitepapers, TechDocs, and bug fixes are all available through the
Sybase iAnywhere pages at
http://www.sybase.com/products/datab...chnicalsupport

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.