RE: SQLPutData against MSSQL view
- From: changliw@xxxxxxxxxxxxxxxxxxxx (Charles Wang[MSFT])
- Date: Wed, 17 Jan 2007 04:26:49 GMT
Hi,
From your description, I understand that:You application failed to insert data by using SQLPutData against view
column with MDAC; however you could do that with SQL Native Client.
If I have misunderstood, please let me know.
To find the root cause of this issue, I would like to confirm with you the
following questions:
a) What is the version of your SQL Server?
b) Could you manage to perform the insert operation by specifying the
parameter with SQL_LONGVARCHAR?
I believe that SQL_VARCHAR cannot be used on text/binary/image columns in
MDAC. SQL Native Client can support varchar(max), so it most likely support
using SQL_VARCHAR on text columns. However I have not found any public
documents clearly talking about this. I will consult product team to
confirm this and let you know the result as soon as possible.
If you have any other questions or concerns, please feel free to contact us.
Charles Wang
Microsoft Online Community Support
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
.
- Follow-Ups:
- Re: SQLPutData against MSSQL view
- From: KM
- Re: SQLPutData against MSSQL view
- References:
- SQLPutData against MSSQL view
- From: KM
- SQLPutData against MSSQL view
- Prev by Date: SQLPutData against MSSQL view
- Next by Date: Re: SQLPutData against MSSQL view
- Previous by thread: SQLPutData against MSSQL view
- Next by thread: Re: SQLPutData against MSSQL view
- Index(es):
Relevant Pages
|