ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
How to delete particular value in the column of a table.Is 
it possible or not?if possible give it as in query.
 Question Submitted By :: Vanitha.s
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to delete particular value in the column of a table.Is it possible or not?if possible give it as in query.
Answer
# 1
Example:
Delete from STUDENTDETAILS where StudentID = 101
 
Is This Answer Correct ?    1 Yes 19 No
Suresh.s
 
  Re: How to delete particular value in the column of a table.Is it possible or not?if possible give it as in query.
Answer
# 2
delete from tablename where columnname=datatype
examples:
           delete from employee where employeeid=2
 
Is This Answer Correct ?    2 Yes 15 No
Elumalai.k
 
 
 
  Re: How to delete particular value in the column of a table.Is it possible or not?if possible give it as in query.
Answer
# 3
You can not exactly delete the column value.
alternatively what you can do is use update statment and
update the value with blank.

update users
set user_adr = ''
where user_id = 'userid'
 
Is This Answer Correct ?    20 Yes 2 No
Rupa Bagherwal
 
  Re: How to delete particular value in the column of a table.Is it possible or not?if possible give it as in query.
Answer
# 4
Rupa Bagherwal is told the answer is correct
we cant delete particular value in one column
we can update onle

delete from employee where employeeid=2
  
suppose we wil give like this means it will delete one row

for this questions update only possible
 
Is This Answer Correct ?    0 Yes 0 No
Subramaniam
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is the diff between Dynamic queries and static queries ICS-Integrated-Computer-Solutions1
What is bit datatype and what's the information that can be stored inside a bit column?  1
What is an execution plan? When would you use it? How would you view the execution plan?  1
create procedure proc1 (@a int) as begin if @a=1 create table #temp(a1 int) else create table #temp(a1 int) end while executeing the above code it shows error like '#temp already exist' .why it shows an error? IBM5
How to list all tables having unique constraints in any of the columns in a database.  1
1.what is stored procedure?Its significance with example? 2.Explain about index with syntax and example? plz do reply.........  1
What is a NOLOCK?  3
What is a sub-query? When would you use one?  3
What is the difference between a Application Server and a Database Oracle2
can you any body tell me the how to decrease the logfile  4
How to Get the last identity value used  4
What are the types of model in sql server and explain TCS1
How do you know which index a table is using?  4
Which command using Query Analyzer will give you the version of SQL server and operating system?  3
How can count the string ? for ex: If i have string like 'bhaskar' then i need like b:1 h:1 a:2 s:1 k:1 r:1 please give any idea on that TCS5
What are the all different types of Joins in SQL Server 2000, Anybody can explain each join with definition..Thanks in advance.... Siemens6
Which databases are part of SQL server default installation? Explain the usage of each? Accenture2
What are constraints? Explain different types of constraints?  6
How do you persist objects, permissions in tempdb  1
Can we create a clustered index on composite primary key.  2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com