Update MySQL Table using NodeJS

In this tutorial, we will study how to update the records of the table using the Nodejs application. Update the table from NodeJS program To update the records in the table, the UPDATE statement will be used. We will update the table using the update.js file. The javascript code for the following is: Here we …

Update MySQL Table using NodeJS Read More »

Create MySQL tables using Nodejs

In this tutorial, we will learn how to create tables in the MySQL database server from the Nodejs application. Connecting to MySQL database server First of all, we connect our Nodejs application to the MySQL database server. For that, the code given below will set up the connection. Here we have first connected to the …

Create MySQL tables using Nodejs Read More »

MySQL RENAME TABLE Statement

MySQL provides us multiple options to do the same operation but in slightly different ways. The MySQL RENAME TABLE is an alternative option we can use to rename the tables as well to perform other operations. In this tutorial, we will learn about the RENAME TABLE statement and its uses. We will start with the …

MySQL RENAME TABLE Statement Read More »