Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Create a database script?


Create a an alter command to add a field to a table in sql 2005.
0
mathieu_cupryk
Asked:
mathieu_cupryk
1 Solution
 
Aneesh RetnakaranDatabase AdministratorCommented:
ALTER TABLE <TableName>
ADD newField Varchar(100)
0
 
cforantCommented:
ALTER TABLE table_name ADD column_name column-definition;

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

0
 
mathieu_cuprykAuthor Commented:
First come first serve. Thanks guys.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now