‎08-19-2011 04:53 PM
‎08-25-2011 05:21 PM
‎08-25-2011 04:59 PM
CREATE procedure [dbo].[Custom_InsertComputer]
@computer nvarchar(300),
@Domain nvarchar(300)
as
DECLARE @computername int
insert into tblComputers (Computer,Domain,ComputerUnique) values (@computer,@DOMAIN,@domain + '\' + @computer + '\1')
set @computername = @@identity
insert into tblCompCustom (Computername) values (@computername)
‎08-22-2011 06:08 PM
CREATE procedure InsertComputer as
DECLARE @computer nvarchar(300)
set @computer = 'computer'
DECLARE @DOMAIN nvarchar(300)
set @DOMAIN = 'domain'
DECLARE @computername int
insert into tblComputers (Computer,Domain,ComputerUnique) values (@computer,@DOMAIN,@domain + '\' + @computer + '\1')
set @computername = @@identity
insert into tblCompCustom (Computername) values (@computername)
‎08-22-2011 08:52 AM
CREATE procedure InsertComputer as
DECLARE @computer nvarchar(300) = 'computer'
DECLARE @DOMAIN nvarchar(300) = 'domain'
DECLARE @computername int
insert into tblComputers (Computer,Domain,ComputerUnique) values (@computer,@DOMAIN,@domain + '\' + @computer + '\1')
set @computername = @@identity
insert into tblCompCustom (Computername) values (@computername)
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now