create procedure GetLogInfo
as
select .* from LogInfo order by LoginTime desc
go
sp_Procoption @ProcName='GetLogInfo'',
@OptionName='Starup' --唯一值是starup,设置存储过程的自动执行状态
@OptionValue='true' --表示选项是设置为开(true or on)还是(false or off)。value为varchar(12)类型,无默认值。