๋ฐ์ํ
ms-sql๋ก ์ง ์ฟผ๋ฆฌ์ ๋๋ค.
//ํ๋ก์ ํธ ํต์ผ๋ก ์ฌ๋ ค๋ ๊นํ๋ธ ์ฃผ์์ ๋๋ค.
๋ค๋ฅธ ๋ด์ฉ์ด ๊ถ๊ธํ์๋ค๋ฉด ํ์ธ ํด ์ฃผ์ธ์.
github.com/Joowon0220/weather.git
CREATE TABLE WEATHER_API(
INSERT_TIME DATETIME NOT NULL PRIMARY KEY,
BASE_DATE CHAR(8) NOT NULL,
BASE_TIME CHAR(4) NOT NULL,
T3H CHAR(8),
REH CHAR(8)
);
CREATE TABLE VILLAGE_WEATHER(
INSERT_TIME DATETIME NOT NULL PRIMARY KEY,
BASE_DATE CHAR(8) NOT NULL,
BASE_TIME CHAR(4) NOT NULL,
T3H CHAR(8),
REH CHAR(8)
);
INSERT INTO village_weather VALUES(getDate(),'20020111','2300','00','20');
SELECT * FROM VILLAGE_WEATHER;
๋ฐ์ํ
๋๊ธ