Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Location
    Corpus Christi, Texas
    Posts
    132

    ODBC Plugin and DISTINCT

    I need to fill in a combo box with just one of each name but i can't seem to get it to work. Does ODBC handle DISTINCT?


    result = ODBC.OpenQuery("SELECT DISTINCT qdbname FROM test");
    Thanks
    Jean

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    ODBC just is a method for passing commands to your SQL database server. It all depends if the database you are using allows the syntax. In other words, the same SQL query may work on one database server, but not on another, because that other database doesn't feature a certain keyword you are trying to use, or needs a different syntax for it.

    Ulrich

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts