2005 express 를 사용하고 있는데요~ 동시 여려명(10정도)이 접속을 하면 뷰테이블이 생성이 안되는 현상이 있는데요~
뷰테이블 생성하는 권한이 따로 뭐가 있나요??
select convert(char(8),getdate(),112), convert(char(8),getdate(),8)
into :s_day, :s_tm
from sysobjects;
s_hhmm = Mid(s_tm,1,2) + Mid(s_tm,4,2)
i_sec = Integer(Mid(s_tm,7,2))
i_cnt = -1
messagebox('1',s_day +'--'+s_tm)
Do While i_cnt <> 0
s_ViewTable = "v_" + s_day + s_hhmm + String(i_sec,"00")
messagebox('2',s_ViewTable)
select count(*)
into :i_cnt
from sysobjects
where xtype = 'V'
and name = :s_ViewTable;
i_sec++;
Loop
return s_ViewTable
이런식으로 해서 뷰테이블 이름을 만들어서 사용을 합니다.
아시는분 답변좀 부탁드립니다.

