Question
How to alter a table schema in SQL Server?

Answers

Altering Tables: It is used to modify an existing table.

1. CREATE TABLE Stock
2. (
3. ID SMALLINT
4. );
5. mysql > ALTER TABLE Stock - > ADD COLUMN Quantity SMALLINT UNSIGNED NOT NULL, - > MODIFY ID SMALLINT UNSIGNED NOT NULL, - > ADD PRIMARY KEY(ID);
6. mysql > Describe Stock;
7. mysql > ALTER TABLE Stock;

Example in Sql:

<br><br><img src='./qimages/F652-8-48.jpg'> <br><br>   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q RECEIVE consists of BUFFER option in it. What is the significance of this option?
  • Q After Punjab, Delhi and Andhra Pradesh, which is the fourth state to give permission to conduct field trials of genetically modified (GM) crops?
  • Q What type of pump may be appropriate for a liquid near saturation, a low flow rate, and very limited npsha (net positive suction head available)?
  • Q Let's say that a person is an excellent performer but the company policy doesn't allow him to be considered for a promotion due to inexperience, how will you handle this situation?
  • Q The symbol of Sr stands for
  • Q Concepts that apply to onward or forward deployments as well as returns to home station describe what kind of actions (A)Reconstitution (B)Sustainment operations (C)Rotation and redeployment (D)Planning phase and pre-deployment
  • Q What is Test Scenario?
  • Q First Lokayukt of BCCI?
  • Q A company charity (gross income <250k) wishes to take advantage of the audit exemption regime. However, there is an audit provision in the company s Articles. Should they be required to change the Articles?
  • Q Explain the following: Computer Aided process planning
  • Q What is epoch time Perl?