전체
-
오라클 계정SQL(Oracle) 2023. 11. 30. 18:21
오라클에서 계정이란? ★오라클 서버에 접속하는 사용자를 말한다. 오라클 계정으로 로그인이 성공하려면 비밀번호도 입력해야한다. 계정마다 [권한]을 다르게 줄 수 있다. 계정의 권한 부여는 데이터베이스 관리자가 주는거다 계정과 아이디의 차이점 사용자에 따라 [권한]이 다르다면 [계정] 사용자에 따라 [권한]이 같다면 [아이디] ★오라클은 다수의 클라이언트에게 동시에 정보를 제공하는 서버이므로 서버의 특징인 계정과 암호를 가지고있다. 오라클에서 계정종류 sys 오라클 설치 시 기본적으로 만들어지는 계정. 모든 것을 할 수 있다. 최종 관리자 계정이고 비밀번호 노출 시 모든 데이터를 날릴 수 있음. system 오라클 설치 시 기본적으로 만들어지는 계정. [데이터베이스]라는 객체 생성 권한이 없다. 최종 관리자..
-
변수(variable)JAVA 2023. 11. 30. 17:45
데이터를 저장하기위 위해 프로그램에 의해 할당받은 [(데이터를 넣는)메모리 공간]을 말한다. 이 [메모리 공간]에 개발자가 코딩으로 이름을 주는데 이것을 [변수명]이라고 한다. 코딩상에서 [변수명]에 데이터를 입력하면 [메모리공간]에 데이터가 저장된다 ex) var xxx = 10; 💡여기서 xxx가 변수다 변수 사용목적 데이터를 [초기저장=초기화] [갱신] [복사해 꺼내기] 위해 사용된다 [갱신] [복사해 꺼내기] 는 반복이 가능하다 변수명 제작 규칙 영대소문, 숫자, _, $를 조합하여 만든다. 첫 글자는 반드시 영대소문 또는 _, $ 로 만 시작해야한다. 숫자로 시작할수 없다. 중간에 공백이 있으면 안 된다. JAVA 문법 상의 키워드(key word=예약어)는 사용할 수 없다. 변수명의 길이 제한..
-
자바의 자료형 (참조형)JAVA 2023. 11. 30. 17:27
참조형이란? 기본형이 아닌 나머지 자료형을 얘기하며 메모리에 주소를 넣어서 조직화된 객체에 접근하여 멤버변수와 메소드를 호출하게끔 만든 객체의 메모리 주소값이다. 참조형의 주된 역할은 멤버변수와 메소드의 호출이다. 멤버변수(=member variable) 동료 멤버변수 또는 동료 메소드가 공유해 사용하고 싶은 데이터가 저장됨 메소드(=method) 개발자가 원하는 기능의 실행구문이 들어있음 언제든 호출가능 생성자(=constructor) 클래스가 메모리공간으로 올라가 객체가 된 후 처음으로 단 한번 호출되는 실행구문을 내포한 구성요소 호출방법 객체의 메모리 주소값.메소드(~) 객체의 메모리 주소값.멤버변수
-
SQL/오라클SQL(Oracle) 2023. 11. 23. 18:18
데이터베이스란? (Database) 검색이 용이하도록 일정한 기준에 맞추어 자료를 분류하여 정리해 놓은 자료의 집합을 말한다. RDBMS? (Relation Database Management System) 데이터가 열과 행으로 이루어진 테이블에 저장되며, 테이블들 사이에 관계를 설정하여 관리하는 SW 또는 시스템을 말한다. RDBMS에서 객체는 테이블,뷰,트리거,인덱스,프로시저,시퀀스 등을 말한다 RDBMS 제품의 종류 ORACLE사의 Oracle 대기업, 공기업 프로젝트에 지배적으로 사용됨. 라이센스 비용이 증가하는 추세 MS 사의 MSSQL 대기업용 Sun Microsystems 사의 MYSQL 중소기업용 Sybase,DB2 등 SQL? (Structured Query Language) 👉 RDBM..
-
자바의 자료형 (기본형)JAVA 2023. 11. 22. 20:38
기본형 ? 프로그램개발시 제일 많이 사용하는 기본적인 데이터 유형을 말하며 8가지가 있음. 정수형 자료형명 데이터 범위 메모리사용량 주의 사항 byte -128 ~ 127 1byte(=8bit) short -32,768 ~ 32,767 2byte(=16bit) int -2147483648 ~ 2147483647 4byte(=32bit) ★ long -2E63 ~ 2E63-1 8byte(=64bit) 정수 뒤에 L 을 붙인다 정수형에서는 8진수나 16진수도 저장이가능하다. 8진수는 데이터앞에 0을 붙이고 16진수는 데이터앞에 0x를 붙인다. 실수형 자료형명 데이터 범위 메모리사용량 주의 사항 float -1.4E-45 ~ 3.4028235E+38 4 byte(=32bit) 실수 뒤에 F 를 붙인다 doub..