Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conversion from Numeric to Decimal on Import

Status
Not open for further replies.

shaunk

Programmer
Aug 20, 2001
402
AU
I am using the DTS Import/Export Wizard to import selected tables from our Production region to our Training region.
The task completes successfully, but converts all the fields in the 'Source' table of type numeric(5) to decimal(5).
This has an impact on a crystal report I am using in that the linkages are failing.
Any ideas ? Thanks.
 
The table field you are importing into is probably defined as decimal.

You can try casting the value CInt(field_name) during import by using an ActiveX script but this won't help if importing into a decimal field.
 
What's the impact on a crystal report, decimal and numeric are synonyms in sql server, should think it wouldn't make a difference for crystal.

Cheers


[blue]Backup system is as good as the latest recovery[/blue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top