Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Stored Procedure
-- ///////////SCHEMA/////////////////////////////////////////////////// CREATE TABLE Animals (animal varchar(255), legs int, colour varchar(255)) ; CREATE TABLE ObjectPermissions (animal varchar(255), permission varchar(255), record int, test1 varchar(255), test2 varchar(255), test3 varchar(255) ) ; INSERT INTO Animals (animal, legs, colour) VALUES ('cat', 4, 'red'), ('bird', 2, 'yellow'), ('dog', 4, 'red'), ('deer', 4, 'red'), ('fish', 0, 'blue'), ('dingo', 4, 'yellow') ; select * from animals -- //////////////////////////////////////////////////////////////////// GO CREATE PROCEDURE sp_getAllAnimals AS SELECT * FROM animals; EXEC sp_getAllAnimals
run
|
edit
|
history
|
help
0
a
Exam
cinema latinoamericano
db6
Null as default value
Digital Innovation One - SQL Server _2
1512081 QUAN LY DE TAI
2021-03-23_LeetCodeSQL
MyWall
Uzd