martedì 19 febbraio 2013

T-SQL, Executing DOS Command

The seguente T-SQL Script shows how execute DOS Command:


declare  @temptb as table (id int identity, valore varchar(255))
insert into @temptb exec xp_cmdshell 'ipconfig'
select * from @temptb

My Two Cents ...

Nessun commento:

Posta un commento