SQLSTATE[42000]: Syntax error or access violation: 1064 Error in setting Variable in bindparam












0















I want to get data from DB and add string to theme and put them in another query . When I run code I've got this error :




Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or
access violation: 1064 You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near ''goldhyipPID', 'goldhyipPayStatus',
programName,'goldhyipLastPayout') VALUES ('1' at line 1 in
C:wamp64wwwallmonitorstest.php on line 69




<?php
set_time_limit(3600);
require_once 'fetchdetails/func.php';
require_once 'config.php';
$stmt = $conn->prepare("SELECT * FROM `monitors`");
$stmt->execute();
$result = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach ($result as $monitor) {
$monitorName = $monitor['monitorName'];
$monitorNamePID = $monitorName . 'PID';
$monitorNameLastPayout = $monitorName . 'LastPayout';
$monitorNamePayStatus = $monitorName . 'PayStatus';
$siteURL = $monitor['monitorurl'];
$pattern1GetPID = $monitor['monitorPatternGetPID'];
$patternLastPayOut = $monitor['monitorPatternLastPayout'];
$patternPStatus = $monitor['monitorPatternPayStatus'];
$patterndetailsurl = $monitor['monitorDetailsLink'];
$patterngotositesurl = $monitor['monitorPatternGoSite'];
$content = getPageContent($siteURL);
preg_match_all($pattern1GetPID, $content, $matches, PREG_SET_ORDER, 0);
foreach ($matches as $pid) {
$id = $pid[1];
$detailsurl = $patterndetailsurl . $id;
$gositesurl = $patterngotositesurl . $id;
$details = getPageContent($detailsurl);
preg_match_all($patternPStatus, $details, $status);
$payingStatusNumber = $status[1][0];
if ($payingStatusNumber == 4) {
$payingStatus = 'Not Paying';
} elseif ($payingStatusNumber == 3) {
$payingStatus = 'Problem';
} elseif ($payingStatusNumber == 2) {
$payingStatus = 'Waiting';
} elseif ($payingStatusNumber == 1) {
$payingStatus = 'Paying';
}
preg_match_all($patternLastPayOut, $details, $payout);
if (isset($payout[1][0])) {
$payoutdate = $payout[1][0];
} else {
$payoutdate = ' Not Set';
};
$stmt2 = $conn->prepare('SELECT * FROM programs where :monitorNamePID=:id');
$stmt2->bindParam('monitorNamePID', $monitorNamePID);
$stmt2->bindParam('id', $id);
$stmt2->execute();
$numofupdates = $stmt2->rowCount();
if ($numofupdates >= 1) {
$stmt3 = $conn->prepare("UPDATE programs SET :monitorNamePayStatus=:payingstatus , :monitorNameLastPayout=:goldhyiplastpayout WHERE :monitorNamePID=:goldhyippid ");
$stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
$stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
$stmt3->bindParam('monitorNamePID', $monitorNamePID);
$stmt3->bindParam('payingstatus', $payingStatus);
$stmt3->bindParam('goldhyiplastpayout', $payoutdate);
$stmt3->bindParam('goldhyippid', $id);
$stmt3->execute();
echo 'P ID Updated : ' . $id . '<br>';
} else {
$siteAddress = get_redirect_final_host_url($gositesurl);
echo $siteAddress;
$stmt3 = $conn->prepare('INSERT INTO programs (:monitorNamePID, :monitorNamePayStatus, programName,:monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');
$stmt3->bindParam('monitorNamePID', $monitorNamePID);
$stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
$stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
$stmt3->bindParam('goldhyippid', $id);
$stmt3->bindParam('payingstatus', $payingStatus);
$stmt3->bindParam('progname', $siteAddress);
$stmt3->bindParam('goldhyiplastpayout', $payoutdate);
$stmt3->execute();
echo 'P ID inserted : ' . $id . '<br>';
}
}
echo "Fetching $siteURL Done <br>";
}


I took details from sql, and add string to them, use in PDO query. When I write column name its ok but when I use Variable I got error.










share|improve this question





























    0















    I want to get data from DB and add string to theme and put them in another query . When I run code I've got this error :




    Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or
    access violation: 1064 You have an error in your SQL syntax; check the
    manual that corresponds to your MySQL server version for the right
    syntax to use near ''goldhyipPID', 'goldhyipPayStatus',
    programName,'goldhyipLastPayout') VALUES ('1' at line 1 in
    C:wamp64wwwallmonitorstest.php on line 69




    <?php
    set_time_limit(3600);
    require_once 'fetchdetails/func.php';
    require_once 'config.php';
    $stmt = $conn->prepare("SELECT * FROM `monitors`");
    $stmt->execute();
    $result = $stmt->fetchAll(PDO::FETCH_ASSOC);
    foreach ($result as $monitor) {
    $monitorName = $monitor['monitorName'];
    $monitorNamePID = $monitorName . 'PID';
    $monitorNameLastPayout = $monitorName . 'LastPayout';
    $monitorNamePayStatus = $monitorName . 'PayStatus';
    $siteURL = $monitor['monitorurl'];
    $pattern1GetPID = $monitor['monitorPatternGetPID'];
    $patternLastPayOut = $monitor['monitorPatternLastPayout'];
    $patternPStatus = $monitor['monitorPatternPayStatus'];
    $patterndetailsurl = $monitor['monitorDetailsLink'];
    $patterngotositesurl = $monitor['monitorPatternGoSite'];
    $content = getPageContent($siteURL);
    preg_match_all($pattern1GetPID, $content, $matches, PREG_SET_ORDER, 0);
    foreach ($matches as $pid) {
    $id = $pid[1];
    $detailsurl = $patterndetailsurl . $id;
    $gositesurl = $patterngotositesurl . $id;
    $details = getPageContent($detailsurl);
    preg_match_all($patternPStatus, $details, $status);
    $payingStatusNumber = $status[1][0];
    if ($payingStatusNumber == 4) {
    $payingStatus = 'Not Paying';
    } elseif ($payingStatusNumber == 3) {
    $payingStatus = 'Problem';
    } elseif ($payingStatusNumber == 2) {
    $payingStatus = 'Waiting';
    } elseif ($payingStatusNumber == 1) {
    $payingStatus = 'Paying';
    }
    preg_match_all($patternLastPayOut, $details, $payout);
    if (isset($payout[1][0])) {
    $payoutdate = $payout[1][0];
    } else {
    $payoutdate = ' Not Set';
    };
    $stmt2 = $conn->prepare('SELECT * FROM programs where :monitorNamePID=:id');
    $stmt2->bindParam('monitorNamePID', $monitorNamePID);
    $stmt2->bindParam('id', $id);
    $stmt2->execute();
    $numofupdates = $stmt2->rowCount();
    if ($numofupdates >= 1) {
    $stmt3 = $conn->prepare("UPDATE programs SET :monitorNamePayStatus=:payingstatus , :monitorNameLastPayout=:goldhyiplastpayout WHERE :monitorNamePID=:goldhyippid ");
    $stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
    $stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
    $stmt3->bindParam('monitorNamePID', $monitorNamePID);
    $stmt3->bindParam('payingstatus', $payingStatus);
    $stmt3->bindParam('goldhyiplastpayout', $payoutdate);
    $stmt3->bindParam('goldhyippid', $id);
    $stmt3->execute();
    echo 'P ID Updated : ' . $id . '<br>';
    } else {
    $siteAddress = get_redirect_final_host_url($gositesurl);
    echo $siteAddress;
    $stmt3 = $conn->prepare('INSERT INTO programs (:monitorNamePID, :monitorNamePayStatus, programName,:monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');
    $stmt3->bindParam('monitorNamePID', $monitorNamePID);
    $stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
    $stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
    $stmt3->bindParam('goldhyippid', $id);
    $stmt3->bindParam('payingstatus', $payingStatus);
    $stmt3->bindParam('progname', $siteAddress);
    $stmt3->bindParam('goldhyiplastpayout', $payoutdate);
    $stmt3->execute();
    echo 'P ID inserted : ' . $id . '<br>';
    }
    }
    echo "Fetching $siteURL Done <br>";
    }


    I took details from sql, and add string to them, use in PDO query. When I write column name its ok but when I use Variable I got error.










    share|improve this question



























      0












      0








      0








      I want to get data from DB and add string to theme and put them in another query . When I run code I've got this error :




      Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or
      access violation: 1064 You have an error in your SQL syntax; check the
      manual that corresponds to your MySQL server version for the right
      syntax to use near ''goldhyipPID', 'goldhyipPayStatus',
      programName,'goldhyipLastPayout') VALUES ('1' at line 1 in
      C:wamp64wwwallmonitorstest.php on line 69




      <?php
      set_time_limit(3600);
      require_once 'fetchdetails/func.php';
      require_once 'config.php';
      $stmt = $conn->prepare("SELECT * FROM `monitors`");
      $stmt->execute();
      $result = $stmt->fetchAll(PDO::FETCH_ASSOC);
      foreach ($result as $monitor) {
      $monitorName = $monitor['monitorName'];
      $monitorNamePID = $monitorName . 'PID';
      $monitorNameLastPayout = $monitorName . 'LastPayout';
      $monitorNamePayStatus = $monitorName . 'PayStatus';
      $siteURL = $monitor['monitorurl'];
      $pattern1GetPID = $monitor['monitorPatternGetPID'];
      $patternLastPayOut = $monitor['monitorPatternLastPayout'];
      $patternPStatus = $monitor['monitorPatternPayStatus'];
      $patterndetailsurl = $monitor['monitorDetailsLink'];
      $patterngotositesurl = $monitor['monitorPatternGoSite'];
      $content = getPageContent($siteURL);
      preg_match_all($pattern1GetPID, $content, $matches, PREG_SET_ORDER, 0);
      foreach ($matches as $pid) {
      $id = $pid[1];
      $detailsurl = $patterndetailsurl . $id;
      $gositesurl = $patterngotositesurl . $id;
      $details = getPageContent($detailsurl);
      preg_match_all($patternPStatus, $details, $status);
      $payingStatusNumber = $status[1][0];
      if ($payingStatusNumber == 4) {
      $payingStatus = 'Not Paying';
      } elseif ($payingStatusNumber == 3) {
      $payingStatus = 'Problem';
      } elseif ($payingStatusNumber == 2) {
      $payingStatus = 'Waiting';
      } elseif ($payingStatusNumber == 1) {
      $payingStatus = 'Paying';
      }
      preg_match_all($patternLastPayOut, $details, $payout);
      if (isset($payout[1][0])) {
      $payoutdate = $payout[1][0];
      } else {
      $payoutdate = ' Not Set';
      };
      $stmt2 = $conn->prepare('SELECT * FROM programs where :monitorNamePID=:id');
      $stmt2->bindParam('monitorNamePID', $monitorNamePID);
      $stmt2->bindParam('id', $id);
      $stmt2->execute();
      $numofupdates = $stmt2->rowCount();
      if ($numofupdates >= 1) {
      $stmt3 = $conn->prepare("UPDATE programs SET :monitorNamePayStatus=:payingstatus , :monitorNameLastPayout=:goldhyiplastpayout WHERE :monitorNamePID=:goldhyippid ");
      $stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
      $stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
      $stmt3->bindParam('monitorNamePID', $monitorNamePID);
      $stmt3->bindParam('payingstatus', $payingStatus);
      $stmt3->bindParam('goldhyiplastpayout', $payoutdate);
      $stmt3->bindParam('goldhyippid', $id);
      $stmt3->execute();
      echo 'P ID Updated : ' . $id . '<br>';
      } else {
      $siteAddress = get_redirect_final_host_url($gositesurl);
      echo $siteAddress;
      $stmt3 = $conn->prepare('INSERT INTO programs (:monitorNamePID, :monitorNamePayStatus, programName,:monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');
      $stmt3->bindParam('monitorNamePID', $monitorNamePID);
      $stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
      $stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
      $stmt3->bindParam('goldhyippid', $id);
      $stmt3->bindParam('payingstatus', $payingStatus);
      $stmt3->bindParam('progname', $siteAddress);
      $stmt3->bindParam('goldhyiplastpayout', $payoutdate);
      $stmt3->execute();
      echo 'P ID inserted : ' . $id . '<br>';
      }
      }
      echo "Fetching $siteURL Done <br>";
      }


      I took details from sql, and add string to them, use in PDO query. When I write column name its ok but when I use Variable I got error.










      share|improve this question
















      I want to get data from DB and add string to theme and put them in another query . When I run code I've got this error :




      Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or
      access violation: 1064 You have an error in your SQL syntax; check the
      manual that corresponds to your MySQL server version for the right
      syntax to use near ''goldhyipPID', 'goldhyipPayStatus',
      programName,'goldhyipLastPayout') VALUES ('1' at line 1 in
      C:wamp64wwwallmonitorstest.php on line 69




      <?php
      set_time_limit(3600);
      require_once 'fetchdetails/func.php';
      require_once 'config.php';
      $stmt = $conn->prepare("SELECT * FROM `monitors`");
      $stmt->execute();
      $result = $stmt->fetchAll(PDO::FETCH_ASSOC);
      foreach ($result as $monitor) {
      $monitorName = $monitor['monitorName'];
      $monitorNamePID = $monitorName . 'PID';
      $monitorNameLastPayout = $monitorName . 'LastPayout';
      $monitorNamePayStatus = $monitorName . 'PayStatus';
      $siteURL = $monitor['monitorurl'];
      $pattern1GetPID = $monitor['monitorPatternGetPID'];
      $patternLastPayOut = $monitor['monitorPatternLastPayout'];
      $patternPStatus = $monitor['monitorPatternPayStatus'];
      $patterndetailsurl = $monitor['monitorDetailsLink'];
      $patterngotositesurl = $monitor['monitorPatternGoSite'];
      $content = getPageContent($siteURL);
      preg_match_all($pattern1GetPID, $content, $matches, PREG_SET_ORDER, 0);
      foreach ($matches as $pid) {
      $id = $pid[1];
      $detailsurl = $patterndetailsurl . $id;
      $gositesurl = $patterngotositesurl . $id;
      $details = getPageContent($detailsurl);
      preg_match_all($patternPStatus, $details, $status);
      $payingStatusNumber = $status[1][0];
      if ($payingStatusNumber == 4) {
      $payingStatus = 'Not Paying';
      } elseif ($payingStatusNumber == 3) {
      $payingStatus = 'Problem';
      } elseif ($payingStatusNumber == 2) {
      $payingStatus = 'Waiting';
      } elseif ($payingStatusNumber == 1) {
      $payingStatus = 'Paying';
      }
      preg_match_all($patternLastPayOut, $details, $payout);
      if (isset($payout[1][0])) {
      $payoutdate = $payout[1][0];
      } else {
      $payoutdate = ' Not Set';
      };
      $stmt2 = $conn->prepare('SELECT * FROM programs where :monitorNamePID=:id');
      $stmt2->bindParam('monitorNamePID', $monitorNamePID);
      $stmt2->bindParam('id', $id);
      $stmt2->execute();
      $numofupdates = $stmt2->rowCount();
      if ($numofupdates >= 1) {
      $stmt3 = $conn->prepare("UPDATE programs SET :monitorNamePayStatus=:payingstatus , :monitorNameLastPayout=:goldhyiplastpayout WHERE :monitorNamePID=:goldhyippid ");
      $stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
      $stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
      $stmt3->bindParam('monitorNamePID', $monitorNamePID);
      $stmt3->bindParam('payingstatus', $payingStatus);
      $stmt3->bindParam('goldhyiplastpayout', $payoutdate);
      $stmt3->bindParam('goldhyippid', $id);
      $stmt3->execute();
      echo 'P ID Updated : ' . $id . '<br>';
      } else {
      $siteAddress = get_redirect_final_host_url($gositesurl);
      echo $siteAddress;
      $stmt3 = $conn->prepare('INSERT INTO programs (:monitorNamePID, :monitorNamePayStatus, programName,:monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');
      $stmt3->bindParam('monitorNamePID', $monitorNamePID);
      $stmt3->bindParam('monitorNamePayStatus', $monitorNamePayStatus);
      $stmt3->bindParam('monitorNameLastPayout', $monitorNameLastPayout);
      $stmt3->bindParam('goldhyippid', $id);
      $stmt3->bindParam('payingstatus', $payingStatus);
      $stmt3->bindParam('progname', $siteAddress);
      $stmt3->bindParam('goldhyiplastpayout', $payoutdate);
      $stmt3->execute();
      echo 'P ID inserted : ' . $id . '<br>';
      }
      }
      echo "Fetching $siteURL Done <br>";
      }


      I took details from sql, and add string to them, use in PDO query. When I write column name its ok but when I use Variable I got error.







      php mysql pdo






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 '18 at 5:44









      Foo

      1




      1










      asked Nov 11 '18 at 5:39









      misagh ahmadimisagh ahmadi

      83




      83
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Column names shouldn't be prepended with a colon. Remove colon : from your column names in both UPDATE and INSERT queries. Binding a table (or column) name doesn't work.



          $stmt3 = $conn->prepare("UPDATE programs SET monitorNamePayStatus=:payingstatus , monitorNameLastPayout=:goldhyiplastpayout WHERE monitorNamePID=:goldhyippid  ");

          $stmt3 = $conn->prepare('INSERT INTO programs (monitorNamePID, monitorNamePayStatus, programName, monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');





          share|improve this answer

































            0














            Binding a table (or column) name doesn't work






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53246148%2fsqlstate42000-syntax-error-or-access-violation-1064-error-in-setting-variabl%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Column names shouldn't be prepended with a colon. Remove colon : from your column names in both UPDATE and INSERT queries. Binding a table (or column) name doesn't work.



              $stmt3 = $conn->prepare("UPDATE programs SET monitorNamePayStatus=:payingstatus , monitorNameLastPayout=:goldhyiplastpayout WHERE monitorNamePID=:goldhyippid  ");

              $stmt3 = $conn->prepare('INSERT INTO programs (monitorNamePID, monitorNamePayStatus, programName, monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');





              share|improve this answer






























                0














                Column names shouldn't be prepended with a colon. Remove colon : from your column names in both UPDATE and INSERT queries. Binding a table (or column) name doesn't work.



                $stmt3 = $conn->prepare("UPDATE programs SET monitorNamePayStatus=:payingstatus , monitorNameLastPayout=:goldhyiplastpayout WHERE monitorNamePID=:goldhyippid  ");

                $stmt3 = $conn->prepare('INSERT INTO programs (monitorNamePID, monitorNamePayStatus, programName, monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');





                share|improve this answer




























                  0












                  0








                  0







                  Column names shouldn't be prepended with a colon. Remove colon : from your column names in both UPDATE and INSERT queries. Binding a table (or column) name doesn't work.



                  $stmt3 = $conn->prepare("UPDATE programs SET monitorNamePayStatus=:payingstatus , monitorNameLastPayout=:goldhyiplastpayout WHERE monitorNamePID=:goldhyippid  ");

                  $stmt3 = $conn->prepare('INSERT INTO programs (monitorNamePID, monitorNamePayStatus, programName, monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');





                  share|improve this answer















                  Column names shouldn't be prepended with a colon. Remove colon : from your column names in both UPDATE and INSERT queries. Binding a table (or column) name doesn't work.



                  $stmt3 = $conn->prepare("UPDATE programs SET monitorNamePayStatus=:payingstatus , monitorNameLastPayout=:goldhyiplastpayout WHERE monitorNamePID=:goldhyippid  ");

                  $stmt3 = $conn->prepare('INSERT INTO programs (monitorNamePID, monitorNamePayStatus, programName, monitorNameLastPayout) VALUES (:goldhyippid, :payingstatus, :progname, :goldhyiplastpayout)');






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 11 '18 at 8:02

























                  answered Nov 11 '18 at 7:55









                  SamirSamir

                  5,3492628




                  5,3492628

























                      0














                      Binding a table (or column) name doesn't work






                      share|improve this answer




























                        0














                        Binding a table (or column) name doesn't work






                        share|improve this answer


























                          0












                          0








                          0







                          Binding a table (or column) name doesn't work






                          share|improve this answer













                          Binding a table (or column) name doesn't work







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 20 '18 at 17:20









                          misagh ahmadimisagh ahmadi

                          83




                          83






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53246148%2fsqlstate42000-syntax-error-or-access-violation-1064-error-in-setting-variabl%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Guess what letter conforming each word

                              Port of Spain

                              Run scheduled task as local user group (not BUILTIN)