-- SRC_TABLE 을 DST_TABLE 라는 새 테이블을 만들고 내용을 복사한다.
select * into DST_TABLE FROM SRC_TABLE
</code>
일부만 우선 보기
<code sql>
-- 걸리는 10개만 우선 보고 싶을때
select top 10 * from TABLE_NAME
</code>
select 실행 락걸리지 않게
<code>
-- TUser 와 TempUser? 에 같은 아이디를 갖고 있는 사람들의 e-m... ock)으로 락 걸리는 일이 안생기도록 한다.
-- 책의 예제에서 보고 따라 한거라서..
select TUser.userid, TUser.email, TempUser?.id
from TUse
TETIME
)
INSERT INTO TEMP_DATE (ID, INDATE )
SELECT '1', SYSDATE FROM OPENQUERY(ORACLE_LINK,'SELECT SYSDATE FROM DUAL')
SELECT * FROM TEMP_DATE
-- 날짜 08 22 2006 의 형식을 2006-08-22 00:00:00 으로 변경하기
SELECT @t_PLAN_STARTDATE = CAST(@Plan_StartDate AS DA
^ PC ^ Mac ^
| Select all | Ctrl-A | Command-A |
| Select to end | Ctrl-Shift-End | Command-Shift-Down |
| Select to line end | Alt-Shit-Right | Command-Shift-Right |
| Select to line start | Alt-Shift-Left | Command-Shift-
and the node next to Configuration Properties and select General. \\ In the right pane, under Project Defa... ion Properties, expand the node next to C/Cpp and select General. \\ Make sure that Debug Information Format is set to Program Database /Zi (not /ZI).
- Select the Code Generation node. \\ Set Enable Minimal R... s to Default.
- Under Configuration Properties, select C/Cpp and then Code Generation. Make sure that Ru
된다.
===== 권한의 종류와 레벨 =====
^ 명령어 ^ 대상 ^ 설명 ^
| SELECT | table,col | 선택만 |
| INSERT | table,col | 추가만 |
... ic123';
</code>
abc에게 필요한 권한 부여
<code sql>
grant select, insert, update, delete, index, alter, create, dr... ks.* from abc;
</code>
===== 웹을 위한 사용자 설정 =====
select, insert, delete, update 네가지면 기본은 충분하다,라고 한다.
<code sql>
grant select, insert, delete, update on SomeDB.* to {id} ident
dio
rectangle Button
rectangle Checkbox
rectangle Select
Window -- Location
Window -- Document
Window -- ... -- Radio
Form -- Button
Form -- Checkbox
Form -- Select
@enduml
</uml>
++++ plantuml.com 에서 작성한 문서 코드 |
... dio
rectangle Button
rectangle Checkbox
rectangle Select
Window -- Location
Window -- Document
Window -- ... -- Radio
Form -- Button
Form -- Checkbox
Form -- Select
@enduml
</code>
[[http://www.plantuml.com/plantum
de>
=====쿼리=====
<code javascript>
_conn.query('SELECT 1 + 1 AS solution', function (error, results, fie... query()''를 쓸 수 있다.
<code javascript>
pool.query('SELECT 1 + 1 AS solution', function (error, results, fie... hrow err; // 연결실패
// 연결 사용
connection.query('SELECT something FROM sometable', function (error, resul
특정 한개의 정점을 선택한다. \\ {{:tool:blender:blender-edit-select-vertext-1.jpg}}
* B : 사각 선택 영역을 만들고 그 안쪽에 있는 정점을 선택한다. \\ {{:tool:blender:blender-edit-select-vertext-2.jpg}}
* C : 큰 원형 커서상태로 바뀌는데, 이 커서 안쪽의 정점을 계속 추가해간다. \\ {{:tool:blender:blender-edit-select-vertext-3.jpg}}
* Ctrl + 마우스 왼쪽 드래깅 : 임의의 영역을 마
서와 동일 해야함
* 파라미터가 들어가는 곳에는 "?"를 사용.
<code sql>
SELECT * FROM Customers WHERE CustomerID = ?
</code>
==... 블럭으로 실패 하는 경우 잡아낼 것
_cmd.CommandText = @"select * from SomeTable";
OleDbDataReader reader = _cmd
경험 부족으로 다른 경우는 잘 모르겠지만.
| {{:regexp:regexp-group-select-1.png|}} | {{:regexp:regexp-group-select-2.png|}} |
간단한 예
<code>
| toggle breakpoint f9
| ::: |</c