You were correct; I recreated the datasource and all works fine now. Guess
I've spent to much time looking at this computer screen. Thanks.

-- Sam


-----Original Message-----
From: Adkins, Randy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 20, 2006 10:42 AM
To: CF-Talk
Subject: RE: Table Rename

That sounds like a connectivity issue rather than syntax. 

-----Original Message-----
From: Sam Roach [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 20, 2006 1:36 PM
To: CF-Talk
Subject: Table Rename

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:253645
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