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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-09-28 : 07:21:12
|
| Amit writes "Q. Can we use newid() function in the user defined function ?- if it is then how to be- if not then how to generate functionality like newid ?" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2006-09-28 : 07:22:15
|
| 1. No, and 2. Why create a new function that does the same thing as an existing one?Can you explain what you're trying to accomplish, and why you can't use NEWID() for the purpose? |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-09-28 : 08:00:53
|
| You cant use non-deterministic functions like Getdate(), Newid() in a FunctionGive us more details on what you are trying to do MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|