Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Invalid Column Name in ADO

Author  Topic 

mkavous
Starting Member

2 Posts

Posted - 2010-05-26 : 20:32:52

I am using ADO in C++ to update a row in a simple table. On the Update() method I receive a 'invalid column name' for a column I had already deleted from the table. It seems ADO reads the table schema from another source which still contains the column I have dropped.

Anybody encountered the issue? What can I do?

pk_bohra
Master Smack Fu Yak Hacker

1182 Posts

Posted - 2010-05-26 : 23:09:44
You have not mentioned whether you are connecting to SQL Server or any other RDBMS or flat file

I am here to learn from Masters and help new bees in learning.
Go to Top of Page

mkavous
Starting Member

2 Posts

Posted - 2010-05-27 : 03:57:42
quote:
Originally posted by pk_bohra

You have not mentioned whether you are connecting to SQL Server or any other RDBMS or flat file

I am here to learn from Masters and help new bees in learning.



It is SQL Server. Actully I found the problem m yself . It was anything with ADO. I had changed the column but I did not update the Instead of Update trigger I had already defined for the table.

Thanks anyway,
Go to Top of Page
   

- Advertisement -