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 retrieve field values using mssql_result()?
Write a sql query to display the current date?
What are the key configuration files for sql server reporting services ?
What is sql azure database?
what is the difference between a primary key and a unique key? : Sql server database administration
What is failover clustering overview?
What is database black box testing?
what's new in sql server 2016?
What is the syntax for encrypting a column in SQL Server?
Why transaction is important?
What Are the Main Features of SQL Azure?
What are temporal tables in sql server 2016?
What is a primary index?
What are the functions in sql server?
Can we delete data from a view?