It must have something to do with the drivers CF uses to connect to MS
SQL then.

> I had the same thing with two I created, but a third
> didn't suffer from
> needing the owner. I didn't look any further at the
> reasons at the time. The
> only thing that springs to mind is that the site requiring
> the owner prefix
> had CF connecting as a user where as the other one didn't.

> Ade

> -----Original Message-----
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: 25 February 2005 01:22
> To: CF-Talk
> Subject: RE: Calling SQL User Defined Functions from
> Coldfusion


> I wrote a SQL Server UDF just the other day to remove time
> information
> from a date column... pretty straightforward...

> <cfquery ...>
>       select mydatecolumn, x, y, z
>       from mytable
>       group by dbo.trimDate(mydatecolumn), x, y, z
> </cfquery>

> In my experience I had to specify the owner of the
> function for SQL
> Server to find it -- I'm not sure why this is as our CF
> sql server
> login is the dbo on the database. It may have something to
> do with the
> fact that we use a single CF DSN and reference the
> fully-qualified
> table names, i.e. databasename.dbo.tablename.


s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:196464
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

Reply via email to