본문 바로가기
데이터 베이스/MySQL

데이터 베이스 생성/삭제, CREATE DATABASE, DROP DATABSE

by 코끼리_땃쥐 2024. 4. 24.
반응형
데이터 베이스 생성방법

 

CREATE DATABASE ddatg

-> ddatg라는 데이터베이스를 만듦

CREATE DATABSE (데이터 베이스 이름) 으로 데이터베이스를 만들면 됌

자세한 정보

https://www.w3schools.com/sql/sql_create_db.asp

 

SQL CREATE DATABASE Statement

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

www.w3schools.com

 

데이터 베이스 삭제 방법

 

DROP DATABASE ddatg

-> ddatg라는 데이터 베이스를 삭제함

DROP DATABASE (원하는 데이터 베이스 이름)으로 사용하면됌

자세한 정보

https://www.w3schools.com/sql/sql_drop_db.asp

 

SQL DROP DATABASE Statement

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

www.w3schools.com

 

반응형

'데이터 베이스 > MySQL' 카테고리의 다른 글

AUTO INCREMENT // 자동증가  (0) 2024.06.03
테이블 생성/삭제, CREATE TABLE, DROP TABLE  (1) 2024.05.02

댓글