Search notes:

SQL Server - T-SQL / statements

alter database …
bulk insert to insert CSV data into a table.
dbcc … are the database console commands.
declare is needed to declare variables or declare is needed to declare variables or cursors.
execute
if to conditionally execute statements depending on a boolean expression.
kill terminates processes.
reconfigure, apparently needed sometimes after executing sp_configure.
set to assign values to variables or to set boolean-like session options.
Wait (sleep) for a given amount of time with waitfor delay.
Report exceptions with the throw statement.
while to iterate over a block of statements until a certain condition becomes false.

Processing modes

The SQL Server Database Engine processes transact-SQL statements in one of two possible processing modes:

See also

T-SQL

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...', 1758199935, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/T-SQL/statements/index(76): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78