일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- tomcat
- GIT
- Eclipse
- profile
- ssh
- Source
- lsof
- port
- 단축키
- context
- VirtualBox
- IntelliJ
- web.xml
- resource
- plugin
- grep
- find
- JavaScript
- maVen
- xargs
- import
- netsh
- bash
- Quartz
- Windows 10
- Mac
- Windows
- 줄바꿈 문자
- vscode
- 네트워크
- Today
- Total
목록분류 전체보기 (1764)
develog
CAST('COLUMN_NAME' AS SIGNED) CAST('COLUMN_NAME' AS UNSIGNED)
SELECT (@RNUM := @RNUM + 1) AS RNUM , B.* FROM (SELECT @RNUM := 0) A, 'TABLE_NAME' B LIMIT 25 OFFSET 0
http://log4sql.sourceforge.net/ ORACLE oracle.jdbc.driver.OracleDriver core.log.jdbc.driver.OracleDriver MYSQL com.mysql.jdbc.Driver core.log.jdbc.driver.MysqlDriver MSSQL 2000 com.microsoft.jdbc.sqlserver.SQLServerDriver core.log.jdbc.driver.MssqlDriver MSSQL 2005 com.microsoft.sqlserver.jdbc.SQLServerDriver core.log.jdbc.driver.Mssql2005Driver
# 프로시저 만들기DELIMITER $$DROP PROCEDURE IF EXISTS 'dbname'.PR_TEST; CREATE PROCEDURE 'dbname'.PR_TEST() DETERMINISTIC BEGIN SELECT 'AA'; END $$ DELIMITER ;
# 함수 만들기DELIMITER $$DROP FUNCTION IF EXISTS 'dbname'.FN_TEST; CREATE FUNCTION 'dbname'.FN_TEST(STR VARCHAR(20)) RETURNS VARCHAR(20) DETERMINISTIC BEGIN RETURN CONCAT('OK', STR); END$$DELIMITER ; # 함수 사용 SELECT FN_TEST('haha')
프로시저 소스information_schema.ROUTINES SELECT * FROM information_schema.ROUTINES ; SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_TYPE = 'FUNCTION' ; SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_TYPE = 'PROCEDURE' ;