MS SQL 2000
CFMX 6.1

I need to correct a DB column by converting an Integer to a VARCHAR. I 
don't understand the error.
Data does exists in the DB.

        HorizMark int (0)
                to
        HorizMark VARCHAR( 20 ) NULL

Any ideas or suggestions?

Thanks,

Nick



1. The code

<CFQUERY NAME="AlterSQLTable" DATASOURCE="SqlDSN" >
        ALTER TABLE HartGraph
        ALTER COLUMN HorizMark VARCHAR( 20 ) NULL

</CFQUERY>

2. The error message

Error Occurred While Processing Request
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]The object 
'DF__HartGrap__Horiz__123EB7A3' is dependent on column 'HorizMark'.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to