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
 help me for function

Author  Topic 

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2007-06-12 : 02:44:38
Dear experts,
I've posted my request already,
and now i'm trying like this...
i'm trying to write a function, to cliculate the difference between the from_no and to_no
can i use this logic.....

if
@diff(@from_no-@to_no)>10000

now i dont know exactly how can i go further....
please help me in this regard

Vinod
Even you learn 1%, Learn it with 100% confidence.

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-06-12 : 02:53:44
just reply to your thread http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=84863.
Do you still required the function ?


KH

Go to Top of Page
   

- Advertisement -