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)
 query help

Author  Topic 

kiran
Starting Member

30 Posts

Posted - 2005-02-13 : 19:58:01
I have a column with a value "page1.html#page2.html#page3.html....."
This value represents a list of pages with delimeter #.

I need a SQL Query to split this value into rows with each page name in every row? something like

page1.html
page2.html
page3.html
.
.

Thanks in advance...

nr
SQLTeam MVY

12543 Posts

Posted - 2005-02-13 : 20:17:50
see
http://www.mindsdoor.net/SQLTsql/ParseCSVString.html

also
http://www.mindsdoor.net/SQLTsql/f_GetEntryDelimiitted.html

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -