General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Sorry, what I meant to ask was "how to rename a column of an on-disk table through ALTER TABLE or some other structure"?
>>What about simply renaming a column?
>>
>>
>>
>>>Basically what I am saying here is:
>>>1) Certain data types (integer, any type field with null) are impossible to create directly in a select statement.
>>>2)But you can create a cursor on the fly that contains a field of the right type. Do a join onto this cursor and you get get fields of the type you could otherwise select.
>
>
>You would have to change the data type as well. The join is faster .
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only