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 - 2001-09-10 : 09:12:18
|
| Jamil writes "I'm getting an error when trying to get the current date in a used defined function :Here is my codeDeclare @curDateTime datetimeSet @curDatetIme = GetDate()I'm getting an error : Error 443 :Invalid use of getdate within a function.I have used that many times in stored procedures with no problem but it does not seem to work in a UDF.Why? is there any play around (other than passing the current date as an argument).Thanks" |
|
|
|
|
|