We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Wednesday, March 25, 2015

Interview questions and answers of database in sql server


1.) What is the use of SQL Server Management Studio ?

It is a software which is basically used for store and retrieve the data from the database

2.) How to change existing database using command in sql server ?

3.) How to update an existing record in a table ?

4.) How to delete a row from a table in sql server?

5.) How to add a New Column in your Existing table using sql command ?

6.) How to change the size of Existing column in a table ?

7.) How to Drop the Existing column from a table ?

8.) Is "INTO" Keyword is optional in insert statement ?

9.) Which keyword is always used for any changes in Database or table ?

10.) How to change the column name in a existing table ?

11.) How to change a existing table in sql server using command ?

12.) How to check the structure schema of any table in sql server ?

13.) How to remove a column name from a existing table. ?

14.) Is Sql command is case sensitive?

15.) What is Data Integrity in sql server?

16.) What types of data integrity concepts are used in sql sever?

17.) How can create primary key constraints on a table's column in sql server ?

18.) How can add primary key constraints on a Existing table in sql server ?

19.) How to check whether constraints are present in table or not ?

20.) What is Referential Integrity in Sql server ?

21.) What is Domain Integrity in Sql server ?

22.) How to create constraints at column level on a table ?

23.) How to create constraints at table level in sql server?

24.) Where we generally use Identity column Constraints on a table ?

25.) How to create a table and add an Identity column on that table?

26.) How to ON/OFF Identity column constraints in sql server using command ?

27.)Can we copy data from one table to another table using sql command ?

28.) How to create a new table at run time and copy the data from a existing table using sql command ?

29.) How to copy data in two existing table in sql server using command ?

30.) How to copy the data in two existing table if sequence of column name of both table are same ?

31.) What are the two sql statement used to remove the records from database ?

32.) What is difference between delete and Truncate statement in sql server ?

33.) What is Stored procedure in Sql server ?

34.) How to create stored procedure in sql server ?

35.) What are the different ways to execute stored procedure in sql server ?

36.) Can we use out parameter in stored procedure statement ?

37.) What are the benefits of stored procedure?

38.) What is the default format of date in sql server?

39.) Can we change 'MDY' Format in another format in sql server?

40.) What are the number of combination of date format in sql server?

41.) What is the use of cast function in sql server?

42.) What is the use of convert function in sql server?

43.) What is difference between Cast and Convert Function in sql server?

44.) What is Transaction ?

45.) What are the four Properties of Transaction ?

46.) What are the types of Transaction in SQL Server?

47.) What is the implicit transaction in sql server ?

48.) How to implement implicit transaction in sql server ?

49.) What is the Explicit transaction in sql server ?

50.) What are the four main controls of transaction in sql server ?

51.) What is the Savepoint Explain ?

52.) What is RollBack Explain ?

53.) What is the meaning of Implicit Transaction ON in sql server Explain ?

54.) What are the Joins Concepts in SQL Server ?

55.) What are the types of Joins used in SQL Server ?

56.) What is Inner Join and why we use it in SQL Server ?

57.) What is Outer Join in SQL Server ?

58.) What are the types of Outer Join in SQL Server?

59.) What is Left Outer Join in SQL Server?

60.) What is right Outer Join in SQL Server?

61.) What is Full Outer Join in SQL Server?

62.) What is Self Join concepts in SQL Server?

63.) What is Cross Join concepts in SQL Server?

64.) What are the two sql commands that are used to get the same records form two or more tables?

65.) What is view in SQL Server ?

66.) What are the main purpose to create a view ?

67.) Why we create view in sql server or other explain?

68.) How to create a view in sql server explain?

69.) How to create a view with left outer join concepts?

70.) How to create a view with Right outer join concepts ?

71.) How to create a view with full outer join concepts ?

72.) How to get data from a view?

73.) How to get the view details in database?

74.) How to delete view from database?

75.) What are the main conditions to insert,delete and update the records within table with view ?

76.) What is Trigger ?

77.) How to prevent' table creation' in database using concept of trigger ?

78.) How to view all triggers in your database ?

79.) What are the types of triggers in sql server ?

80.) What operations can be performed in sql server ?

81.) What are the types of DML Triggers used in sql server ?

82.) What is After triggers in sql server ?

83.) What is instead of triggers in sql server ?

84.) What is DDL triggers in sql server ?

85.) What is Logon triggers in sql server ?

86.) What are the syntax of Logon triggers in sql server ?

87.) What is CLR triggers in sql server ?

No comments: