Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )
PROGRAM | BSc IT |
SEMESTER | THIRD |
SUBJECT CODE & NAME | BT0075, RDBMS and MySQL |
CREDIT | 4 |
BK ID | B1003 |
MAX. MARKS | 60 |
- 1. What are the new features in MySQL 5.1?
Answer: Since the big leap forward to MySQL 5.0, it’s taken the MySQL development team three years, during which there have been a whole string of pre-release versions, to release the new version 5.1 of the popular database. MySQL 5.1.30 (General Availability) is available to download from various mirrors. The most significant new features in MySQL 5.1 are the partitioning functions. These allow large tables to be distributed across multiple physical files and hard drives. MySQL supports what is known as horizontal partitioning, in which records are selected on the basis of a set criterion and saved in different locations. DATE columns are
- 2. How to alter databases and tables in MySQL? Explain with thehelp of examples.
Answer: ALTER TABLE changes the structure of a table. For example, you can add or delete columns, create or destroy indexes, change the type of existing columns, or rename columns or the table itself. You can also change characteristics such as the storage engine used for the table or the table comment.
Following the table name, specify the alterations to be made. If none are given, ALTER TABLE does nothing.
- 3. Explain MySQL update and replace statements with example
Answer:There may be a requirement where existing data in a MySQL table needs to be modified. You can do so by using SQL UPDATE command. This will modify any field value of any MySQL table.
Syntax:
Here is generic SQL syntax of UPDATE command to modify data into MySQL table:
UPDATE table_name SET field1=new-value1, field2=
- 4. Explain all the date and time functions in MySQL.
Answer: There is exclusive fields type to store Date and Date –Time in mysql or in other databases. As we know in any script date plays important role and we need to do many calculation and formatting to handle the date issues. It can be a simple Library book issue management to a customer compliant handling, these date fields are important for handling related data in a table.
MySQL have several date & time related functions to use in different situations and requirements. We will discuss some of the important functions here and use them for developing some sample codes.
- date_add to add date & time to field data:We can use date_add function to calculate date & time values and store them in MySql table. Future
- 5. Describe the cursors in MySQL in detail.
Answer: Cursor is one of very useful option if you are doing database programming. In mysql cursor is a kind of loop facility given to traverse in the result of sql one by one. By using cursor in mysql we can operate on every result of the record. Cursor are supported in stored procedure and function only. By using MySql cursor we can loop through every
- 6. Briefly describe the error log and general query log in MySQL.
Answer: If you are a web developer, you need to refer to various log files, in order to debug your application or improve its performance. Logs is the best place to start troubleshooting. Concerning the famous MySQL database server (or MariaDB server), you need to refer to the following log files:
- The Error Log. It contains information about errors that occur while the server is running (also server start and stop)
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )