executing string selects in stored procedure
Posted by:
D T
Date: November 29, 2005 10:31AM
I am used to writing stored procedures in microsoft sql server, where it is possible to write
declare sqlStr varchar(100);
set sqlStr = "select * from tablename";
execute (sqlStr)
is it possible to do this in mysql?
i need to write something along the lines of
if (a is not null) then
set sqlSTr = sqlSTr + parameter value
end if
thanks
Subject
Views
Written By
Posted
executing string selects in stored procedure
2048
November 29, 2005 10:31AM
1409
November 29, 2005 01:53PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.