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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Split text every 250 characters and save
 Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 11/30/2012 :  08:47:29  Show Profile

I have a column with long text, which I would like to split into columns text1, text2, etc by making a split every 250 characters. Then I would like to save text1, text2, etc together with one other variable as a new table. I've tried to write a script (I guess I'll just need 2 lines really?) with which I can implement that in SQL Browser, but haven't succeeded so far. Would anyone know how to do this?
Thanks so much, JZ

Flowing Fount of Yak Knowledge

United Kingdom
3385 Posts

Posted - 11/30/2012 :  09:00:10  Show Profile  Visit nigelrivett's Homepage

Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Topic Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000