Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1001579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:41:48+00:00 2026-05-16T07:41:48+00:00

![alt text][1]Hi, please give me the SQL code to copy and paste. I need

  • 0

![alt text][1]Hi, please give me the SQL code to copy and paste. I need to get the desired output, per the photo link http://i566.photobucket.com/albums/ss105/nrfollowup1/delete.jpg

I need to remove all characters after and including the dash

SELECT SYSADM_PURC_ORDER_LINE.PURC_ORDER_ID
FROM SYSADM_PURC_ORDER_LINE;

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:41:48+00:00Added an answer on May 16, 2026 at 7:41 am
    SELECT IIF(INSTR(s.PURC_ORDER_ID,'-'),MID(s.PURC_ORDER_ID, 1, INSTR(s.PURC_ORDER_ID,'-')-1), s.PURC_ORDER_ID) as DesiredOutput
    FROM SYSADM_PURC_ORDER_LINE.PURC_ORDER_ID s;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 495k
  • Answers 495k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Aha - If I scan through FormFields instead of Fields… May 16, 2026 at 11:20 am
  • Editorial Team
    Editorial Team added an answer You need to change the font family of your dialog… May 16, 2026 at 11:20 am
  • Editorial Team
    Editorial Team added an answer I believe this is also browser dependant, the implementations vary… May 16, 2026 at 11:20 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I need write a console application like as hiren boot screen: alt text http://xahoithongtin.com.vn/Images/diembao/2006_10/Hiren2.jpg
I have a problem with this very simple block of code. please give me
And can you give me an example of an algorithm? alt text http://ryancalderoni.com/archive/ideal_curve.jpg EDIT:
alt text http://img153.imageshack.us/img153/9417/snapshotapp.jpg How can i fetch the value 500 to a variable from
Is This use case is correct/proper according to UML? if not please give some
I create a List with 11 values. The first element contains some text (Please
I've got a database in production for nearly 3 years, on Sql 2008 (was
I am working on an XSL development and I am in need of knowing
This is a followup/post question to another question; as I have discovered a solution
I'm a beginner at this. I'm using mysql connector .net to connect vb.net with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.