class_docstr: This handler handles connection and execution of the Microsoft SQL Server statements. 
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Microsoft","SQL","Server","statements","."]
docstr: Handles the connection to a SQL Server insance.
docstr_tok: ["Handles","the","connection","to","a","SQL","Server","insance","."]
code: def connect(self):
      """
      Handles the connection to a SQL Server insance.
      """
      if self.is_connected is True:
          return self.connection
  
      self.connection = pymssql.connect(**self.connection_data)
      self.is_connected = True
  
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/mssql_handler/mssql_handler.py
imports: from contextlib import closing
  import pymssql
  import pandas
  from mindsdb_sql import parse_sql
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.utilities import log
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
label_desc: Use image node_id 3 for calling the SqlServerHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self