|
|
| Register | Invite Your Friends | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
![]() |
![]() |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Dec 2008
Posts: 221
|
1.What is normalization?
- Well a relational database is basically composed of tables that contain related data. So the Process of organizing this data into tables is actually referred to as normalization. 2.What is a Stored Procedure? - Its nothing but a set of T-SQL statements combined to perform a single task of several tasks. Its basically like a Macro so when you invoke the Stored procedure, you actually run a set of statements. 3.Can you give an example of Stored Procedure? - sp_helpdb , sp_who2, sp_renamedb are a set of system defined stored procedures. We can also have user defined stored procedures which can be called in similar way. 4.What is a trigger? - Triggers are basically used to implement business rules. Triggers is also similar to stored procedures. The difference is that it can be activated when data is added or edited or deleted from a table in a database 5.What is a view? - If we have several tables in a db and we want to view only specific columns from specific tables we can go for views. It would also suffice the needs of security some times allowing specfic users to see only specific columns based on the permission that we can configure on the view. Views also reduce the effort that is required for writing queries to access specific columns every time. Find continuation of the interview questions in the attachement below - |
|
|
|
![]() |
| Tags |
| interview, questions, Server |
| Thread Tools | |
|
|