Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TOP keyword no longer works 1

Status
Not open for further replies.

ElectricEel

Programmer
Aug 1, 2001
13
US
The TOP keyword no longer works on one specific database. It gives me an "Incorrect Syntax" error whenever I use it. It works on every table but one.

Also, in EM, the "Return Top.." menu item is not enabled.


Help PLEASE!

TIA.
 
I would check your database properties, options tab to make sure that the database compatibility level is at least 70.
 
Thanks for pointing me in the right direction. EM's properties said it was 7.0 compatible, however it's not like Microsost has never been wrong before...

I EXEC'd sp_dbcmptlevel 'TableName', 70 and viola! TOP works.

Aloha

Neil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top