Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Query

Author  Topic 

kulfi
Starting Member

33 Posts

Posted - 2011-05-04 : 09:33:36
First i would like to say that i am new to vb.net
i want to ask one question for example if i am checking a condition in a loop when that condition is true the query should be executed or the query can be specific no need loop.
thanks

Ehsan

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-05-04 : 09:53:29
You mean can you include the condition in the query? yes.
But if ou are doing in vb.net you will have a wasted round trip to the server

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -