Solved

VB.net SQL staging tables

Posted on 2014-10-20
3
139 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:murbro
3 Comments
 
LVL 47

Accepted Solution

by:
Vitor Montalvão earned 500 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:murbro
ID: 40394229
Thanks very much
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

776 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