Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23

Thread: Delete values in single a row without using DELETE keyword.

  1. #21
    Junior Member
    Join Date
    May 2007
    Answers
    6

    Re: Delete values in single a row without using DELETE keyword.

    I don't know whats going on here...
    Whether can we delete a single row of table or not?
    Finalize the answer...


  2. #22
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Delete values in single a row without using DELETE keyword.

    Yes ,we can we delete a single row of table by using delete command not truncate.


  3. #23

    Thumbs up Re: Delete values in single a row without using DELETE keyword.

    You cannot delete a single row without using the delete command. By using truncate you can delete all the rows in a table. But you can update the specified row by null values without using delete command using the below query. But logically a row will be there.

    update 'tablename' set value=null where 'any unique id'


Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact