labtech
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
sp_RunCommandLocation
Parameters
Name
Type
Mode
LID
int(11)
IN
COM
int(11)
IN
Par
varchar(200)
IN
UID
int(11)
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