dbTalk Databases Forums  

guid column turns into varchar(8)

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss guid column turns into varchar(8) in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Carl Henthorn
 
Posts: n/a

Default guid column turns into varchar(8) - 05-08-2006 , 05:03 PM






When I create a table in data pump, my source table has two guid columns that
are transformed into varchar(8) when the destination table is created. why is
this happening and how do I stop it?
thanks! this happens when I use dbase 4 and dbase 5 drivers.

Reply With Quote
  #2  
Old   
Carl Henthorn
 
Posts: n/a

Default RE: guid column turns into varchar(8) - 05-09-2006 , 11:42 AM






I see what is happening. the GUID columsn are really uniqueidentifier values.
the dbase driver doesnt recognize this and, since the test table is empty,
estimates varchar(8) as the most likely datatype. When I substitute
VarChar(50) for the GUID inthe create table statement, the destination table
builds correctly.

"Carl Henthorn" wrote:

Quote:
When I create a table in data pump, my source table has two guid columns that
are transformed into varchar(8) when the destination table is created. why is
this happening and how do I stop it?
thanks! this happens when I use dbase 4 and dbase 5 drivers.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.