-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHANA and git.txt
60 lines (44 loc) · 1.38 KB
/
HANA and git.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Privilege:
=========
sudo su - - go into root view, then pwd
id i335364 - look up the privilege
du -hcs /home/* - look the used space of * in /home directory
df -hk /data -
Git
===
fetch: - remote version to local
git config --global user.name "Yves Zhang" - tell other your identify
git config --global user.email [email protected]
git config --global color.ui true
git clone ssh://[email protected]:29418/hana newcode - copy resposity from ssh to newcode
git remote add origin [email protected]:yiwen/learngit.git - link current local branch to remote
git push -u origin master - push master to remote branch origin
git status - look the lastest status of changes
git pull - find the newest branch and do auto-merge
Login:
=====
z01adm
sybase123
hdbsql -i 04 -u SYSTEM -p Sybase123
debug Server:
==========
z04adm
sybase123
hdbsql -i 02 -u SYSTEM -p Sybase123
/usr/bin/gdb
unset PYTHONHOME
System info:
===========
hdbcons
dvol info
ut list
table m -c Ox...(container ID)
HANA:
=====
Create table T3 with page loadable columns C3, C4, and C5.
CREATE COLUMN TABLE T3 (C1 INT PRIMARY KEY, C2 DATE, C3 VARCHAR(80) PAGE LOADABLE NOT NULL, C4 VARCHAR(5000) PAGE
INSERT INTO T3 VALUES (1)
LOAD T3 ALL
CREATE COLUMN TABLE A (A INT, B INT);
INSERT INTO A VALUES(1,2
LOAD A all;