Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Import txt files to SQL DB

$
0
0

Hi,

I have a text file extract from a different SQL server and am trying to import the same to our Data Warehouse server.

But it's importing them all as varchar(50) and I want it to keep the types for all the columns, including INT, BIT, Date, DateTime and so on. Is there an easier way to get that done?

I have VS 2012 installed and also SQL server mgmt tools on my Laptop.

Thanks,

Shabbir


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>