상세 컨텐츠

본문 제목

memberList

청강컴정/09DataBase기말고사

by luckey 2009. 6. 6. 10:57

본문

create proc memberList
as
begin
 select
  mName+'('+mNickName+')' as mName,
  mID,
  left(mBirthday,4) +'년' + substring(mBirthday,6,2) + '월' + right(mBirthday, 2) + '일' as mBirthday,
  convert(char(16), mRegDate, 120) as mRegDate,
  mVisit,
  ERC_DB.dbo.YorN(mMailling) as mMailling
  from member order by mRegDate desc
end

관련글 더보기

댓글 영역