Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Importing from Excel 2000

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-12-13 : 09:50:01
Martin writes "Hi I am using SQL 2K and I tried to import data from Excel. Its work fine but one cell contain number with decimal.

Ex:

22.3 from excel SQL show 22 in a int
22,3 from excel SQL show 223 in a int

Thanks"

shankarc
Starting Member

37 Posts

Posted - 2001-12-13 : 10:37:39
When you import data using the DTS Export/Import utility you can specify the destination table field's datatype.

In the DTS wizard, when you select the Source & destination, there is a option to view the transformation(i.e how source table columns are transformed to destination table columns). You can click that button and click EditSQL button to edit the SQL script.

Go to Top of Page
   

- Advertisement -