website problem

Results 1 to 2 of 2
  1. #1
    Valued Member Edison is offline
    MemberRank
    Feb 2009 Join Date
    135Posts

    website problem

    i have this error when someone going to register " Syntax error converting the varchar value 'UnitedKingdom' to a column of data type int." how do i fix it?


  2. #2

    Re: help me with my website please

    go to sql query and runs this query
    Code:
    SELECT dbo.tblQuestionnaireNP.[id], FirstName + ' ' + LastName AS Name, CompanyName, CASE
    WHEN Cast(Q2a As Varchar) = '0' THEN 'No'
    WHEN Cast(Q2a As Varchar) = '1' THEN 'Yes'
    ELSE CAST(Q2a AS VARCHAR)
    END
    AS Q2a
    FROM dbo.tblQuestionnaireNP



Advertisement