answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Which command do you use to add a DEFAULT value for a column to a particular table?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Shortcut command used to delete a table column?

Delete column


How do you change the length of a column in SQL?

The column definitions of a table can be modified using the ALTER TABLE command.ALTER TABLE employeeMODIFY 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


In a table an area that contains text or data for a particular row and column is called a .?

cell


How do you create a table of values for each rule with at least four values for x?

For each rule draw a table with 5 rows and 2 columns. At the top of each table write a caption denoting which rule applies to that particular table. In the top row of each table write the letter "X" in the first column and the letter "Y" in the second column. Now for each table in the first column in rows 2,3,4, and 5 write the values of X that apply to the experiment. Now apply the rule for each value of X for a particular table (particular rule) and write the value of Y (obtained by observation or calculation) in the corresponding column


How can you add column after table creates in sql server 2005?

plz reply me argent You can do it through Management Studio by right clicking on the table that you want to add the column to and select design. Or you can run a ALTER TABLE statement ALTER TABLE <TableName> Add <NewColumnName> <DataType> <DefaultValue> <NULL or NOT NULL> Keep in mind you do not need to specify a Default Value. Also note that it will drop to the bottom of the column list based on ordinal position. ALTER TABLE ErrorLog Add IsDeleted BIT DEFAULT (0) NOT NULL


What clause should be used to display the rows of a table in ascending order of a particular column?

Order by


When is it not necessary to specify a data type for a column when creating a table?

You do not need to specify a data type when you want to accept the default format.


Can you add new columns to a database after creating the structure?

Columns are added to a table, not a database (which is a collection of tables). Adding a column to a table is achieved by using the Alter Table SQL command.


What are Column Labels in the areas of a Pivot Table?

Each pivot table is different, so it depends on how you have it laid out and what data is in it. Pivot tables are very flexible, so you can switch around the data and column headings could become row headings and the data can change. Column headings will indicate what the data in a particular column in the pivot table is.


How do you create a primay key in Oracle?

You can create a primary key column in an oracle table using the PRIMARY KEY keyword. Assuming you have an employee table that has employee information and has a column called emp_num. you can create a primary key in the table using the below command. ALTER TABLE tbl_employee_info add CONSTRAINT emp_pk PRIMARY KEY (emp_num) If you execute the above command in your database, emp_num will become the primary key of the table tbl_employee_info.


What does it means not qualify a column in using clause?

Column names do not have to be unique within a database; they only have to be unique within a particular table. If a query joins two table where each contains a field with the same name and that field is specified in the SELECT or WHERE clause, not qualifying the column name with the table name results in ambiguity as to which field is desired.


What is a column on a period table is called?

a column or family on the Periodic Table