MySQL and Numbers
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62754
interpreted = N
texte = I know this has been covered before but I didn't get the glue ...WebDNA has problems in showing up the correct value from a MySQL Database if the field is a number field (FLOOD, DECIMAL, INT, ...)In my case it's a field holding the price for an item.My query lokks like this:SELECT ean,price FROM table01 WHERE id=1;so I tried as described earlier in the list:SELECT ean,FORMAT(price,2) FROM table01 WHERE id=1;orSELECT ean,FORMAT(price,2) AS PERCENT FROM table01 WHERE id=1;in both cases WebDNA will not know the field "price" and is displaying it within the brackets: [price]How do you do that?Thierry-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I know this has been covered before but I didn't get the glue ...WebDNA has problems in showing up the correct value from a MySQL Database if the field is a number field (FLOOD, DECIMAL, INT, ...)In my case it's a field holding the price for an item.My query lokks like this:SELECT ean,price FROM table01 WHERE id=1;so I tried as described earlier in the list:SELECT ean,FORMAT(price,2) FROM table01 WHERE id=1;orSELECT ean,FORMAT(price,2) AS PERCENT FROM table01 WHERE id=1;in both cases WebDNA will not know the field "price" and is displaying it within the brackets: [price]How do you do that?Thierry-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Thierry Almy
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
GuestBook example (1997)
[WebDNA] WebDNA Crashing or Not **YES** (2008)
WebTrends (2002)
Don't know if this is a sily question... (2003)
Re1000001: Setting up shop (1997)
Updating a database once per day - An example (1998)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
[WebDNA] Dreamweaver Tag Libraries and Snippets (2011)
update on wn searching (1997)
WebCommerce: Folder organization ? (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Storebuilder Quickie (2003)
Need relative path explanation (1997)
Almost a there but..bye bye NetCloak (1997)
TCP Connect/send and CGI (2003)
Good vs. Bad; also [setHeader] (2002)
Talk List Suggestions (1997)
Multiple Pulldowns (1997)
DOS variable bug (was SandBox and ImageMagick) (2003)
Signal Raised (1997)