Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upsizing GUID to UniqueIdentifier
Message
De
14/09/2005 13:34:11
 
 
À
14/09/2005 13:27:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01049183
Message ID:
01049561
Vues:
42
Yes, you can specify the transformation with DTS, but if you have a c(36) field on the VFPOLEDB side you do not have the option of picking uniqueid and if you pick binary you get a binary(1)

It is true you can modify the script and I think that the c(36) can be cast there, but the purpose here is to automate that process and it is just faster to import the data as c(36) and then open the SQL Server table designer and just change the data type there.


>BTW I don't know VFP's upsizing wizard but I think with SQL DTS you can specify datatype for SQL server side.
>With VFP's upsizing wizard I remember "generate code". Take that code and change SQL server type to be uniqueidentifier (and possibly ROWGUIDCOL) and run with osql,isql or query analyzer (or even VFP).
>Cetin


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform