python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Mysql-how to assign value from a field of select into local variable?
I'm trying to assign a value from a field of a select statement to a local variable in my trigger. Does it have any way to do that?
Any help would be very appreciated
My trigger
DELIMITER $$
CREATE T...
Phan Quang Thang
Votes: 0
Answers: 0
Stored procedure that only updates chosen column if user is allowed
I need to write a stored procedure that would allow a user to change the values in a table, but only in certain rows. Basically this is for investigators to define the sensor parameters they want and ...
João Tavares
Votes: 0
Answers: 2
My SQL Workbench: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 60
I have an issue when connecting to the database. Last week everything is running well. However, today I tried to connect again and it appeared the messages like: Lost connection to MySQL server at 'wa...
Thompson Phung
Votes: 0
Answers: 1
MySQL stored procedure with transaction syntax error
I have actually moved to MySQL from SQL Server and it looks like the SQL syntax is quite different, I'm having hard time to complete creating the below stored procedure as I'm get different kind of er...
Abed Ajarmeh
Votes: 0
Answers: 1