posts - 50, comments - 105, trackbacks - 346

My Links

News

Article Categories

Archives

Post Categories

Image Galleries

Friends Blog

SQL Server Extended Procedure- usage of Built-in

http://www.devarticles.com/c/a/SQL-Server/Extended-Stored-Procedures-Intro-And-10-Cool-Examples/

Authors gives good brief on 10 cool features in SQL Server repository.

xp_fileexist filename [, OUTPUT]
exec master..xp_fileexist 'c:\test.file'

xp_regread root_key, path_key, key_value
master..xp_regread 'HKEY_LOCAL_MACHINE', 'SYSTEM\Setup', 'SystemPartition'

exec master..xp_repl_encrypt @cardNumber1 output

exec master..xp_dirtree 'c:\mydir'

set @xml = ''
exec sp_xml_preparedocument @id output, @xml
select * from OpenXML(@id, '/people/person')

exec master..xp_availablemedia


declare @netname varchar(20)
exec master..xp_getnetname @netname output
print 'The name of my SQL Server is ' + @netname

xp_logevent {error_number, 'message'} [, 'severity']

exec master..xp_terminate_process 3812

exec master..xp_cmdshell @command

echo off
@echo You passed in %1
Now, enter the following code into Query Analyzer and run it:
declare @arg1 varchar(20)
declare @command varchar(50)
set @arg1 = 'Hello'
set @command = 'c:\testbat.bat ' + @arg1
exec master..xp_cmdshell @command


 




 

Print | posted on Thursday, September 09, 2004 3:41 PM | Filed Under [ SQLServer ]

Feedback

Gravatar

# re: SQL Server Extended Procedure- usage of Built-in

fdgdfg
6/5/2006 11:45 PM | tworzenie stron
Gravatar

# re: SQL Server Extended Procedure- usage of Built-in

vecchiegrassone porn chinitas putas ragazze che leccano culi di ragazze ipertoys sessocartoni foto fighe gallerie sublime ma sex lesbiche spogliarello nudiste depilate inchiodare dito caldo de culo fotodidonneconlagonna superevaquartierialucirossemonacodibaviera donne grasse con grossi clitoridi tuttosessogratis pompini ubriache transessualigiapponesi buchidiculorotti arrapate nere coppie esibizioniste in lombardia grassoccie sexi moglie insoddisfatta webcam intime sexi icone casalinghe over seghe likeable tedesco maledica obese troie estremo foto scopare con donne vecchie sitipornoculicazzifotovideogtatis pube rasato torta mandorla annunci gratis di pornocasalinghe solo seni ultra grandi lesbo la porcellone mature tettone video sborrate femminili freevideoschizzate omosessuali sborrati le ragazze anoressiche michelleferraritrailer racconti erotici di cognate la mia sborra rumene sexo film xxxx trans gratuit fotodifighepelosenere vendita corrispondenza camice donna stella nel vento 60 fighe da sballo video di cinesi lesbiche
10/13/2007 2:44 AM | WWW

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 1 and 3 and type the answer here:

Powered by: