mysql-function Questions
3
I am trying to create a MySQL function using phpMyAdmin and getting this error.
#1415 - Not allowed to return a result set from a function
The function code is as below:
DELIMITER $$
CREATE FUN...
Corene asked 9/8, 2012 at 9:22
20
Solved
How can I see the list of the stored procedures or stored functions in mysql command line like SHOW TABLES; or SHOW DATABASES; commands.
Alexandrine asked 9/4, 2009 at 8:43
2
Solved
I am working with existing project, and I am found a sql query with sql-function like
SELECT * FROM money WHERE amount = float_convert(0.1);
This Query is Working Properly, But I want to see and e...
Yu asked 6/9, 2014 at 6:38
4
Solved
I am trying to create a function in MySQL:
Here is the SQL code:
CREATE FUNCTION F_Dist3D (x1 decimal, y1 decimal)
RETURNS decimal
DETERMINISTIC
BEGIN
DECLARE dist decimal;
SET dist = SQRT(x1 -...
Betide asked 19/7, 2011 at 0:10
2
Solved
DELIMITER //
CREATE FUNCTION fnc_credit_custstatus
RETURNS VARCHAR(6) DETERMINISTIC
BEGIN
DECLARE custstatus VARCHAR(6);
IF CustCredit>='1000',THEN SET custstatus='VIP';
ELSEIF CustCredit...
Liggins asked 30/4, 2020 at 7:40
4
Solved
I have browsed around and other solutions don't seem to be working for me here. I keep getting a 'No return found for function' error when trying to create this function in MySQL. Any idea why?
CRE...
Ballman asked 17/9, 2012 at 1:11
8
Solved
I got confused with a seemingly simple concept. MySQL defines deterministic function as a function that:
always produces the same result for the same input parameters
So in my understanding, func...
Macfarlane asked 30/10, 2011 at 17:27
9
Solved
While importing the database in mysql, I have got following error:
1418 (HY000) at line 10185: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logg...
Ethnography asked 24/9, 2014 at 10:57
1
What will be the best way to include the result with dollar sign?
I was using something like CONCAT('£', SUM(Deposits)) AS TotalDeposits but it seems not working.
Tarn asked 8/9, 2020 at 21:7
1
© 2022 - 2025 — McMap. All rights reserved.