Subject | Re: [firebird-support] FB Server Loop.. is it normal? |
---|---|
Author | Martijn Tonies |
Post date | 2005-06-07T15:58:57Z |
Hi,
delete from t1 where <something> in (select first 10 from t1)
for example. Above will delete all records.
With regards,
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
> Can anybody tell me why this code makes to stall?This is a known bug -- the same applies for:
> Suppose you have a table like this
> CREATE TABLE T1(
> Field VARCHAR(50)
> );
>
> INSERT INTO T1 VALUES('FF');
>
> Here everything goes well, but when I try to execute
> the following query, voila, the FB server stalls.
>
> INSERT INTO T1
> SELECT Field FROM T1
>
> Is this a bug or it cannot be done.
delete from t1 where <something> in (select first 10 from t1)
for example. Above will delete all records.
With regards,
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com