CoderWannaBe
.Net blog

SQL Server Compatability Settings and Table Valued Functions

May 11, 2010 23:03 by bstinson
I had an issue today where an outer apply on a table valued function kept giving me strange errors.  After wasting about 30 minutes trying to figure out what I had done wrong, I Googled it and found a few small passing references to the database setting (under properties - options) for compatability mode.  Sure enough, when I looked at the setting, it was set for SQL Server 2000 (80) and this is a 2005 database.  When the DBA upgraded our databases from 2000 to 2005, he "forgot" to change this.  I had him make the change and now the outer apply with a table function now works.  Cool

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories:
Actions: E-mail | Permalink | Comments (2) | Comment RSSRSS comment feed

Related posts

Comments

May 31. 2010 11:59

Gravatar

hi i got a problem when i tried to subscribe to your rss feed. i try it again later regards

ab pro

June 1. 2010 13:09

Gravatar

Thanks for writing about this. There's a bunch of important tech information on the internet. You've got a lot of that info here on your web site. I'm impressed - I try to keep a couple blogs somewhat current, but it's a struggle sometimes. You've done a solid job with this one. How do you do it?

Scrap Gold Value

Comments are closed