You are on page 1of 9

CAP:-613T DATABASE ADMINISTRATOR

Homework Title / No. : _____Assignment No. 1_________Course Code : CAP 613T Course Instructor : ______Sucharu Mahajan_______ Course Tutor (if applicable) : _____ Date of Allotment : ____22nd ,Jan.2012.____ Date of submission : _____12th ,feb 2012.____ Students Roll No._____Rd1004b37______ Section No. : _____RD1004b_________ Declaration: I declare that this assignment is my individual work. I have not copied from any other students work or from any other source except where due acknowledgment is made explicitly in the text, nor has any part been written for me by another person. Students Signature : Major Singh Evaluators comments: _____________________________________________________________________ Marks obtained : ___________ out of ______________________ Content of Homework should start from this page only:

Submitted to:- Sucharu Mahajan Major Singh

Submitted by:-

Q1.The primary purpose of SQL server agent is to make our job easier. How will u support this statement? Ans.:- SQL server agent is to make our job easier, reason for that is his aspects. So these aspects are following:1. Backup of data: - SQL server agent makes our job easier because it gives the automatically backup of our databases. We can take backup of our data bases if any time we miss some data cause any reason. 2. Scheduling:- It means that it can execute automatically jobs on the bases of schedule. 3. Security:- it give the security to our data because it can become automatic administrator and can get crashed data backup automatically.

4. Execution Speed:- SQL server provide much speed in execution of queries so it can work more fast than work will become easier. 5. Toolbars:- these toolbar make the job easier for us in making the data base because there is no need to type big queries and can do work easily in GUI.

Q2. Analyze the features of standard tool bar, table designer toolbar and text editor toolbar and the various functions carried by them. Ans.:- SQL server has some toolbar by which SQL server work properly and in good way and can handle the data in good manner these toolbar are following 1. Standard tool bar:- This tool bar we can get at left top side of SQL server. It toolbar provides some options or features like making new query saving the table and other things that can be used very easily the standard toolbar.

Features: New Query:- It is also called query editor. In this we can write new queries and can execute. Database Engine Query :Opens a new Database Engine Query window and can work with a new database mean to say that we can connect with other data base.

Analysis Services MDX Query:-It opens a new MDX Query window. Analysis Services DMX Query:-It opens a new DMX Query window. Analysis Services XMLA Query:-It opens a new XMLA Query window. Open File:- It opens already created file. Save :-Saves the currently selected window Print :-Selected area can be printed by clicking this feature. Table designer toolbar:- It help to design the table using Table Designer toolbar and also can add other things in table like keys. It provides the following features:-

Features: Script:-It provides script in the text editor. Primary Key:- selected column of the table can be set as the primary key column. Relationships:-It enables the relationship between two tables. Manage Indexes and Keys:-enables the creation of unique keys and indexes. Manage XML Indexes:-It enables the creation and management of Primary and Secondary indexes. Manage Check Constraints:-It enables the creation and management of check constraints Manage Spatial Indexes:-enables the creation of Spatial Indexes for the new Geometry and Geography data types.

Text editor toolbar:- It is like text editor of simple software text editor but also have some less options than other text editor tool bar but these are enough for SQL server. It alsor offers additional shortcuts to those provided in the other language-specific editors.

Features: Decrease Indent:-Decreases the indent of selected text. Increase Indent:-Increases the indent of selected text. Object Member List:-When editing T-SQL, DMX, MDX, or XMLA scripts, it displays a list of script members. Parameter Info Displays:-displays the parameter list for System Stored Procedures and functions used with Analysis Services. Quick Info Displays:-declaration information for XML objects Q3. Elaborate the new data types in SQL Server 2008 giving examples for each. While planning a database what are the various considerations we keep in mind? Explain how to create database with both graphical and query interface Ans.:-SQL server have some data type which help of us to create environment for our data and we use them. Out of all of these date and time data type also data type which uses in SQL server. These are following:-

1.Data and Time Data Type:- It is used to store dates and times in some particular formats. It consumes 8 bytes of space of memory. It is four types of data types. These are following:1. Date Data Type:-It only that 01-01 till 9999-12-32. 2. Time Data Type:-It is used to store time and the format of this data type is hh:mm:ss:nnnnnnn. The range of this is that 00:00:00:0000000 till 23:59:59:9999999. 3. Date Time2 Type:- It is the combination of previous two data types data and time. It also has the format of both and range also same and combination of both is that yyyy-mm-dd hh:mm:ss: nnnnnnn. The range of this is 0001-01-01 till 9999-12-32 and 00:00:00:0000000 till 23:59:59:9999999 4. Date time offset :- It is some same datetime2 type because it also have includes time zone. Database Creation in CUI:- In Command line interface open Query Editor. For this follow some steps which are following:At left top side a option of New Query left click on it => now query editor will open type there following query => create database database_name. After this database will be created. Database Creation in GUI:- Now for creating the database with the help of graphics user interface we must follow these some step which are following:-> store date and the format is yyyy-mm-dd. The range of this data type 0001-

Go To Object Explorer => Right click on the server =>

chose the first option New Database => a dialog box will appear like the following:-

Now left click in database name field => erase default name and write name of your choice => left click on OK button. Planning for database:- when making a database then we must keep some point in mind which are follow: Keep the information about work. Choose the objects; mean to say that in which tables and table design for data is to be stored? In what we want to store in database? A database should be designed simple or complex as per the requirements. To use by a single person, it should be simple. It can be large and complex to handle all transactions in the fields. Q4. Why is it important to keep the various hardware considerations in mind while installing SQL Server 2008? Explain various hardware considerations in support of your answer.

Ans.:- importance of requirement:- It is very important to keep the various hardware considerations in mind when we are installing the SQL server for running it on the Windows Operating System successfully. So the hardware requirement for installing the SQL server 2008. Hardware requirements:-SQL Serer requires a system with minimum hardware consideration. Which are following:CPU:-Pentium III-compatible processor or faster, 1GHz minimum speed, Recommended 2GHz or faster. Ram:- Minimum amount of RAM 512 MB. Recommends 2 GB of RAM for both the 32-bit and 64-bit. Monitor:- It should be requires VGA or higher resolution. The resolution should be 1024x768 recommended for SQL Server graphical tools. Keyboard:- There must should at least normal keyboard for typing and giving some command. Mouse:- Any type of will compatible for it.

Hard Disk Size:- The size of hard disk normally in big size than requirement but the drive in which we want to install SQL server should sufficient space for it. CD or DVD drive:- It is necessary for installing the SQL server if we have setup of SQL in CD/DVD.

Q5. Enumerate why SQL server 2008 is more secure than the previous versions of SQL server. Ans.:- SQL server 2008 is more secure than the previous versions because it have more feature than last versions which are following:1. It can automatically change in administrator. 2. It can give backup of crash data. 3. There is Built-in security in it. 4. It provides best access control and authenticating. 5. It provide scheduling services 6. It has powerful encryption. 7. It has many option advances than last versions.

In

SQL

Server

2008,

Microsoft

Security

Analyzer

helps

administrators to ensure that their data the security features. SQL Server 2008 also makes their databases more secure by security of authentication power. This ensures that developers never see how the actual data is represented.

You might also like