Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column is read only
Message
 
 
To
12/03/2008 21:32:26
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01301620
Message ID:
01301702
Views:
9
>When I was using the VFPOleDB data provider to access VFP data from my application, from VB.NET, I was able to update a data row. So, assuming I was having a SQL like this:
>
>
>SELECT MyTable.Numero,0 AS Enabled FROM MyTable
>
>
>I was then able to do this:
>
>
>toRow("Enabled") = 1
>
>
>where toRow is a data row of one record from the SQL result.
>
>However, with the SQLClient data provider, I obtain a message that says:
>
>"Column 'Enabled' is read only."
>
>How can I workaround that?

Did you look into creating an updatable view in SQL Server 2005 and using it instead of the base table?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform