Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Problem with processing multiple tabs
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

getsaby
Starting Member

11 Posts

Posted - 09/02/2006 :  15:41:32  Show Profile  Reply with Quote
I have this EXCEL file, with lot of records,
some of the records are empty i.e having no values in it.
The excel file is TAB delimited, so for No record value, it insert TAB and each records also is seperated by a TAB field to.

So when I load this data into table, The empty row gets filled up with the record which is right to it. There is a left shift..
Below is the code..........
I load data from the EXCEL file into this BIG field which is of
varchartype(8000) and then using cursor,to seperate field
and load it into another table.

Edited by - getsaby on 09/05/2006 17:35:20

SwePeso
Patron Saint of Lost Yaks

Sweden
30421 Posts

Posted - 09/04/2006 :  06:03:47  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Heard of BCP or OPENROWSET?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22864 Posts

Posted - 09/05/2006 :  20:47:07  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000