Teshi's think log
  • Home
  • who am i
Sign in Subscribe

방안

django & mssql 조회시 ID 관련 오류

[42S22] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]열 이름 'id'이(가) 잘못되었습니다. (207) (SQLExecDirectW) 모델 작성을 완료하고 django admin에 모델을 추가하고 조회를 하자 위와 같은 에러가 발생하였다. 참고로 모델 작성은 ~ python3 manage.py inspectdb --database [database_name] 위의 명령어로 모델을 작성하였다. 다행히도 접속 문제거나
Wonchul Kang 04 5월 2021

Django & mssql "collation" 에러

Django와 mssql를 같이 사용해야 할 일이 생겼다. DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } 'mssql': { 'ENGINE' : 'sql_server.pyodbc', 'NAME' : '', 'USER' : ''
Wonchul Kang 04 5월 2021

Subscribe to Teshi's think log

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Teshi's think log © 2026. Powered by Ghost