Subject | Re: [firebird-support] Re: MS SQL to FireBird |
---|---|
Author | Alexandre Benson Smith |
Post date | 2005-11-23T23:10:49Z |
polash26 wrote:
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
>--- In firebird-support@yahoogroups.com, "Miroslav Penchev"A kind of answer that will not help us to help you out
><miroslavp@m...> wrote:
>
>
>>On Sun, 20 Nov 2005 12:13:27 +0200, polash26 <polash26@y...> wrote:
>>
>>
>>
>>>What is the equivalent query in FireBird for the following MS
>>>
>>>
>SQL query
>
>
>>>DELETE FROM T1
>>>FROM T2 b
>>>WHERE
>>>( SELECT COUNT(*) FROM T1 a WHERE a.ID = b.ID ) > b.Recent
>>>
>>>Thanks for any reply.
>>>
>>>
>>>
>>>
>>What should do that DELETE?
>>
>>
>
>Delete will delete data from T1, according to the where condition
>(WHERE( SELECT COUNT(*) FROM T1 a WHERE a.ID = b.ID ) > b.Recent ).
>
>
>
>
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br