pada umumnya membuat primary key di table dengan satu primary key adalah sebagai berikut
create table kategori (
kategori varchar(15) primary key ) ;
sedangkan jika kita ingin membuat dua buah primary key tidak lah bisa menyertakan tiap-tiap field di beri perintah primary key. ADapun untuk membuat primary key dengan dua field atau lebih dapatlah mengu\ikuti perintah sebagai berikut
create table subkategori (
kategori varchar(15),
subkategori varchar(25),
primary key (kategori, subkategori) ;
demikianlah perintah-perintah yg dapat saya share
Sabtu, 02 Agustus 2008
Sabtu, 08 Maret 2008
open lock user system
if your user system locked on oracle database 10g, then you must do
1. Run Ms-dos
2. inside on direktori
D:/oracle/product/10.0.1/db_1/bin
3. run file sqlplus.exe
4. entry on user-name with '/ as sysdba'
5. then run this query
alter user system account unlock ;
6. if you wan change the password then run this query
alter user system identified by Frans ;
7. you can connected again with username : system and password : Frans
i hope your problem can be fixed with this command
1. Run Ms-dos
2. inside on direktori
D:/oracle/product/10.0.1/db_1/bin
3. run file sqlplus.exe
4. entry on user-name with '/ as sysdba'
5. then run this query
alter user system account unlock ;
6. if you wan change the password then run this query
alter user system identified by Frans ;
7. you can connected again with username : system and password : Frans
i hope your problem can be fixed with this command
Jumat, 15 Februari 2008
Memulai Buat Buku Oracle Developer
hari ini baru bab 2, padahal masih ada 6 bab menunggu tapi target aku sebelum bulan mei buku ini aku harus sudah selesai, doa kan yach teman2
Langganan:
Postingan (Atom)