Search notes:

SQL Server: CLR Integration

A limitation of the SQLCLR is that only static methods can be called.

Enabling CLR Integration

sp_configure 'clr enabled', 1
go

reconfigure
go

Levels of trust

Assemblies can be created in one of the following three levels of trust:
create assembly …
WITH PERMISSION_SET = 'EXTERNAL_ACCESS';

See also

sys.assemblies, sys.assembly_files, sys.assembly_references, sys.trusted_assemblies
sp_add_trusted_assembly
The clr strict security server property.
T-SQL
Common Language Runtime

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759323979, '216.73.216.88', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/CLR-Integration/index(68): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78