Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPLIT /Merge
Message
 
 
To
01/05/2005 21:52:33
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
01010062
Message ID:
01010063
Views:
35
This message has been marked as the solution to the initial question of the thread.
DECLARE @str varchar(16), @i int
SET @str = 'DEMO'
SET @i = 1
WHILE (@i <= DATALENGTH(@str))  BEGIN
	PRINT SUBSTRING(@str, @i,1)
	SET @i = @i + 1
END
> do we any split function ? let say split('DEMO') then it will return
> Row1 D
> Row2 E
> Row3 M
> Row4 O
>
> It tried it on PERL using Pattern Matching. Do we any equivalent in SQL or Foxpro? or any script that do.
> thank in advance
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform