JeeEiych
IS-IT--Management
- Aug 22, 2001
- 7
Hi guys.
I have a problem in altering a column. I run an SQL command in SQL v7 sp2. I used this line:
Alter Table MyTable
Alter Column MyField char(20)
I run this script in two databases from the SQL query analyzer. It responsed differently. On one database is working but on the other, it response a message
"Server: MSG 170, level 15, state 1, line 2
Line 2: incorrect syntax near column"
Both of them has the same structure and on the same machine, and MyField was a char(10)-field.
thanks.
I have a problem in altering a column. I run an SQL command in SQL v7 sp2. I used this line:
Alter Table MyTable
Alter Column MyField char(20)
I run this script in two databases from the SQL query analyzer. It responsed differently. On one database is working but on the other, it response a message
"Server: MSG 170, level 15, state 1, line 2
Line 2: incorrect syntax near column"
Both of them has the same structure and on the same machine, and MyField was a char(10)-field.
thanks.