gigantorTRON Posted September 5, 2007 Share Posted September 5, 2007 Hey guys... I'm needing to do a SELECT on a table that has a column with data in this form: code-description. I need to take just the part up until the '-' and insert that into a different table. Is there any way to do this in SQL without running a PHP script? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/68054-select-statement-question/ Share on other sites More sharing options...
fenway Posted September 6, 2007 Share Posted September 6, 2007 How was it solved? Don't just mark it without posting the solution. Quote Link to comment https://forums.phpfreaks.com/topic/68054-select-statement-question/#findComment-343327 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.