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



How do you find value of first column before inserting value into the second column in the same tab..

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

How do you find value of first column before inserting value into the second column in the same tab..

Answer / satish

Please help me.
Does we write trigger.
Or procedure or
anything else.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SQL Server Interview Questions

Do you know what are the steps to process a single select statement?

0 Answers  


what is IDE,DMV in sql server?

1 Answers   Value Labs,


What is sql server replication? : sql server replication

0 Answers  


What is optimistic concurrency?

0 Answers  


Define model database?

0 Answers  






Why do we use non clustered index?

0 Answers  


Explain the difference between HTTP and HTTPS in database?

0 Answers   Wipro,


Is natural join and equi join same?

0 Answers  


What is onf in normalization form?

0 Answers  


What are the restrictions that views have to follow?

0 Answers  


What is user-defined multi-statement table-valued function?

0 Answers  


What is @@error in sql?

0 Answers  


Categories