Re: Storing Logic In a Field (per row)
David,
Having inserted the criterion for 'Michael' into users ...
SELECT accessexpression INTO @expr
FROM users
WHERE name='Michael';
SET @sql = CONCAT( 'SELECT ', @expr );
PREPARE stmt FROM @sql;
EXECUTE stmt;
DROP PREPARE stmt;
PB
http://www.artfulsoftware.com
Subject
Written By
Posted
February 02, 2008 09:26PM
Re: Storing Logic In a Field (per row)
February 03, 2008 02:27AM
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.