<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Data Collector Usage &#8211; Quiz &#8211; Puzzle &#8211; 29 of 31</title>
	<atom:link href="http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #014 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/#comment-416530</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #014 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 02 Feb 2013 01:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16641#comment-416530</guid>
		<description><![CDATA[[...] Data Collector Usage – Quiz – Puzzle – 29 of 31 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Data Collector Usage – Quiz – Puzzle – 29 of 31 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hareesh</title>
		<link>http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/#comment-245826</link>
		<dc:creator><![CDATA[Hareesh]]></dc:creator>
		<pubDate>Mon, 30 Jan 2012 23:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16641#comment-245826</guid>
		<description><![CDATA[Hi Pinal,

I have a query, in one of my informatica mappings wherein SQL server 2008 is the backend, i&#039;m trying to insert rows sequentially by passing parameter values to a stored procedure.

Eg. i have 2 cols like LOW= 5, HIGH=7, it has to pick both parameters and dynamically do an insert of 3 rows sequentially like row1= 5, row2=6 &amp; row3=7, my range is not specified so it will always do be dynamic &amp; do a  
HIGH-LOW, i tried in Oracle it worked and inserted fine, but finding it difficult to do in SQL server, can u please help me out as its urgent and its and priority deliverable.

Also i get alphanumeric values in the range like LOW=S1234 HIGH=S1240 how to split and insert seq. rows?

My Oracle code:
-------------------
CREATE or replace PROCEDURE DMDEV.addrowv2 
(x in VARCHAR2 , y in VARCHAR2)
   AS
A VARCHAR2(10);
B varchar2(10);
  BEGIN
  A := x;
    FOR A in x .. y Loop 
insert into dummy_1 values (A); 
End loop;
end;

Thanks in advance 
Hareesh.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I have a query, in one of my informatica mappings wherein SQL server 2008 is the backend, i&#8217;m trying to insert rows sequentially by passing parameter values to a stored procedure.</p>
<p>Eg. i have 2 cols like LOW= 5, HIGH=7, it has to pick both parameters and dynamically do an insert of 3 rows sequentially like row1= 5, row2=6 &amp; row3=7, my range is not specified so it will always do be dynamic &amp; do a<br />
HIGH-LOW, i tried in Oracle it worked and inserted fine, but finding it difficult to do in SQL server, can u please help me out as its urgent and its and priority deliverable.</p>
<p>Also i get alphanumeric values in the range like LOW=S1234 HIGH=S1240 how to split and insert seq. rows?</p>
<p>My Oracle code:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
CREATE or replace PROCEDURE DMDEV.addrowv2<br />
(x in VARCHAR2 , y in VARCHAR2)<br />
   AS<br />
A VARCHAR2(10);<br />
B varchar2(10);<br />
  BEGIN<br />
  A := x;<br />
    FOR A in x .. y Loop<br />
insert into dummy_1 values (A);<br />
End loop;<br />
end;</p>
<p>Thanks in advance<br />
Hareesh.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
