Find Jobs
Hire Freelancers

Import CSV to SQL Server 2008

$10-30 USD

In Progress
Posted almost 8 years ago

$10-30 USD

Paid on delivery
I have a csv file that has inconsistent quotes throughout. Whenever a certain column has a thousands seperator it surrounds the column with quotes, but when it has no comma it does not. The bulk import feature of SQL Server 2008 cannot handle this. I need a solution that takes the import of a csv file and loads it to my sql table correctly. I will include a script of the table and a sample CSV file. I have tried the SQL command BULK IMPORT, but it cannot handle the inconsistent quotes. I would be ok with a php page solution like this: [login to view URL] CREATE TABLE [dbo].[StagingTransactions]( [RefID] [varchar](50) NOT NULL, [CheckIn] [varchar](50) NULL, [CheckOut] [varchar](50) NULL, [NumberofNights] [varchar](50) NULL, [PaymentDate] [varchar](50) NULL, [PaymentType] [varchar](50) NULL, [PropertyID] [varchar](50) NULL, [GuestName] [varchar](50) NULL, [PaymentMethod] [varchar](50) NULL, [TaxableRevenue] [varchar](50) NULL, [NonTaxableRevenue] [varchar](50) NULL, [Tax] [varchar](50) NULL, [PaidByGuest] [varchar](50) NULL, [TransactionFee] [varchar](50) NULL, [DepositAmount] [varchar](50) NULL, [Currency] [varchar](50) NULL, [ReservationID] [varchar](1100) NULL
Project ID: 10497984

About the project

4 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $31 USD for this job
User Avatar
Hello. I can do this within the next 2 hours. and you only pay for results. if you agree, let me know and I will start right away.
$35 USD in 1 day
5.0 (19 reviews)
4.7
4.7
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
5.0 (1 review)
0.4
0.4
User Avatar
Hi, do you need one time solution? just to have corrected csv or you need a method?
$35 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Walled Lake, United States
5.0
55
Payment method verified
Member since Apr 19, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.