跟小D每日学口语

请博客园的高手们帮忙看一个问题 为什么 set datefirst 1 写到存储过程中就不起作用了.

为什么 set datefirst 1 写到存储过程中就不起作用了.

set datefirst 1

select @@datefirst  返回 1

create procedure setdatefirst
as
set datefirst 1  

execute setdatefirst   返回结果还是7,没有改过来

 这是为什么呀.

posted @ 2009-09-09 16:03  carelesswords  阅读(1443)  评论(5编辑  收藏  举报