<?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; Is Cursor Database Object or Datatype</title>
	<atom:link href="http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vivian</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-55490</link>
		<dc:creator>Vivian</dc:creator>
		<pubDate>Tue, 01 Sep 2009 18:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-55490</guid>
		<description>I just wanted to commend you for your excellent articles. They have been very helpful and informative.</description>
		<content:encoded><![CDATA[<p>I just wanted to commend you for your excellent articles. They have been very helpful and informative.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brijnandan</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-53289</link>
		<dc:creator>brijnandan</dc:creator>
		<pubDate>Sat, 27 Jun 2009 14:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-53289</guid>
		<description>hello sir,
   first of all i want to give u my answer of question &quot;Is Cursor Database Object or Datatype &quot;
i think cursor is a datatype not object because the definition and declaration type is same as other datatype.

now i have a question , i m writing a stored procedure using cursor.

 set  @test_temp_query_one   =  &#039; SET  

@test_temp_count_one  =   CURSOR  FORWARD_ONLY   

STATIC   FOR   SELECT  MAX(FLID)  FROM (  SELECT  TOP  &#039; + 

cast(@VAR_DIVIDE2 as varchar(50))   + &#039;    FLID   FROM  &#039;+   

cast(@var_table as varchar(50))  +&#039;  WHERE    (FLFILENO 

!=&#039; +   cast(@VAR_SLIP_NO as varchar(50))   +&#039;)   ORDER BY   

FLID )  FLID  ;  OPEN  @test_temp_count_one &#039;
                                         
 EXEC    sp_executesql     @test_temp_query_one , N&#039; 

@test_temp_count_one   CURSOR    OUTPUT&#039;,    

@test_temp_count_one     OUTPUT
                                           FETCH   NEXT  FROM    @test_temp_count_one    INTO  @VAR_FILE_RANGE2 



this is a part of the proceduer because it&#039;s so long...

when i am executing this procedure the i got an error 

&quot;Operand type clash: nvarchar is incompatible with cursor&quot;

this pro executing with c#.net pro .

now my question is......

tell me the list of datatype , those incompatible with cursor in sql server 7.0

tahnks in advance</description>
		<content:encoded><![CDATA[<p>hello sir,<br />
   first of all i want to give u my answer of question &#8220;Is Cursor Database Object or Datatype &#8221;<br />
i think cursor is a datatype not object because the definition and declaration type is same as other datatype.</p>
<p>now i have a question , i m writing a stored procedure using cursor.</p>
<p> set  @test_temp_query_one   =  &#8216; SET  </p>
<p>@test_temp_count_one  =   CURSOR  FORWARD_ONLY   </p>
<p>STATIC   FOR   SELECT  MAX(FLID)  FROM (  SELECT  TOP  &#8216; + </p>
<p>cast(@VAR_DIVIDE2 as varchar(50))   + &#8216;    FLID   FROM  &#8216;+   </p>
<p>cast(@var_table as varchar(50))  +&#8217;  WHERE    (FLFILENO </p>
<p>!=&#8217; +   cast(@VAR_SLIP_NO as varchar(50))   +&#8217;)   ORDER BY   </p>
<p>FLID )  FLID  ;  OPEN  @test_temp_count_one &#8216;</p>
<p> EXEC    sp_executesql     @test_temp_query_one , N&#8217; </p>
<p>@test_temp_count_one   CURSOR    OUTPUT&#8217;,    </p>
<p>@test_temp_count_one     OUTPUT<br />
                                           FETCH   NEXT  FROM    @test_temp_count_one    INTO  @VAR_FILE_RANGE2 </p>
<p>this is a part of the proceduer because it&#8217;s so long&#8230;</p>
<p>when i am executing this procedure the i got an error </p>
<p>&#8220;Operand type clash: nvarchar is incompatible with cursor&#8221;</p>
<p>this pro executing with c#.net pro .</p>
<p>now my question is&#8230;&#8230;</p>
<p>tell me the list of datatype , those incompatible with cursor in sql server 7.0</p>
<p>tahnks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laserbaum</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-51047</link>
		<dc:creator>Laserbaum</dc:creator>
		<pubDate>Thu, 16 Apr 2009 18:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-51047</guid>
		<description>I think it&#039;s a database object. Although we define it like a variable, it can contain all the data of all columns retrieved per row and move it into other variables. This can be any datatype!!

So in my mind, it&#039;s a database object and not a datatype (contains more information, and from all different datatypes)</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s a database object. Although we define it like a variable, it can contain all the data of all columns retrieved per row and move it into other variables. This can be any datatype!!</p>
<p>So in my mind, it&#8217;s a database object and not a datatype (contains more information, and from all different datatypes)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - 2008 - Interview Questions and Answers - Part 2 Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-47462</link>
		<dc:creator>SQL SERVER - 2008 - Interview Questions and Answers - Part 2 Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Thu, 26 Feb 2009 11:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-47462</guid>
		<description>[...] Deallocate cursor (Read More Here) [...]</description>
		<content:encoded><![CDATA[<p>[...] Deallocate cursor (Read More Here) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anant Anand Gupta</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-45434</link>
		<dc:creator>Anant Anand Gupta</dc:creator>
		<pubDate>Wed, 07 Jan 2009 14:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-45434</guid>
		<description>I too accept the view of Vivek</description>
		<content:encoded><![CDATA[<p>I too accept the view of Vivek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek Singh</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-42755</link>
		<dc:creator>Vivek Singh</dc:creator>
		<pubDate>Sat, 13 Sep 2008 06:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-42755</guid>
		<description>I think Cursor is a System  DataType not Databse Object.
We create Cursor type Varaibles</description>
		<content:encoded><![CDATA[<p>I think Cursor is a System  DataType not Databse Object.<br />
We create Cursor type Varaibles</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darshanc Shah</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-38445</link>
		<dc:creator>Darshanc Shah</dc:creator>
		<pubDate>Mon, 19 May 2008 13:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-38445</guid>
		<description>hi ammen 
can u plz try this ?

select leavetype,(abs(substring(loofhours,4,5))*100/60) as totalnoofhours from tablename order by totalnoofhours asc;</description>
		<content:encoded><![CDATA[<p>hi ammen<br />
can u plz try this ?</p>
<p>select leavetype,(abs(substring(loofhours,4,5))*100/60) as totalnoofhours from tablename order by totalnoofhours asc;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ameen</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-35566</link>
		<dc:creator>ameen</dc:creator>
		<pubDate>Fri, 25 Apr 2008 11:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-35566</guid>
		<description>can anyone help me about this????</description>
		<content:encoded><![CDATA[<p>can anyone help me about this????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ameen</title>
		<link>http://blog.sqlauthority.com/2008/04/19/sql-server-is-cursor-database-object-or-datatype/#comment-35541</link>
		<dc:creator>ameen</dc:creator>
		<pubDate>Fri, 25 Apr 2008 06:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=575#comment-35541</guid>
		<description>hi ,sir

i have a table named leave having field like leavetype, from, to,
noofhours 
how can i retrive the row by row wise inorder to calculate the noofhours
ie 
these are the data of noofhours field
 10.50 (it equals 10 hours n 30 min)
20.50
12.25

i want to get the each row n split  the 10.50 value to two
ie. 10 n 50 n make a calculation like 50*100/60
ie i want to make the 50 into clock time
after each calculations i want to add all the data
n return the result
how can i do this ............
can u pls help me</description>
		<content:encoded><![CDATA[<p>hi ,sir</p>
<p>i have a table named leave having field like leavetype, from, to,<br />
noofhours<br />
how can i retrive the row by row wise inorder to calculate the noofhours<br />
ie<br />
these are the data of noofhours field<br />
 10.50 (it equals 10 hours n 30 min)<br />
20.50<br />
12.25</p>
<p>i want to get the each row n split  the 10.50 value to two<br />
ie. 10 n 50 n make a calculation like 50*100/60<br />
ie i want to make the 50 into clock time<br />
after each calculations i want to add all the data<br />
n return the result<br />
how can i do this &#8230;&#8230;&#8230;&#8230;<br />
can u pls help me</p>
]]></content:encoded>
	</item>
</channel>
</rss>
