how to delete a row from a table which contains only NULL values?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NithyaJai
    New Member
    • Mar 2007
    • 18

    how to delete a row from a table which contains only NULL values?

    hai,

    I'm having table like this,

    Example:

    Usename userid password
    aaaa 1 123
    ssss 2 456
    null null null

    how to delete the last row fully??????????

    help me plz.........
  • Mahesh83
    New Member
    • Feb 2007
    • 25

    #2
    Originally posted by NithyaJai
    hai,

    I'm having table like this,

    Example:

    Usename userid password
    aaaa 1 123
    ssss 2 456
    null null null

    how to delete the last row fully??????????

    help me plz.........

    Hi
    What you do is make another column and make it as Primary key and and make that column as auto increment
    so in Vb.net you just use that column no. for example
    "delete from tablename where newcolumn = column no."
    Let check if this helps you.....


    Cheers
    Mahesh

    Comment

    Working...