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 |
Santal_Maluko
Starting Member
14 Posts |
Posted - 2005-01-07 : 07:34:37
|
I want to a rename a field that has numeric values in it... I can't lose them otherwise I could not do a data transfer that I need to do...I should rename the field only using SQL code!Diogo Alves |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2005-01-07 : 08:35:42
|
Look up "sp_rename" in Books Online, it will show you the syntax for renaming a column. It will not affect the data in the table. |
 |
|
Santal_Maluko
Starting Member
14 Posts |
Posted - 2005-01-07 : 08:46:19
|
it's no use.... I tried and it says it can't fid the input stored procedure.... I need something more simple....I am using VC++ to do it... so I need to do querys to get the job doneDiogo Alves |
 |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2005-01-07 : 10:08:02
|
Why are you using C++? This will take 10 seconds to do in Query Analyzer. |
 |
|
|
|
|