I
isee
Hi
If I have program like this
command.CommandText = "select * from users where
user_type in pUserType)"
then I want to pass value "type1,type2" to the the
parameter
What's the right way to do this
command.Parameters.Add("pUserType",
OracleType.VarChar).Value = "type1,type2"?
or
command.Parameters.Add("pUserType",
OracleType.VarChar).Value = "'type1','type2'"?
I have tried both of them, neither of them worked.
If I have program like this
command.CommandText = "select * from users where
user_type in pUserType)"
then I want to pass value "type1,type2" to the the
parameter
What's the right way to do this
command.Parameters.Add("pUserType",
OracleType.VarChar).Value = "type1,type2"?
or
command.Parameters.Add("pUserType",
OracleType.VarChar).Value = "'type1','type2'"?
I have tried both of them, neither of them worked.