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 |
What is the purpose of sql profiler in sql server? : sql server database administration
How To Change Column Ordinal Position in SQL Server 2005 using Query i.e I Want To Add Column at Particular Ordinal Position in SQL Server 2005
How to recreate an existing index in ms sql server?
What is the STUFF function and how does it differ from the REPLACE function?
How column data types are determined in a view?
You have several tables, and they are joined together for querying. The tables contain both clustered indexes and non clustered indexes to optimize performance, how should you distribute the tables and their indexes onto different file groups?
Department ----------- salary Deptname 1000 A 3000 A 2000 B 3000 B 4000 C 5000 C select the deptname where salary >=5000 result should be: Deptname --------- C please post only executed query in SQL server 2005 Asked By: Md. Niyaz
when you create a database how is it stored? : Sql server database administration
Can I know,how to Execute Funcion and Trigger through command(Manualy Execution) in MS SQL/SERVER 2005,give me answer with Example.
Where can you find the error log information? : sql server database administration
Explain for xml explicit mode?
How many .ndf files can we create in Sql server 2005?