HomeForum
Welcome, Guest

String Functions
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: String Functions

String Functions 6 years, 11 months ago #61

  • spruitt
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
I am using Visual Importer version 4.5.10 and need to convert data from one Excel row to three SQL Server rows. Here is an example of what I'm trying to do:

Spreadsheet row is city/state/zip: "Houston, TX 77025"
Needs to be split to three SQL table columns: City, State, and Zip. All these columns are String types.

Is there a way to do this?

RE: String Functions 6 years, 11 months ago #62

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
You may use SubString and Pos functions
Following example will return City

SubString("Houston, TX 77025",1,pos(",","Houston, TX 77025")-1)

RE: String Functions 6 years, 11 months ago #63

  • spruitt
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Oh, I overlooked the POS. That's exactly what I was looking for. Thanks.
  • Page:
  • 1
Time to create page: 0.17 seconds

Testimonials

My boss told me to keep looking for a more expensive application, assuming Visual Importer ETL couldn't be very good because the price was just too low.  After testing several imports I convinced him that Visual Importer did everything we want so there was no need to pay for a more expensive solution.

Ron Bradshaw,
IT Reporting Manager,
ConAgra Foods / Lamb Weston

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top