On Wednesday 09 November 2005 03:11, simmyana a wrote: > Hi, > I have created an UDF in MS sql and I want to use it in coldfusion while > writing the query. could you please tell me as how to use UDF of MS Sql in > Coldfusion?
If you can type it into whatever database tool you use, you can use it in <cfquery... Typicaly, the contents of cfquery will look like: select myFunction() as result from dual or select myFunctionForThisColumn(columnName) as result from tableName if it acts on a table/column. -- Tom Chiverton Advanced ColdFusion Programmer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223686 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