SYNTAX FOR VIEWS WITH EXAMPLE
HOW TO LINK TWO TABLES

Answer Posted / durgaprasad

Create View emp_dept_vw with encryption as
select emp.empid,emp.ename,dept.deptid,dept.dname
from emp,dept where emp.deptid=dept.deptid
with check option

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Insert multiple rows with a single insert statement?

543


What is self contained sub query?

550


What is scd (slowly changing dimension)? : sql server analysis services, ssas

587


Explain about unique identifier data type in sql server?

501


Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?

842






Explain the database you used in your final year project?

532


What is the difference between the application object and session object?

593


How to use go command in "sqlcmd"?

638


Some queries related to SQL

580


How to achieve Paging of records in SQL SERVER?

586


How to get the definition of a stored procedure back?

519


What are the different types of triggers in SQL SERVER?

532


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1461


Explain what is meant by replication of database?

523


What is the difference between web edition and business edition?

89