• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Split text into number and text

Guest
May 22, 2006 May 22, 2006

Copy link to clipboard

Copied

Hi ,

My problem is something like this....." 5 feet 6 inch ". This is a single string(varchar). since i cannot calculate value (6*5) here .i need to make it taking from database separate. And later calculate value.Is there any possibility throught which i can do something like that.?

Thanks in advance.
TOPICS
Advanced techniques

Views

175

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 22, 2006 May 22, 2006

Copy link to clipboard

Copied

LATEST
I could do it for that particular record, but unless every record has the same structure, it will be tough if not impossible. How is the data getting into the db to start with? If you are accepting free text, you might get values like five ft seven, five and a half ft, etc.

Is it too late to re-design the db so that you have a numeric field for that measurment?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation