Search notes:

SQL Server: sqlcmd - colon commands

:connect <server>
Edit the last sql statement. Compare with SQL*Plus' edit command. Apparently, the editor can be configured by setting sqlcmdeditor:
set sqlcmdeditor=notepad
:ed
:error
:exit
:help
:list
:listvar
Compare with :setvar
:on error
:out file.txt
:perftrace
:quit
:r file.sql
:reset
:setvar var value
Compare with :listvar
:xml on
:!!

See also

sqlcmd

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...', 1759345505, '216.73.216.60', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/tools-utilities/sqlcmd/colon/index(86): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78