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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 import unnormalised data into sql server 2005 from

Author  Topic 

apannu

5 Posts

Posted - 2008-04-18 : 09:40:33
i wat to import data into sql server 2005,problem is data is not in tabular form.,can anyone help???

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-04-18 : 09:43:17
what is your source? is it some flat file? then use SSIS or export/import file.
Go to Top of Page

apannu

5 Posts

Posted - 2008-04-18 : 15:12:04
excel
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-04-18 : 15:12:50
Post some sample data from the file.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

apannu

5 Posts

Posted - 2008-04-18 : 15:12:52
its a kind of form
Go to Top of Page

apannu

5 Posts

Posted - 2008-04-18 : 15:40:52
Date: xxxxx Client ID (office only): xxxx
Project Name: xxxxx


Client Information

Company Name: xxxxxxx Department: xxxxx
Go to Top of Page

apannu

5 Posts

Posted - 2008-04-18 : 15:52:46
quote:
Originally posted by tkizer

Post some sample data from the file.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/




its like:

Date: xxx Client ID ():xxx
Project Name: xxx

Client Information

Company Name:xxx Department:xxx
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-04-18 : 16:11:04
It is not going to be easy to get that data imported into SQL Server. I believe you are going to need to parse the file programmatically. Hopefully you have some programming experience to do it.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-04-19 : 03:00:27
If the data in tabular format, you can use OPENROWSET specified here http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Search at www.vbcity.com to get some code related to read the data not in tabular format

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -