&
Best unofficial Apache Server developers community
Username
Remember me?
Password
Forgot password?
Create an account
List archives
Videos
Answers
Questions
Unanswered
Tags
Ask Question
stored-procedures
1
vote
1
answer
37
views
MySQL - Stored procedure - union selects then update and insert
I need to create a MYSQL stored procedure which will use a UNION query to find an email address in one of five tables. Once the email address is…
mysql
stored-procedures
update
insert
resultset
asked
June 23, 2011 11:26 pm CDT
Adrienne Boswell
0
votes
0
answers
36
views
DBI begin_work doesn't work with stored procedure calls
I am trying to make a call to a stored procedure from with in a transaction in its simplified form: my $dbh= DBI->connect(............ ); my $sth…
mysql
perl
stored-procedures
dbi
autocommit
asked
June 23, 2011 8:28 am CDT
LAJ
0
votes
1
answer
44
views
MySQL: One stored procedure for several tables
I need to perform the same procedure for several tables in my DB. The poblem is that that procedure contains the following line: DECLARE tableIt…
mysql
sql
stored-procedures
cursor
asked
June 22, 2011 9:29 pm CDT
GetFree
0
votes
1
answer
33
views
Incorrect number of arguments for PROCEDURE
Have not worked with ASP in a very long time and have never dealt with stored procedures. I am sure this is grade 1 stuff. Help will be appreciated.…
mysql
stored-procedures
asp-classic
asked
June 22, 2011 6:58 pm CDT
Barry
0
votes
0
answers
29
views
Mysql stored procedure call unable to access parameter value
I have a stored procedure named create_new_db(p VARCHAR(45)) on mysqldb. The syntax is as follows. DELIMITER $$ CREATE DEFINER=`root`@`localhost`…
mysql
stored-procedures
asked
June 21, 2011 11:00 pm CDT
rusty coder
3
votes
1
answers
27
views
Duplicate a mysql database from within mysql?
This is probably a longshot but.. is it possible to duplicate a whole database layout (tables, view, procedures, everything) with a query or…
mysql
stored-procedures
duplication
asked
June 20, 2011 3:51 pm CDT
steini
0
votes
0
answers
35
views
How can I run multiple Stored Procedures Files & Triggers (.sql) From MySQL Workbench
I am trying to run a set of sql files with stored procedures and triggers in my windows XAMPP environment. Some suggested to me using a batch script…
mysql
stored-procedures
xampp
asked
June 18, 2011 8:45 pm CDT
Sam3k
0
votes
0
answers
35
views
PostgreSQL: Stored Functions
I'm trying to an issue related to following function: CREATE FUNCTION sp_insert_new_user() RETURNS void AS $$ INSERT INTO tbl_user(id, email) VALUES…
postgresql
stored-procedures
asked
June 18, 2011 2:22 pm CDT
Mayank
0
votes
2
answers
37
views
Problem in retrieving the out parameter of a mysql stored procedure through php script
Hi I have a simple MYSQL stored procedure which has an IN (int) and an OUT (int) parameters. I am calling the stored procedure from a PHP script.…
php
mysql
stored-procedures
asked
June 17, 2011 6:59 am CDT
SuryaPavan
0
votes
2
answers
41
views
Which one is faster and best to use in MySQL : Store Procedure or Standard Query?
mysql standard query SELECT ag.`attendance_type`, ag.`description`, COUNT(a.`attendance`) attendance_count FROM `ems_attendance` a RIGHT JOIN…
mysql
query
stored-procedures
asked
June 17, 2011 1:24 am CDT
Madan Sapkota
0
votes
4
answers
27
views
How to subtract a query result from another query result in MYSQL
1st query (select a.cat_id,a.cat_name,a.cat_description,b.subcat_name,b.subcat_description from trade_categories a left outer join…
mysql
query
stored-procedures
subtraction
asked
June 16, 2011 7:55 pm CDT
merlin
0
votes
7
answers
35
views
MySQL stored procedures use them or not to use them
We are at the begining of a new project, and we are really wondering if we should use stored procedures in MySQL or not. We would use the stored…
mysql
database
performance
database-design
stored-procedures
asked
June 16, 2011 3:20 am CDT
Emilio Nicolás
0
votes
2
answers
34
views
Using regular expression within a stored procedure
What is the regular expression pattern that enables every input besides characters? So far this is what i have - CREATE PROCEDURE Paging_Movies…
sql
regex
stored-procedures
asked
June 15, 2011 6:10 pm CDT
kurupt89
0
votes
1
answer
36
views
How to OUT from a stored procedure using LAST_INSERT_ID()
Mysql Version 14.14 Distrib 5.1.41 I have a stored procedure that I am trying to get compiled but an error keeps cropping up. My stored procedure…
mysql
stored-procedures
return
cli
lastinsertid
asked
June 15, 2011 10:47 am CDT
Mallow
0
votes
2
answers
28
views
Mysql stored procedure to get the total count after insertion
I'm stuck on how to get incremented id and max, min, sum or count from the previous insertion statement. Can anyone advice me how to do that in…
mysql
stored-procedures
asked
June 15, 2011 2:04 am CDT
Joe Ijam
0
votes
2
answers
24
views
MySQL Stored Procedure CREATE Error
I have about 2 years of mySQL under my belt but am diving into stored procedures for the first time to create an internal analytic tool for my site.…
mysql
stored-procedures
asked
June 14, 2011 9:22 pm CDT
Matt
0
votes
0
answers
26
views
Coldfusion and mysql procedures
I have mysql procedure called from coldfusion page as below. for some reason procedure executes with cfquery but not using stored procedure. any…
mysql
stored-procedures
coldfusion
asked
June 14, 2011 1:31 pm CDT
jpp
0
votes
1
answers
28
views
Will there any conflict while creating temporary tables in MySql?
Will there any conflict while creating temporary tables of Same name in MySql from different Procedures simultaneously? For Ex :- I'm creating a…
mysql
stored-procedures
temporary-tables
asked
June 14, 2011 6:29 am CDT
Fasal
0
votes
1
answers
49
views
Fixing Broken UTF8 caracters MYSQL
I'm trying to do a procedure capable of convert broken utf8 caracters this is my SP: CREATE DEFINER=`root`@`localhost` PROCEDURE `conversorUTF8`()…
mysql
stored-procedures
utf-8
character-encoding
convert
asked
June 13, 2011 3:12 pm CDT
grteibo
0
votes
1
answer
30
views
Call mysql stored procedure in php
I am trying to call mysql prepare statement and stuck in php error. " Fatal error: Call to a member function prepare() on a non-object in…
mysql
stored-procedures
asked
June 13, 2011 1:39 am CDT
user269867
Pages
:
1
|
2
|
3
|
4
|
5
>
[10]
199
stored-procedures
Tagged:
stored-procedures
Related Tags
mysql
× 175
sql
× 36
php
× 21
postgresql
× 21
triggers
× 11
database
× 11
plpgsql
× 7
cursor
× 5
database-design
× 5
mysql-query
× 4
query
× 4
c#
× 4
jdbc
× 4
mysqli
× 4
mysql-error-1064
× 3
sql-server
× 3
stored-functions
× 3
pdo
× 3
database-queries
× 3
view
× 3
events
× 3
java
× 3
transactions
× 2
concat
× 2
temporary-tables
× 2
delimiter
× 2
error
× 2
python
× 2
if-statement
× 2
English
Russian
Copyright 2007 - 2012
Best unofficial Apache Server developers community
Privacy policy