database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
ㆍSybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Sybase Q&A 3889 게시물 읽기
No. 3889
sp_depends 관련 질문 입니다.
작성자
spectra
작성일
2009-09-11 10:52
조회수
7,165

sp_depends 오브젝트명

이러면 오브젝트에 관련된 모든 오브젝트가 나오는 프로시저로 알고 있는데 이게 모든 오브젝트를 보여주지 않고 있습니다

제가 알기론 sp_depends A

라고 하면 A  테이블이 사용된 모든 트리거 , 프로시저가 나오는것으로 알고 있는데 빠지는 경우가 있는데 왜 그런 것일까요?

현재 버전은 12.5.3 버전 입니다.

이 글에 대한 댓글이 총 1건 있습니다.

sp_depends 프로시저는 "sysdepends" table에서 찾아 dependency를 결정 합니다.

만약 Object의 생성 순서가 바뀌면 ,report되지 않습니다.


1> sp_depends test1

2> go

Things inside the current database that reference the object.

 object       type            

 ------------ ----------------

 dbo.test_prc stored procedure

The specified column (or all columns, if none was specified) in test1 has no

dependencies on other objects, and no other object depends on any columns from

it.

(return status = 0)

1> drop table test1

2> go

1> create table test1 ( a int, b int)  

2> go

1> sp_depends test1

2> go

Object doesn't reference any object and no objects reference it.

The specified column (or all columns, if none was specified) in test1 has no

dependencies on other objects, and no other object depends on any columns from

it.

(return status = 0)

Chandad(ChanDad)님이 2009-09-11 12:16에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
3892DB의 log 사용률 알 수 있는 방법은? [1]
sybase
2009-09-16
6650
3891Orange for Sybase IQ 2009 출시 [2]
Kenny B. Kim
2009-09-14
10483
3890sybase를 처음 접하는 개발자에게 자료 부탁드립니다. [1]
황은숙
2009-09-14
7032
3889sp_depends 관련 질문 입니다. [1]
spectra
2009-09-11
7165
3888sybase isql문 해석 부탁드립니다~ [1]
이정민
2009-09-10
6579
3877left(substr) 함수 관련 [2]
sybase
2009-09-08
7201
3876한글 오류 [1]
윤영기
2009-09-08
7874
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.018초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다