How do you find value of first column before inserting value
into the second column in the same table for checking that second column must have different value than first column.
Answers were Sorted based on User's Feedback
Answer / ankita upadhyay
by using lookup function
syntax-
LOOKUP(lookup_value,lookup_vector);
lookup_value-contain the name of field(like id) about which you have to find info
lookup_vector-contain a range of row or column which contain value of respective ids
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / satish
Please help me.
Does we write trigger.
Or procedure or
anything else.
Is This Answer Correct ? | 0 Yes | 2 No |
I have a table in which phno is one of the columns.i do have some values in tht phno column.i need to update phno column values with 0(zero) as prefix.give me a correct solution plz...
What command would you use to add a column to a table in sql server?
What do you understand by a view?
Following are some of the question related to below mentioned query? select e1.salary from employee3 e1 where 2= ( select count(distinct(e2.salary)) from employee3 e2 where e2.salary>=e1.salary ) 1) What the query returns? 2) How it works? - Detail explanation (what the sub query does, why it is (where 2=)....etc...Please?
What is a system database and what is a user database?
Well sometimes sp_reanmedb may not work you know because if some one is using the db it will not accept this command so what do you think you can do in such cases?
What is isolation levels?
Explain indexed view?
Define views.
How to create a new schema in a database?
Do you know what is lock escalation?
Tell me in brief how sql server enhances scalability of the database system?