labtech
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
sp_RunCommandLocation
Parameters
Name
Type
Mode
LID
int
IN
COM
int
IN
Par
varchar(200)
IN
UID
int
IN
Definition
BEGIN INSERT IGNORE INTO commands (command,Parameters,computerid) SELECT COM,Par,computerid FROM usersec JOIN Computers USING (ComputerID) WHERE Computers.LocationID=LID AND usersec.userid = UID AND (Permission & 4)=4; END