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 optimize stored procedures in sql server?
explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?
What is Extended user-defined?
How do you run a trace?
Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?
What is use of @@ spid in sql server?
Explain about thread and memory management process of SQL?
What is the federation in sql azure?
What do you mean by subquery?
What were the latest updates to SQL Azure service?
Difference between group by clause and having clause in SQL?
How to download and install microsoft .net framework version 2.0?
How to sort query output in descending order in ms sql server?
Explain partitioned view?
What is always encrypted?