Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB.net SQL staging tables

Posted on 2014-10-20
3
Medium Priority
?
160 Views
Last Modified: 2014-10-21
Hi

I plan on using a set of tables to upload multiple flat files to SQL.
The files are from SAP and I don't have a full list of the column data types.
Is it ok/advisable to use only text type columns in the staging tables and then convert these
later?
0
Comment
Question by:Murray Brown
3 Comments
 
LVL 52

Accepted Solution

by:
Vitor Montalvão earned 2000 total points
ID: 40393801
I suggest you to load the tables with the SQL Server Import Wizard. It can detect the data types for each column and saves you time and headaches.
0
 
LVL 16

Expert Comment

by:Kamal Khaleefa
ID: 40394157
MAYBE YOU WILL FACE SOME PROBLEMS IF DATA TYPES ARE DIFFERENT

http://msdn.microsoft.com/en-us/library/ms137830.aspx
0
 

Author Closing Comment

by:Murray Brown
ID: 40394229
Thanks very much
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question