Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Database 'Bit' field type problem !!

Database 'Bit' field type problem !!

Scheduled Pinned Locked Moved ASP.NET
databasehelpannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abhi
    wrote on last edited by
    #1

    Hi.. All I've a database table's 'bit' field type problem. The problem is : When I fire any update query to the table, my 'Active' (bit type) field automatically updated to value 1. But I have not taken this field in my update query. But this update query update the value of 'bit' field with 1. Please, Give me any solution as soon as possible. Thanks in Advance..

    Regards, Abhi

    N 1 Reply Last reply
    0
    • A Abhi

      Hi.. All I've a database table's 'bit' field type problem. The problem is : When I fire any update query to the table, my 'Active' (bit type) field automatically updated to value 1. But I have not taken this field in my update query. But this update query update the value of 'bit' field with 1. Please, Give me any solution as soon as possible. Thanks in Advance..

      Regards, Abhi

      N Offline
      N Offline
      nagendrathecoder
      wrote on last edited by
      #2

      Hi, Please tell me what is the purpose of using that field and whats initial value of that field. Nagendra

      A 1 Reply Last reply
      0
      • N nagendrathecoder

        Hi, Please tell me what is the purpose of using that field and whats initial value of that field. Nagendra

        A Offline
        A Offline
        Abhi
        wrote on last edited by
        #3

        I haven't given any initial value of that field in design type. Foe Ex. The current value of 'Active' field is : 0 Now, I'm fire a update query of other fields except 'Active' field. But, this query update the value of 'Active' field with 1. Means, I haven't use this 'Active' field in my Query. My Query is : update tblProduct set Name = 'xxxx' where ProductID = 1 but, After fire this query, My 'Active' fields value become 1, while it was 0. So, This is my problem. Hope you will get this now. Please, Help me as soon as possible. Thanks.

        Regards, Abhi

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups