What is Stored Procedure?
What is Views in sql server?
Difference between a User Defined Function and a Stored Procedure
Difference between a primary key and a unique key?
What is a join and explain different types of joins.
Difference between temp table and table variable
Difference between Triggers and Stored Procedures
Difference between UNION ALL Statement and UNION
What is COALESCE / Why do we use COALESCE?
Why we use SET ROWCOUNT in Sql
How many clustered index can have a table
How many types of local tables in SQL SERVER
Difference between DELETE and TRUNCATE
What is Aggregate Functions?
What is Row_Number()?
What are Ranking Functions?
What is NOLOCK?
What is CTE?
What are the Advantages of using CTE?
What is the STUFF function and how does it differ from the
REPLACE function?
What are the difference between clustered and a non-clustered index?
What are the different index configurations a table can have?
Difference between a HAVING CLAUSE and a WHERE CLAUSE?
Difference between SET and SELECT
Provide all the built in string function of SQL SERVER
Difference between char and varchar data types
Define candidate key, alternate key, composite key.
What are constraints? Explain different types of constraints.
What is a self join? Explain it with an example.
How will you convert table row to a column comma separated value
Answer Posted / jasmeet kaur
What is Views in sql server?
a view is a virtual table,which provides access to a subset of column from one or more table.a view can derive its data from one tables. an output of a query can be stored as a view. view act like a table but it does not physically take any space.view is good way to present data in a particular users from accessing the table directly.
Difference between DELETE and TRUNCATE
delete command
1.DML command
2.can be rollback
3.where clause use
4.slower than truncate
5.trigger can not be fired
6.delete all or selected rows
7.return the number of rows
TRUNCATE command
1.DDL command
2.can not be rollback
3.where clause not use
4.faster than delete
5.trigger can be fired
6.delete all rows
7.does not return the number of rows
What is Stored Procedure?
It is precompiled object stored in the database. It can invoke DDL and DML statement and can return value.
Difference between a HAVING CLAUSE and a WHERE CLAUSE?
where clause="where" is a kind of restriction statement . we use where clause to restrict all data from database. where clause is using before result retrieving.
having clause=having clause is using after retrieving the data. having clause is a kind of filtering command.
What are constraints?
a constraints allows you to apply simple referential checks to a table.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How to create a simple table to test triggers in ms sql server?
What are the purposes and advantages stored procedure?
Explain unique key in sql server?
Is sql server is free?
Explain what you mean by 3 tier architecture.
What command do we use to rename a db, a table and a column?
Why SQL Agent is used?
Which Model uses the SET concept
Which operator do you use to return all of the rows from one query except rows are returned in a second query?
Explain what is public role in sql server?
Why do we use trigger?
What are the system database in sql server 2005?
What are null values in ms sql server?
What is an index in sql?
What is clustered vs nonclustered index?