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 would we use distinct statement? What is its use?

607


Explain different backup plans?

532


How many types of attribute relationships are there? : sql server analysis services, ssas

585


Write an sql query for deleting duplicate rows?

552


What happens if you add a new index to large table?

513






Mention the different types of triggers?

551


Why use “pivot” in sql server?

629


What is difference between Datepart() and Datename() in SqlServer?

722


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

574


what is difference between NULL and ISNULL in SQL Server 2008?

580


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

575


What are the difference between data mart and data warehouse? : sql server analysis services, ssas

501


IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

1331


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

531


What is the maximum rows in sql server table?

512