Is something like this possible?

 set @name = 'name';

 set @s = create table x (@name int);

 prepare stmt from @s;

 execute stmt;


The reason, I'm interested is if I have to change a column name, my views
break.

I'm ok rerunning the views,  I just don't want to have to chase down all
views where the column name is no longer the same.

Thoughts?

What I really what is a complete oop solution for table and view creation
using mysql.

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to