This is not a CLR UDF, any RDBMS UDF function , by definition, cannot change the state of a database, i.e. includes:
- DELETE, INSERT, UPDATE (i.e. DML),
- calls the stored procedure
- constantly change the value of the server environment variable,
- ...
( , ) (, GETDATE(), NEWID() ..).
:
, SQL Server 2008 .
UDF , .
:
SELECT OBJECTPROPERTY(OBJECT_ID('dbo.FunctionName'),'IsDeterministic')