title: SSMS Invalid column name
body: <p>I have this table here:
  <a href="https://i.stack.imgur.com/G8gn0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G8gn0.png" alt="enter image description here" /></a></p>
  <p>and the SessionId is autoincremented.
  When I try adding a session:</p>
  <pre><code>srDataAccessManager.addSession = function(title,speakerId,cbfSuccess,cbfError){
      _makeSQLRequest(&quot;INSERT INTO dbo.Session (Title, SpeakerId, SessionState) values(&quot; + title+ &quot;,&quot; + speakerId+ &quot;,'Created')&quot;,cbfSuccess,cbfError);
  }
  
  function _makeSQLRequest(sqlString,cbfSuccess,cbfError){
      sql.close();
  
      sql.connect(config,(err)=&gt;{
          if(err) 
              cbfError(err);
          else{ 
              var request = new sql.Request();
              request.query(sqlString, (err,result) =&gt;
              {
                  if(err)
                      cbfError(err);
                  else                    
                      cbfSuccess(result);
              });
          }
      });
  
  } 
  </code></pre>
  <p>I get this error:</p>
  <p><a href="https://i.stack.imgur.com/zgWph.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zgWph.png" alt="enter image description here" /></a></p>
  <p>I don't understand where this error is coming from.  Is it because i didn't add the id in the insert string? I didn't enter the id as I thought that I don't need any when the SMMS takes care of the id. I already checked the datatypes of my input and it is a string and a int so I doubt it that its because of the data types. Any suggestions?</p>