Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2010
    Posts
    1

    Unanswered: ODBC connection to table with more than 255 fields

    I am connecting to a table with more than 255 fields. Is there a way to choose which 255 fields the ODBC connection pulls?

  2. #2
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    On the server, create a view that has 255 columns or less and link your application to that view. So many columns in a single table usually means that there is a problem with the database schema.
    Have a nice day!

  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    use
    Code:
    select my, comma, separated, column, list from mytable
    instead of
    Code:
     select * from mytable
    I'd rather be riding on the Tiger 800 or the Norton

  4. #4
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,420
    Provided Answers: 7
    my question would be why a table has more than 255 feild
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

Tags for this Thread

Posting Permissions

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