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
 SQL Server Development (2000)
 Parsing an IMAGE data type

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-08-24 : 08:24:32
William Zabob writes "I have a 12MB image datatype BLOB stored in a table as one row.
(TAB_Inventory) The data stored is actually a comma-separated data file. There are 43 columns of data. At the end of each row is a . Some of the data rules are as follows:
Strings are enclosed by double quotes ("This is a string")
Commas CAN appear in quoted strings("Hello, this is me")
numerical data is just comma-separated (0.00,3.00,8,)
there can be NULLS (,,,)

My question:
What is the most efficient way of parsing this file out into it's 43 columns using T-SQL in SQL Server? Is there a better way?

Confused in Baton Rouge"

   

- Advertisement -