Hi All,
I am working on a project at the moment using SQL Server CE and in my login/user details database I have a user table with the individual username as a primary key.
I am trying to query this using entityspaces LoadByPrimaryKe y function, which works fine.... but only if the username is all text, if I throw a numeric character in there it always comes back false.
I can't understand this as they are all essentially characters, the DB knows they are not numeric values, and I have tried explicit convert.toStrin g type methods on the variable being passed, but none of this seems to work.
Does anyone have any ideas/solutions to this kind of thing? Or has anyone experienced it before.
Cheers,
Mark
I am working on a project at the moment using SQL Server CE and in my login/user details database I have a user table with the individual username as a primary key.
I am trying to query this using entityspaces LoadByPrimaryKe y function, which works fine.... but only if the username is all text, if I throw a numeric character in there it always comes back false.
I can't understand this as they are all essentially characters, the DB knows they are not numeric values, and I have tried explicit convert.toStrin g type methods on the variable being passed, but none of this seems to work.
Does anyone have any ideas/solutions to this kind of thing? Or has anyone experienced it before.
Cheers,
Mark
Comment