Solved

Create a database script?

Posted on 2007-12-04
3
233 Views
Last Modified: 2010-03-19

Create a an alter command to add a field to a table in sql 2005.
0
Comment
Question by:mathieu_cupryk
3 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 250 total points
ID: 20403630
ALTER TABLE <TableName>
ADD newField Varchar(100)
0
 
LVL 3

Expert Comment

by:cforant
ID: 20403636
ALTER TABLE table_name ADD column_name column-definition;

For example:
ALTER TABLE supplier ADD supplier_name  varchar2(50);

0
 

Author Comment

by:mathieu_cupryk
ID: 20403712
First come first serve. Thanks guys.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question