SQL EXEC Keyword
The EXEC command is used to execute a stored procedure in SQL Server. Stored procedures are not supported in SQLite, which is the database engine used in the TechKubo playground.
SQL EXEC Syntax
SQL
x
1
EXEC procedure_name
SQL EXEC Example
This example works in SQL Server, MySQL, or Oracle, but not supported in SQLite:
SQL
1
1
EXEC SelectAllStudents
Note: This example does not work in SQLite or the TechKubo playground because stored procedures and the
EXEC
command are not supported. Use regular SQL queries instead.