208: Invalid object name
SQL Server의미
쿼리에서 참조한 테이블, 뷰 또는 객체를 찾을 수 없다. SQL Server가 지정한 이름을 해석하지 못했다.
원인
객체 이름 오타, 잘못된 데이터베이스/스키마 컨텍스트(dbo가 아닌 스키마), 객체가 실제로 존재하지 않거나 아직 생성되지 않음, 또는 두 부분 이름(schema.table) 누락.
해결 방법
객체 이름과 스키마를 정확히 기재하고 한정된 이름을 사용한다(예: dbo.Customers). 올바른 데이터베이스에 접속했는지 확인한다(USE). 객체 존재 여부를 확인한다: SELECT * FROM sys.objects WHERE name = 'YourObjectName'. 임시 테이블은 같은 세션 안에서 생성되었는지 확인한다.
같은 데이터베이스의 다른 항목
- 1222Lock request time out period exceeded
- 9002The transaction log for database is full due to ...
- 1105Could not allocate space for object in database because the filegroup is full
- 229The SELECT/EXECUTE permission was denied on the object
- 4060Cannot open database requested by the login. The login failed
- 233A connection was successfully established with the server, but then an error occurred (no process is on the other end of the pipe)
- 823The operating system returned error to SQL Server during a read/write at offset in file (I/O error)