sql server - Conversion failed when converting from a character string to a uniqueidentifier while importing table? -


i'm trying import table navicat sql server , error:

[err] [row1] [imp] 42000 - [sql server]conversion failed when converting character string uniqueidentifier.

[err] [row1] [imp]

insert [edfi].[studentschoolassociation]         ([studentusi],[schoolid], [schoolyear],[entrydate],         [entrygradeleveldescriptorid], [entrygradelevelreasontypeid],          [entrytypedescriptorid], [repeatgradeindicator],         [schoolchoicetransfer], [exitwithdrawdate],          [exitwithdrawtypedescriptorid],[residencystatusdescriptorid],          [primaryschool], [employedwhileenrolled],         [classofschoolyear], [educationorganizationid],          [graduationplantypedescriptorid], [graduationschoolyear],         [id], [lastmodifieddate], [createdate])  values ('89', '2',          '2014', '1913-9-9',          '133', null,          '2184038928404', null,          null, null, null, null, null, null, null, null, null, '1776',         '', 0, 0) 

[err] [row1] [imp] 42000 - [sql server]conversion failed when converting character string uniqueidentifier.

the third last column id, not null uniqueidentifier (newid()). want autogenerate these id's, empty in csv file.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -