BleepingComputer.com: Advanced Sql Query

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Advanced Sql Query Looking to truncate one field into another.

#1 User is offline   Aldark 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 7
  • Joined: 31-August 07

Posted 12 September 2007 - 01:03 AM

I have a requirement to pull information straight from oen field in a table with all the data, then another that is to just select the last 3-digits of the same field and put it in a different output column.

For example if my fieldX contained AXX001-234, the other field needs to report just the 234.

Any way to do that with a SQL query?


/using MSSQL Server 2000

#2 User is offline   Aldark 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 7
  • Joined: 31-August 07

Posted 12 September 2007 - 12:48 PM

GOT IT - nevermind

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users