Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro remote view for Sql server 7
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00328241
Message ID:
00328244
Views:
18
>I am trying to pull only the record with the highest ticket number from my SQL server back end using a foxpro remote view. The ticket number is an integer field and generated automatically by the Sql server using identity, incrementing by one each time. Does anyone have an idea?

Try something like:

select * from mytable where ticket_number in (select max(ticket_number) from mytable)
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform