SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 insert into one table from another select stmt
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sanjeevka08
Starting Member

India
18 Posts

Posted - 10/05/2012 :  03:07:01  Show Profile  Reply with Quote
I have a split function that splits a string with limitter ','. i want to insert entry into table that contains 2 columns with one column id with same value and send column date with data returning from split function

for example..

consider table item

columns-id int, item varchar
table must be like this in one insertion


id item
1 a
1 b
1 c
1 d


this a,b,c,d is returned by function split..
please give me a soluton

bandi
Flowing Fount of Yak Knowledge

India
2218 Posts

Posted - 10/05/2012 :  03:17:21  Show Profile  Reply with Quote
Provide Expected Output.......


--
Chandu
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000