Hehe.... i just found the solution for my problem:
Just added connection property
CLIENT_MULTI_STATEMENTS=true
After this calls to stored procs work in TZQuery
Search found 6 matches
- 14.11.2006, 11:02
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL Storedprocedures
- Replies: 16
- Views: 4166
- 14.11.2006, 10:29
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL Storedprocedures
- Replies: 16
- Views: 4166
- 14.11.2006, 09:50
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL Storedprocedures
- Replies: 16
- Views: 4166
functions via select, procedures via call like i wrote above: call spMySuperSP(param); :) I'm writing megasecure app with all its logic on server side, so my app will communicate with db hrough sp calls not via select/insert/update an so on. That's why i'm asking about full sp support, not only one ...
- 14.11.2006, 09:26
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL Storedprocedures
- Replies: 16
- Views: 4166
example
Code: Select all
DELIMITER $$
DROP PROCEDURE IF EXISTS `test`.`spMySuperSP`$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `spMySuperSP`()
READS SQL DATA
BEGIN
select * from b;
END$$
DELIMITER ;
- 14.11.2006, 09:21
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL Storedprocedures
- Replies: 16
- Views: 4166
zippo Procedures do not return values if I'm not wrong - functions do that. Functions returns only scalar data types, but procedures returns data through OUT or INOUT parameters or returns datasets like SELECT operator, but i can not use 'call spMySuperSP(param);' in TZQuery, cause mysqlerror "...
- 14.11.2006, 08:53
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL Storedprocedures
- Replies: 16
- Views: 4166