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
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Using SQL query to extract data from Excel

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-11-09 : 07:08:09
Sam writes "I've got a data spreadsheet in Excel (2002) that I need to extract data from to make in to a flat .txt file with some formatting.

I've played around with Words mail merge, but it doesn't give me the option to grab partial data from a field. Like I have one field that I need to extract the first 5 characters for one thing, the next 5 for another and that last 3 for one.

I'll be getting a new file each month with this data and need to run a sql query or something on it to extract just what I need.

Thanks for any help.


Sam"
   

- Advertisement -