Your example is confusing. The SQL statemets are not correct to begin with. Are you trying to get the recommendation from the table goodrec where your score or value equals 1 or 3??
if so your sql should read:
Select GoodRec.Recommendation[1] ' for recommendation1
FROM GoodRec where value =...
here is my dilemia
I open a recordset and I need to determine if my value is numeric, date, or char. It works as long as I do not have a number in a text field. The statement sees this as a numeric value yet it is not. Any suggestions on how I tell the code to treat this as a text?
Oh yes...
I have an ASP page with an input field that will input a date. In my SQL 7.0 database i allows NULLS in my field that is set to datatype datetime. But when i do an INSERT or an UPDATE to the database, and this input field is left blank, it automatically in inserting the date 1/1/1900. Does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.