Results 1 to 4 of 4

Thread: [RESOLVED] SQL LOGIC hELP

Threaded View

  1. #1

    Thread Starter
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 2007
    Location
    South Africa
    Posts
    830

    Resolved [RESOLVED] SQL LOGIC hELP

    Good Day All

    i have a table that carries a Field that has data like this


    Code:
    10101010101010
    Now the Function that adds this 1's and 0's is working like this. If its selected insert "1" else "0", So if i can interpret the above if will be

    Code:
    1 3 5 7 9 11 13
    the only thing that am interested in is "1's", if i can display their Position in a SQL Query i will be happy

    i want to take these Values from a SQl table and Bind them to a Gridview. Remember the Number of Zeor's can increase , but the Limit is 63 including the "1's" and "0's".


    Thank you
    Last edited by vuyiswamb; Feb 23rd, 2009 at 06:32 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width