I'm using VB.Net 2005 and am defining parameters for a stored procedure using
the following code snippet.
MyBase.sqlAddPa rameter("@strEx tension", _
SqlDbType.NVarC har, 4, _
objEmployee.Tab les("tblEmploye es").Rows(0).It em("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.sqlAddPa rameter("@strEx tension", _
SqlDbType.NVarC har, 4, _
objEmployee.Tab les("tblEmploye es").Rows(0).It em("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;.
Comment