Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


2000 to 2005: "INITCOLVS is not a recognized built-in function name"


2000 to 2005: "INITCOLVS is not a recognized built-in function name"

Author
Message
Yelena Varshal
Yelena Varshal
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3480 Visits: 593
Hello,

One of our applications the FoxPro-based has a problem inserting data when tested with SQL Server 2005. The production version works with SQL Server 2000 without problems. The error message from ODBC SQL Server Driver is:
"INITCOLVS is not a recognized built-in function name"

This problem is the same as in one of the posts on another forum here:
http://www.sqlservercentral.com/Forums/Topic268895-148-1.aspx#bm269880

I did do a search, on the web it looks like related to the replication (?) but no solutions were provided. There are very few posts on the subject and BOL does not contain any reference on this function.

The production database does participate in the merge replication, but the database in 2005 is not replicating, it is just an individual copy of the database moved to the test 2005 environment. Also, the insert problem happens only on one table. Other tables in 2005 do allow insert through the application.

Please, let me know if anybody else has experience with this error message.


Regards,
Yelena Varshal

eroll
eroll
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 42
Hi,

I ran into this problem as well while using a backup/restore method to put a SQL 2000 DB into my development environment which used a SQL 2005 server.

After some research followed by some testing, it appears this error is caused by some legacy triggers used for merge replication created by SQL 2000. In the simplest sense, you can delete the offending trigger off of the table you are attempting to insert into on your SQL 2005 db, but this is certainly not the best fix in my mind as every table that is replicated will have errors inserting new records due to this trigger (or it's table-specific variation).

I have read some posts relating this issue to the level of compatibility of the database, and I have tried both 80 (sql2000) and 90 (sql2005) as well as running a Copy DB with the higher level of compatibility, but in both cases the triggers and inherent errors still exist.

So for the time being I will remove this offending trigger (ins_******************) and drive on, but if anyone knows of a better or more complete solution, please let us know!

Thanks,

Erik Roll
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search