Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
yossibaram
Yak Posting Veteran
82 Posts |
Posted - 2002-11-20 : 07:08:06
|
| Hi,Can I rename fields of a table already exist using SP?Can I remove fields of that table also?Thanks |
|
|
Page47
Master Smack Fu Yak Hacker
2878 Posts |
Posted - 2002-11-20 : 07:23:11
|
| Tables don't have fields. Tables have columns.Look up ALTER TABLE in books online.Jay White{0} |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2002-11-20 : 07:30:58
|
| you can add a new column and populate it using the old on.You can rename the table and use a view to access it renaming the column.To rename or delete columns I think you will either have to patch the system tables or make another copy of the table.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|