Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Repair Tables in Oracle doesn't work!

Quote Reply
Repair Tables in Oracle doesn't work!
Hello, All.

I've got a trouble. My LinksSQL 2.0.4 is on Oracle8.1.7, and it doesn't repair my tables. I even know why: Oracle doesn't know such SQL words like LEFT OUTER JOIN, and function build_orphan_check use it!

Look at the error i've got:

GT::SQL::error = Failed to prepare query: '
SELECT wdLinks.Title, wdLinks.ID
FROM wdLinks LEFT OUTER JOIN wdCatLinks ON wdCatLinks.LinkID = wdLinks.ID
WHERE (wdCatLinks.LinkID IS NULL)

Instead of it, we should use, for example, the following SQL-operator in Oracle:

select title, id
from wdlinks
where not exists (select id from wdcatlinks where wdlinks.id = wdcatlinks.id)

but we cannot execute this operator with GT::SQL::Table...

Can you help us?

With respect,
Anton Permyakov


Subject Author Views Date
Thread Repair Tables in Oracle doesn't work! Anton_P 2041 Jul 2, 2001, 11:29 PM
Thread Re: Repair Tables in Oracle doesn't work!
Alex 1948 Jul 3, 2001, 4:51 PM
Thread Yes it works.
Anton_P 1936 Jul 3, 2001, 11:55 PM
Thread Re: Yes it works.
Alex 1928 Jul 4, 2001, 10:06 AM
Thread Thank you!
Anton_P 1919 Jul 4, 2001, 8:18 PM
Post Re: Thank you!
Alex 1906 Jul 5, 2001, 12:20 PM