• Home
  • About
  • Services
    • Mobile Solutions
    • Cloud Deployment Services
    • Web Solutions
    • Business Technology Consulting
    • Graphic Designs
    • Search Engine Optimization
    • Social Media Marketing
    • Software Training
  • Products
    • Visitor Master
    • Garage Master
    • Builder Master
    • Call Service Management
    • Invoice
  • Blog
  • Career
  • Contact
Get the Best Byte! Get the Best Byte! Get the Best Byte!
  • Home
  • About
  • Services
    • Mobile Solutions
    • Cloud Deployment Services
    • Web Solutions
    • Business Technology Consulting
    • Graphic Designs
    • Search Engine Optimization
    • Social Media Marketing
    • Software Training
  • Products
    • Visitor Master
    • Garage Master
    • Builder Master
    • Call Service Management
    • Invoice
  • Blog
  • Career
  • Contact

Data Definition Language (DDL)

 CREATE DATABASE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

CREATE DATABASE Syntax

To create a database in MySQL, you use the CREATE DATABASE statement as follows: CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name [create_specification] … create_specification: [DEFAULT] [...]

READ MORE
 DROP DATABASE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

DROP DATABASE Syntax

DROP DATABASE drops all tables in the database and deletes the database. DROP SCHEMA is a synonym for DROP DATABASE. IF EXISTS is used to prevent an error from occurring if the database does not [...]

READ MORE
 ALTER DATABASE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

ALTER DATABASE Syntax

Alter Database command enables you to change the overall characteristics of a database. ALTER {DATABASE | SCHEMA} [db_name] alter_specification … alter_specification: [DEFAULT] CHARACTER [...]

READ MORE
 CREATE TABLE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

CREATE TABLE Syntax

To create table we use the CREATE TABLE statement. The typical form of SQL CREATE TABLE statement is as follows: CREATE TABLE [IF NOT EXISTS] table_name( column_list ) engine=table_type MySQL [...]

READ MORE
 ALTER TABLE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

ALTER TABLE Syntax

Besides creating table, MySQL allows you to alter existing table structures with a lot of options. Here is the ALTER TABLE statement: ALTER [IGNORE] TABLE table_name options[, options…] [...]

READ MORE
 DROP TABLE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

DROP TABLE Syntax

To delete table from the database, you can use DROP TABLE statement: DROP TABLE [IF EXISTS] table_name [, table_name…] MySQL allows you to drop multiple tables at once by listing them all, [...]

READ MORE
 TRUNCATE TABLE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

TRUNCATE TABLE Syntax

In some cases, you want to delete all table data in a fast way and reset all auto increment columns. MySQL provides TRUNCATE table statement to allow you to do so. The SQL TRUNCATE statement is [...]

READ MORE
 CREATE INDEX Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

CREATE INDEX Syntax

Indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the first row and then read through the entire table to find the relevant rows. The [...]

READ MORE
 DROP INDEX Syntax
0
By Nithya Vasudevan
In Data Definition Language (DDL)
Posted October 18, 2016

DROP INDEX Syntax

DROP INDEX index_name ON tbl_name DROP INDEX drops the index named index_name from the table tbl_name. After deleting the index on ‘gender’ column, the performance enhancement is lost.

READ MORE
 RENAME TABLE Syntax
0
By Praveen Macherla
In Data Definition Language (DDL)
Posted October 18, 2016

RENAME TABLE Syntax

This statement renames one or more tables. RENAME TABLE tbl_name TO new_tbl_name [, tbl_name2 TO new_tbl_name2] …

READ MORE
Products
  • Visitor Master
  • Garage Master
  • Builder Master
  • Call Service Management
  • Invoice
  • MicroLocal
Services
  • Mobile Solutions
  • Cloud Deployment Services
  • Web Solutions
  • Business Technology Consulting
  • Graphic Designs
  • Search Engine Optimization
  • Social Media Marketing
  • Software Training
STAY IN TOUCH
iByteCode Technologies
B10, Mogappair Industrial
Estate, Mogappair East,
Chennai, INDIA
Email: contact@ibytecode.com
Phone: +91 44 4385 1836
© 2024 iByteCode. ALL RIGHTS RESERVED. Privacy Policy Terms of Service