What types of MYSQL function available for affecting columns



What types of MYSQL function available for affecting columns..

Answer / Alok Kumar Gautam

In MySQL, there are several functions to manipulate column properties. Here are a few examples:
1. ALTER TABLE - Modifies the structure of a table by adding or removing columns.n Example: `ALTER TABLE employees ADD COLUMN salary DECIMAL(8,2);`
2. CHANGE - Renames a column while changing its data type if needed.n Example: `CHANGE old_column new_column DECIMAL(8,2);`
3. MODIFY - Alters the data type or properties of an existing column without renaming it.n Example: `MODIFY old_column DECIMAL(8,2);`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is full form of PHP?

1 Answers  


What is mvc in php?

1 Answers  


How do you compare strings in java?

1 Answers  


Can we use session in mvc?

1 Answers  


Is strcmp case sensitive?

1 Answers  


what is the url rewriting?how to rewrite the url? give any example

1 Answers  


What are the benefits of composer?

1 Answers  


What is cakephp framework?

1 Answers  


What is the use of addslashes in php?

1 Answers  


Is php is dying?

1 Answers  


Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.

1 Answers  


Explain me what is the use of header() function in php?

1 Answers  


Categories