-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Srinivas_MCP
Message 3 in Discussion

Hi guys,  No need to give more burden on front-end side it tends to performance 
issue too, write this in Database. I hope this will help you to will get clear 
with your problem.   create table #tmp (num int)
declare @str varchar(500)
select @str = '1,2,3,4,5,6,7,8,9,0'
declare @sql varchar(8000)
select @sql = 'insert into #tmp select '+ replace(@str,',',' union all select ')
exec ( @SQL )
select * from #tmp
if object_id('tempdb..#tmp') is not null
 begin drop table #tmp end   Regards, G.Srinivasa Rao Sr.Software Engineer (MCP)

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to