Hi All,
Despite spending the past six to seven hours perusing the docs on the
mySQl site, I still have questions unanswered, and have been unable to
get any help. I am familiar with Sybase, some Oracle and PostgreSQL -
but the mySQL SQL seems a bit "non-standard". I would be very grateful
for any help I get in answering these questions:
Stored procedures
==================
1). can a stored procedure return a data set (i.e. a recordset - one or
more rows )?
2). if yes to question 1, how does one know how many rows were returned?
3). if yes to question 1, how does one access the fields (i.e. columns)
in the returned data ?
4). is it possible to declare an array type as a variable to use within
a stored procedure?
user defined functions (same questions as for stored procedures)
================================================== =====
1). can a UDF return a data set (i.e. a recordset - one or more rows )?
2). if yes to question 1, how does one know how many rows were returned?
3). if yes to question 1, how does one access the fields (i.e. columns)
in the returned data ?
4). is it possible to declare an array type as a variable to use within
a UDF?
tia 1 1571
E.T. Grey wrote: Hi All,
Despite spending the past six to seven hours perusing the docs on the mySQl site, I still have questions unanswered, and have been unable to get any help. I am familiar with Sybase, some Oracle and PostgreSQL - but the mySQL SQL seems a bit "non-standard". I would be very grateful for any help I get in answering these questions:
Stored procedures ================== 1). can a stored procedure return a data set (i.e. a recordset - one or more rows )? 2). if yes to question 1, how does one know how many rows were returned? 3). if yes to question 1, how does one access the fields (i.e. columns) in the returned data ? 4). is it possible to declare an array type as a variable to use within a stored procedure?
user defined functions (same questions as for stored procedures) ================================================== ===== 1). can a UDF return a data set (i.e. a recordset - one or more rows )? 2). if yes to question 1, how does one know how many rows were returned? 3). if yes to question 1, how does one access the fields (i.e. columns) in the returned data ? 4). is it possible to declare an array type as a variable to use within a UDF?
tia
As these are MySQL questions, try asking in comp.databases.mysql.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
================== This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: slash |
last post by:
Hi ,
Im new to MySql and i have no idea how to convert a sql server user
defined function to MySql. Can any one help me..
CREATE FUNCTION ChildCategories (@categoryId int, @taxId int,...
|
by: Dave |
last post by:
1) I know that we can define an external proc to be Fenced or NotFenced on
"CREATE PROCEDURE" command.
I don't see the FENCED / NOT FENCED option on "Create Procedure" for SQL
stored procs.
Is...
|
by: Michael |
last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP,
I am unable to find out why the "Build for Debug" option within Stored
Procedure Builder is not enabled on Java stored...
|
by: Burt |
last post by:
I'm a stored proc guy, but a lot of people at my company use inline
sql in their apps, sometimes putting the sql in a text file, sometimes
hardcoding it. They don't see much benefit from procs, and...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |