Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Available Indices in remote tables
Message
 
 
À
15/08/2002 10:55:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00689924
Message ID:
00690013
Vues:
27
>Thanks Larry,
>
>>If you know the back-end you are working with, you can branch two routes to get this information.
>
>It worked fine for SQL Server, but I'm getting an empty cursor for Oracle, maybe because I don't have access (grant) to the user_indexes table?
>

Fernando,
If you didn't have access to the view (it's a view not a table), you would get a SQL error saying object didn't exist. It's possible there are no indexes for the given table or the WHERE clause doesn't have the correct criteria. Try using LIKE instead of = and see if there results are different.

select * from user_indexes where upper(table_name) like 'MYTABLE%'

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform