Solved

VB.net SQL staging tables

Posted on 2014-10-20
3
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

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:Murray Brown
ID: 40394229
Thanks very much
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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 video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

622 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