Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 3 of 3 total |
Select and Odd |
Sun, Feb 10 2008 7:57 AM | Permanent Link |
Dieter Nagy | Hello.
In my database I want to find all the records where odd numbers. How can I do this with SQL. TIA Dieter Nagy |
Sun, Feb 10 2008 12:36 PM | Permanent Link |
"Robert" | "Dieter Nagy" <Dieter.Nagy@tele2.at> wrote in message news:BF51FF9D-38A1-47EA-BF94-92457A8DA905@news.elevatesoft.com... > Hello. > > In my database I want to find all the records where odd numbers. > How can I do this with SQL. > If what you want is to select records where a certain field is odd, then the following will do it select * from table where field mod 2 = 1 if what you want is every other record, it gets a bit more complicated. Robert |
Sun, Feb 10 2008 1:42 PM | Permanent Link |
Dieter Nagy | "Robert" <ngsemail2005withoutthis@yahoo.com.ar> wrote:
Thanks Robert. Dieter "Dieter Nagy" <Dieter.Nagy@tele2.at> wrote in message news:BF51FF9D-38A1-47EA-BF94-92457A8DA905@news.elevatesoft.com... > Hello. > > In my database I want to find all the records where odd numbers. > How can I do this with SQL. > If what you want is to select records where a certain field is odd, then the following will do it select * from table where field mod 2 = 1 if what you want is every other record, it gets a bit more complicated. Robert |
This web page was last updated on Saturday, May 4, 2024 at 12:54 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |