December 5, 2008 at 11:01 pm
hi,
my sql out put is something like as follows:
in last row of my output i want to replace TERMINATOR="\t" with TERMINATOR="\r"
how can i do this...pls help me
bhushan
December 6, 2008 at 2:02 am
bhushanhegde (12/5/2008)
hi,my sql out put is something like as follows:
in last row of my output i want to replace TERMINATOR="\t" with TERMINATOR="\r"
how can i do this...pls help me
bhushan
Please repost in this thread. I don't see anything to work with above.
December 6, 2008 at 2:43 am
can u please write your query code?
December 6, 2008 at 4:21 pm
BWAA-HAAA! Don't you guys know "vapor-ware" when you see it? It's obviously a "future release". :D:P:hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2008 at 2:41 am
you sure its not dis appearing ink LOL
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
December 7, 2008 at 9:01 pm
from your invisible text i found something, may be you had put tabs in each line which i accidently found while highlighting your post.
so if you want to replace \t (tab) with \r (carriage return from every line, follow this code
declare @text varchar(255)
set @text = 'hi
hello
'
print 'before'
print @text
-- text replace statement
set @text = replace(@text,char(9),char(13))
print 'after'
print @text
by the way, why do you want o replace \t with \r.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply