Results 1 to 4 of 4

Thread: Firebird select returns -2 result

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Firebird select returns -2 result

    If you want the number of rows then why not ask the database engine to tell you?
    "Select count(*) from Usuario" and then retrieve the single row result.

  2. #2
    Join Date
    Feb 2014
    Posts
    94
    Thanks
    5
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Firebird select returns -2 result

    Thanks, it worked

Similar Threads

  1. Qt and embedded Firebird DB
    By guidupas in forum Qt Programming
    Replies: 2
    Last Post: 21st January 2015, 19:10
  2. Firebird 2.5 Compare DataBases
    By Jonny174 in forum Qt Programming
    Replies: 2
    Last Post: 27th March 2013, 04:29
  3. Stored procedure in Firebird
    By ozplc in forum Qt Programming
    Replies: 0
    Last Post: 9th June 2011, 22:40
  4. Select statemen with bindvalues in Firebird 2 doesn't work
    By corrado1972 in forum Qt Programming
    Replies: 0
    Last Post: 1st September 2010, 15:59
  5. Qt and embedded Firebird-Database
    By Djon in forum Installation and Deployment
    Replies: 0
    Last Post: 31st May 2010, 20:04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.