but when I do this, I have a error message <br><br>error near word 'alter'<br>I think that it don't reconize the word 'column'<br><br>I think that this solution run only under MS/SQL 7<br><br>Thanks FluFFy
I seem to remember that it is not possible to change a column in 6.5. You can only add a column that allows nulls as this won't physically change the data held (you are adding null values).<br><br>In 7.0 then gummadi is right that you should do a....<br><FONT FACE=monospace>ALTER TABLE theTableName<br> ALTER COLUMN theColumnName<br> VARCHAR(17)</font> <p> <br><a href=mailto: > </a><br><a href=
Jnicho02 is correct, <br>you cannot modify a column in SQL 6.5. The only way to do it would be to create a new table with the new definition, copy the data to the new table and then drop the old table.<br>You can then rename the new table to the same name as the original table.<br><br><br>Chris Dukes
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.