MySql variable ? please.
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: MySql variable ? please.
No, databases give out what is put into them.  It's not like Excel where you can have separate input (format) and output (text) values.
You can generate calculated values in a SELECT statement, but it cannot be stored (dynamically at least).
Eg

SQL Code
SELECT CONCAT("abc", fid, "def") AS my_field FROM mybb_forums;


My Blog
(This post was last modified: 09-08-2010 09:21 PM by ZiNgA BuRgA.)
09-08-2010 09:19 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
MySql variable ? please. - Firefox Wins - 09-08-2010, 06:49 PM
RE: MySql variable ? please. - ZiNgA BuRgA - 09-08-2010, 07:53 PM
RE: MySql variable ? please. - ZiNgA BuRgA - 09-08-2010 09:19 PM

 Standard Tools
Forum Jump: