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.
| Author |
Topic |
|
zaidqis
Yak Posting Veteran
63 Posts |
Posted - 2006-05-28 : 17:17:26
|
| hi allthis is my first post i hope you can help memy question is :does t-sql = condition statements and while statments ,for next ..etc ??thank you |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2006-05-28 : 18:16:20
|
it supports whilebut there's usually no need for that.what are you trying to do?Go with the flow & have fun! Else fight the flow Blog thingie: [URL="http://weblogs.sqlteam.com/mladenp"] |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-05-29 : 01:44:55
|
| T-SQL supports if, while, etc. The usage depends on what you want to doMadhivananFailing to plan is Planning to fail |
 |
|
|
zaidqis
Yak Posting Veteran
63 Posts |
Posted - 2006-05-29 : 06:04:52
|
| thank you for answer mei want to do :creat store produce and use parametersif value which user enter it >0 thendo somethingelsedo somethingthat is what i need to dothank you |
 |
|
|
chiragkhabaria
Master Smack Fu Yak Hacker
1907 Posts |
Posted - 2006-05-29 : 06:21:59
|
somthing like this ??If (@pParam >0) Begin --- Enter your code here End Else Begin --- Enter you code hereEnd If Debugging is the process of removing Bugs then i Guess programming should be process of Adding them. |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|