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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Recursive functions

Author  Topic 

saint_cyrils
Starting Member

1 Post

Posted - 2005-09-23 : 03:53:06
Please i don't know if anyone has tried writing recursive sql function. I am having problems with doing that. pls if u have any tips on how 2 go about it, don't hesitate 2 help me out. thanks

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-09-23 : 07:25:06
It can be done, but it would be better if you described what you're trying to do (meaning, why do you need a recursive function). The SQL language is markedly different from other programming languages, and rarely supports the same types of programming constructs as effectively as they do.
Go to Top of Page

DonAtWork
Master Smack Fu Yak Hacker

2167 Posts

Posted - 2005-09-23 : 08:58:33
SQL is not a real languge. It has no structure, and you cannot query with it. Try a real programming language!

The above is sarcasm, gleaned from real life. A friend of mine, long ago, praised ORACLE as the ONLY database worth anything. I asked him what was wrong with SQL, and that was his reply.

Help us help YOU!
Read this blog entry for more details: http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspx

*need more coffee*
SELECT * FROM Users WHERE CLUE > 0
(0 row(s) affected)
Go to Top of Page
   

- Advertisement -