HomeForum
Welcome, Guest

Trouble importing data into any SQL Server table that has a UNIQUEIDENTIFER column on the table
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Trouble importing data into any SQL Server table that has a UNIQUEIDENTIFER column on the table

Trouble importing data into any SQL Server table that has a UNIQUEIDENTIFER column on the table 1 year, 1 month ago #2519

  • Kelley
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
We are currently evaluating Visual Importer to determine if we can use this as our ETL solution.
I'm having trouble importing data into any SQL Server table that has a UNIQUEIDENTIFER column on the table.
I've tried to set the IDENTITY_INSERT to ON in the Before SQL and then turn it off in the After SQL, but that didn't help.
Can you help me move beyonf this problem?
We're going to buy licenses for the product if we can get it to pass our testing process.

Also, is there any way to import CLOB data from Oracle to SQL Server?

Thanks in advance

Kelley

Re: Trouble importing data into any SQL Server table that has a UNIQUEIDENTIFER column on the table 1 year, 1 month ago #2520

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
UNIQUEIDENTIFER field has nothing to do with IDENTITY_INSERT ON

It is completely different field type

I guess your UNIQUEIDENTIFER is a primary key

What you can do is assign default to it by modifying table structure
us newid() as default

or if you are not allowed to modify the table
set mapping type to SQL function and use newid() again

See picture attached

Mike
Attachments:
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

Visual Importer ETL  saved us 25-30 hours per month. Much of that comes from being able to build in error checking into the scripting. I've even been able to script corrections that run on the fly triggered by the error checking on incoming order files.

Gene Kovacs,
Director of Technical Business Operations,
A2B

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