Blog

Articles about IoT, PCB Design, Simulation and Development

4 min read ES CA EN

Control flow constructs

IF, LOOP, ITERATE, LEAVE, REPEAT/UNTIL and WHILE/DO. The IF statement: What is it? It is a statement; IF also exists as a function, and we should not confuse them. Syntax IF searchcondition THEN…

Read more →
2 min read ES CA EN

Cursors

What is a cursor? A cursor allows real-time access to the data of each row in a query. This mechanism is very useful when connecting MySQL with applications or performing complex queries. Declaration…

Read more →
3 min read ES CA EN

Triggers (triggers)

CONCEPTES BÀSICS A trigger is an object associated with a table that is activated when an action occurs against that table. Usage example A trigger is set to fire when we insert a new grade outside…

Read more →
19 min read ES CA EN

User management

MySQL stores user information in the tables of the mysql database (DB). The CREATE USER command creates new MySQL users. To use it, you must have the global CREATE USER privilege or the INSERT…

Read more →
7 min read ES CA EN

Stored procedures and functions

Definition: A stored procedure is a set of SQL commands that can be stored on the server. A stored procedure is a program that is physically saved in a database. Its implementation varies from one…

Read more →
2 min read ES CA EN

Variables and Handlers

VARIABLES Variables are used to store information locally. They can be used to store constants or query results. They are deleted when MySQL is restarted. The definition is divided into three parts…

Read more →
8 min read ES CA EN

VIEWS

With views, we will work with external schemas. To create a view, you need to use the CREATE VIEW statement STRUCTURECREATE VIEW viewname [(columnlist)] AS (query) [WITH CHECK OPTION]; Views do not…

Read more →