HomeForum
Welcome, Guest

please advice
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: please advice

please advice 5 years, 8 months ago #183

  • jm68
Could you please let me know why you have to use ODBC for Add new records and Update old records? why you can't use the same connection?

Can you select to skip ROWS from Execel before importing?

Could you please let me know if I can change this 0-42563-06804-2 into 042563068042 before importing?

Whould you say that your Visual Importer is my best bet to import update del
records in MSSQL from Excell
Thank you
John

RE: please advice 5 years, 8 months ago #189

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Could you please let me know why you have to use ODBC for Add new records and Update old records? why you can't use the same connection?

MS Sql connection uses bcp interface to load data into the database.
This interface was designed by Microsoft especially for fast data load.
Unfotuntately it is not posssible to use it to perform updates, therefore you have to use Odbc connection instead.

Can you select to skip ROWS from Execel before importing?
you can use filter for that

GetSystemVariable('RECORDNUMBER')>10

Could you please let me know if I can change this 0-42563-06804-2 into 042563068042 before importing

You can use calculated fields for that

Replace(String,OldPattern,NewPattern):String

Mike

RE: please advice 5 years, 8 months ago #198

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Correction to previous message

This will filter first 10 records

StringToInteger(GetSystemVariable('RECORDNUMBER'))>10

RE: please advice 5 years, 8 months ago #202

  • jm68
Sience I am new to all this could you please advise me how to transalate
this Replace(String,OldPattern,NewPattern):String into my real example
change this 0-42563-06804-2 into 042563068042 before importing?
Thank you
John

RE: please advice 5 years, 8 months ago #209

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Hi

For the field you want to load into
set mapping type to calcuated
type in calculation box
Replace("[F1]","-","")
where [F1] is your source field

There is an example in documentaion "How to perform calculations"

Mike
  • Page:
  • 1
Time to create page: 0.17 seconds

Testimonials

"I've been very impressed with Advanced ETL Processor. It is extremely powerful and can validate and transform practically any data set you work with."

David Gig,
Director of Information Technology

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