G
Guest
I'm using VB.Net 2005 and am defining parameters for a stored procedure using
the following code snippet.
MyBase.sqlAddParameter("@strExtension", _
SqlDbType.NVarChar, 4, _
objEmployee.Tables("tblEmployees").Rows(0).Item("Extension"))
In this case I know the length of my variable as 4 charactes long. But, I
also have SQL Variable Types of Image and NText. NText has no defined size,
nore does Image as far as I can tell. What values am I to put in these cases.
Better, yet, where can I find the sizes for all the SQL Server Types for this
statement.
Thanks;.
the following code snippet.
MyBase.sqlAddParameter("@strExtension", _
SqlDbType.NVarChar, 4, _
objEmployee.Tables("tblEmployees").Rows(0).Item("Extension"))
In this case I know the length of my variable as 4 charactes long. But, I
also have SQL Variable Types of Image and NText. NText has no defined size,
nore does Image as far as I can tell. What values am I to put in these cases.
Better, yet, where can I find the sizes for all the SQL Server Types for this
statement.
Thanks;.