answersLogoWhite

0


Best Answer

The column definitions of a table can be modified using the ALTER TABLE command.

ALTER TABLE employee
MODIFY emp_name varchar2(100) not null;

This command makes the emp_name as a not null column and a alpha numeric column of 100 characeter width

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you change the length of a column in SQL?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you concatenate char with int column in sql?

In MS SQL, you can use the char() operator on the column. For example: select 'some string content ' + char(integer_field) from my_table


What symbol is used to qualify column names in sql?

(.) Period


What is the unsupported length of the column?

Length over which the column has no support is taken as unsupported length of the column


Use what to change uneven columns into more equal length?

column breaks


Under a column how many bytes for a TITLE in SQL Datrabase?

1 byte


How do you copy column heading in oracle sql developer?

Shift + cntrl + c


What does the SQL Max function do?

The "SQL Max function" is a computer programming term, which can be used in spreadsheets to give the highest value from the currently selected column.


Feature of rdbms?

It stores data in tables. Tables have rows and column. These tables are created using SQL. And data from these tables are also retrieved using SQL


How do you calculate column volume?

Multiply column inside diameter by the column's length. Then convert to units you need. The above is not correct.The volume of a column is the circular area of the column multiplied by the length, pi*radius^2*length.


What is the column length column to column of the Great Wall of China?

5 inches


What purpose does SQL inserts serve?

The purpose of a SQL inserts serve as allowing you to add data, for example a chart or a column afterwards. It works to hold the place for potential future data information.


Why is the length of air column increased slowly?

The length of the air column is usually increased slowly because of resonance.