You are here: Please help in making this function a bit shorter « MySQL Databases « IT news, forums, messages
Please help in making this function a bit shorter

Posted by Andreas Eibach on 07/30/05 18:43

This function is supposed to strip a fixed N characters from the right,
reducing "REWARDING" to "REWARD" with myterm in column C, and N = 3.
Currently I have:

SELECT LEFT (myterm, LENGTH(myterm)-N) from C

Can this be shortened a bit?

Thanks,

Andreas

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация