I need a list of all the SQL types and their .NET (vb would be preferred, but C# also works for me) equivalent.
+3
A:
Take a look at: http://msdn.microsoft.com/en-us/library/ms131092.aspx
Andy West
2009-11-27 03:04:28
That list is for .NET 1.1, and doesn't include things like XML...
RickNZ
2009-11-27 08:27:43
You can find other framework versions from the linked page....
RickNZ
2009-11-27 14:11:42
+1
A:
Here's a list for .NET 3.5 / ADO.NET / SqlClient provider:
http://msdn.microsoft.com/en-us/library/cc716729.aspx
In addition, when dealing with ADO.NET parameters, keep in mind that you can specify varchar(max) or nvarchar(max) by using -1 as the length.
RickNZ
2009-11-27 08:26:56