Friday, March 9, 2012

Missing SqlDataReader.GetSqlMetaData() in April CTP

Where did the GetSqlMetaData method go? I am trying to compare the SQL data types of two different columns to ensure compatibility prior to data transfer. The closest thing I can find in the April CTP is the DataReader.GetSchemaTable() which describes the columns' data types in .NET data types, not SQL data types. Any suggestions?

SMX_Mark wrote:

Where did the GetSqlMetaData method go? I am trying to compare the SQL data types of two different columns to ensure compatibility prior to data transfer. The closest thing I can find in the April CTP is the DataReader.GetSchemaTable() which describes the columns' data types in .NET data types, not SQL data types. Any suggestions?


I believe it was cut at the same time as the merge between the server and client provider happened.
Niels

No comments:

Post a Comment