• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Order by primary key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order by primary key


  • Subject: Re: Order by primary key
  • From: Ken Anderson <email@hidden>
  • Date: Thu, 12 Apr 2012 08:26:21 -0700

Unfortunately I'm working with an existing database from a previous WO development team. PK is the only "time-related" sortable item on existing items. I guess I could just add an "order" property that is just an incremented integer, but I was hoping to be able to use PK because that is essentially what it is in the way the DB was designed. I really need to sort from most recent to oldest and loop through them. And even then, there are only about 8,000 entries and I need the most recent 1,000. It doesn't have to be completely accurate, just a rough 1,000.

Ken Anderson
email@hidden


Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Order by primary key (From: Ken Anderson <email@hidden>)
 >Re: Order by primary key (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Website Hijacked
  • Next by Date: Re: Order by primary key
  • Previous by thread: Re: Order by primary key
  • Next by thread: Re: Order by primary key
  • Index(es):
    • Date
    • Thread