Whatever variable you're passing to SUBSTRING() is probably empty. Ade
-----Original Message----- From: Protoculture [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 12:16 To: CF-Talk Subject: calling stored procedure error.. I dont understand this error... Macromedia][SQLServer JDBC Driver][SQLServer]Invalid length parameter passed to the substring function. 104 : cfsqltype="CF_SQL_VARCHAR" 105 : value="#region#" 106 : dbvarname="@region"> 107 : 108 : </cfstoredproc> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206325 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54