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.
| 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. |
 |
|
|
apannu
5 Posts |
Posted - 2008-04-18 : 15:12:04
|
| excel |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2008-04-18 : 15:12:50
|
| Post some sample data from the file.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
apannu
5 Posts |
Posted - 2008-04-18 : 15:12:52
|
| its a kind of form |
 |
|
|
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 |
 |
|
|
apannu
5 Posts |
Posted - 2008-04-18 : 15:52:46
|
quote: Originally posted by tkizer Post some sample data from the file.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/
its like:Date: xxx Client ID ():xxx Project Name: xxx Client Information Company Name:xxx Department:xxx |
 |
|
|
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 KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
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=49926Search at www.vbcity.com to get some code related to read the data not in tabular formatMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|