Anyone know how to rename a table from within ColdFusion MX6.1 running MSSQL
Server 2005.

Here is what I am trying.

        <CFQUERY NAME="ALTER_TABLE" DATASOURCE="#database#">
                sp_rename '#old_tablename#', '#new_tablename#'
        </CFQUERY>

I am receiving this error.

Error Executing Database Query.  
[Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection
refused: connect  
  
Thanks,
-- Sam



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253639
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to