M
Marc Scheuner [MVP ADSI]
Folks,
Try this: if you have a stored proc on your SQL Server 2000 with a
parameter of type TEXT, and if you then use a
SqlCommandBuilder.DeriveParameters call to determine the stored proc's
parameters, you'll end up getting an entry for that parameter in
question of type "VARCHAR", with a size of 2 billion (2 GByte of
chars).
Needless to say, this doesn't work - any idea why SqlCommandBuilder
doesn't recognize TEXT parameters, and properly convert them to
parameters with a SqlDbType of "Text" ??
Anyone else seen this? We're using VS.NET 2002, with the 1.0 .NET
Framework. Hsa this been fixed in the 1.1 .NET framework maybe??
Thanks!
Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
Try this: if you have a stored proc on your SQL Server 2000 with a
parameter of type TEXT, and if you then use a
SqlCommandBuilder.DeriveParameters call to determine the stored proc's
parameters, you'll end up getting an entry for that parameter in
question of type "VARCHAR", with a size of 2 billion (2 GByte of
chars).
Needless to say, this doesn't work - any idea why SqlCommandBuilder
doesn't recognize TEXT parameters, and properly convert them to
parameters with a SqlDbType of "Text" ??
Anyone else seen this? We're using VS.NET 2002, with the 1.0 .NET
Framework. Hsa this been fixed in the 1.1 .NET framework maybe??
Thanks!
Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch