Search notes:

SQL Server: SET SHOWPLAN_ALL / SHOWPLAN_TEXT / SHOWPLAN_XML

Do not execute SQL statements, but show the SQL statement's estimated execution plan.
create table tq84_tab_c (
   id      integer       primary key,
   val_a   varchar(10),
   val_b   numeric
);

create table tq84_tab_d (
   id      integer        foreign key references tq84_tab_c,
   val_1   varchar(10),
   val_2   numeric
);
go
set showplan_all on
go

select
   c.id,
   c.val_a,
   c.val_b,
   d.val_1,
   d.val_2
from
   tq84_tab_c  c                  join
   tq84_tab_d  d on c.id = d.id;
go

set showplan_all off
go
set showplan_text on
go

select
   c.id,
   c.val_a,
   c.val_b,
   d.val_1,
   d.val_2
from
   tq84_tab_c  c                  join
   tq84_tab_d  d on c.id = d.id;
go

set showplan_text off
go
set showplan_xml on
go

select
   c.id,
   c.val_a,
   c.val_b,
   d.val_1,
   d.val_2
from
   tq84_tab_c  c                  join
   tq84_tab_d  d on c.id = d.id;
go

set showplan_xml off
go
drop table tq84_tab_d;
drop table tq84_tab_c;

See also

With set statistics profile on, SQL Server executes an SQL statement and then shows the information found in the actual execution plan.
The SET statement

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