Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT TOP not allowed on database
Message
 
À
05/04/2001 16:53:10
Ken Yates
Virgo Publishing, Inc.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00492526
Message ID:
00492555
Vues:
13
Hi Ken,

1. I assume tha you're talking about an SQL Server database

2. I bet you upgraded this database from 6.5.

If these two assumptions are true, then you need to set the database compatability level to 70.

Use the system stored procedure

sp_dbcmptlevel [ [ @dbname = ] name ] [ , [ @new_cmptlevel = ] version ]

Cheers,

Andrew

>For some reason a database of mine will not allow "Select Top". Does anyone know why this is?
>Even in the Enterprize manager (SQL 7) when you right click on any table in the database and try
>to choose "Open Table"/ "Return Top..." is greyed out. Any help?


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform