Sei sulla pagina 1di 3

2016-10-24 10:57:15 ERROR : ERROR: column "kode_barng" named in key does not e

xist
LINE 5: constraint stockbarang_pk primary key (kode_barng)
^
2016-10-24 10:58:09 ERROR : ERROR: syntax error at or near "{"
LINE 1: create table stokbarang{
^
2016-10-24 10:58:45 ERROR : ERROR: column "kode_barng" named in key does not e
xist
LINE 5: constraint stockbarang_pk primary key (kode_barng)
^
2016-10-24 10:59:01 ERROR : ERROR: syntax error at or near "create"
LINE 8: create table penjualan(
^
2016-10-24 10:59:04 ERROR : ERROR: column "kode_barng" named in key does not e
xist
LINE 5: constraint stokbarang_pk primary key (kode_barng)
^
2016-10-24 10:59:08 ERROR : ERROR: column "kode_barng" named in key does not e
xist
LINE 5: constraint stokbarang_pk primary key (kode_barng)
^
2016-10-24 11:05:58 ERROR : ERROR: syntax error at or near "update_stok"
LINE 4: execute update_stok()
^
2016-10-24 11:06:22 ERROR : ERROR: syntax error at or near "update_stok"
LINE 4: execute update_stok();
^
2016-10-24 11:06:40 ERROR : ERROR: relation "penjualan" does not exist
2016-10-24 11:09:40 ERROR : ERROR: trigger "update_stok" for relation "penjual
an" already exists
2016-10-24 11:09:56 ERROR : ERROR: relation "penjualan" already exists
2016-10-24 11:11:08 ERROR : ERROR: relation "penjualan" already exists
2016-10-24 11:11:10 ERROR : ERROR: relation "penjualan" already exists
2016-10-24 11:11:11 ERROR : ERROR: relation "penjualan" already exists
2016-10-24 11:11:11 ERROR : ERROR: relation "penjualan" already exists
2016-10-24 11:18:21 ERROR : ERROR: record "new" is not assigned yet
DETAIL: The tuple structure of a not-yet-assigned record is indeterminate.
CONTEXT: SQL statement "update stokbarang set jumlah_ketersediaan = jumlah_kete
rsediaan - new.jumlah_jual where kode_barang = new.kode_barang"
PL/pgSQL function update_stok() line 3 at SQL statement
2016-10-24 11:31:22 ERROR : ERROR: trigger "update_stok" for relation "penjual
an1" already exists
2016-11-07 10:57:51 ERROR : ERROR: syntax error at or near ","
LINE 4: new,alamat:=upper(new,alamat);
^
2016-11-07 10:58:03 ERROR : ERROR: syntax error at or near ","
LINE 5: return,new;
^
2016-11-07 11:04:37 ERROR : ERROR: relation "pelanggan" does not exist
2016-11-07 11:11:59 ERROR : ERROR: column "alamat" does not exist
LINE 1: SELECT upper(new,alamat)
^
QUERY: SELECT upper(new,alamat)
CONTEXT: PL/pgSQL function hurufbesar() line 2 at assignment
2016-11-07 11:12:35 ERROR : ERROR: column "alamat" does not exist
LINE 1: SELECT upper(new,alamat)
^
QUERY: SELECT upper(new,alamat)
CONTEXT: PL/pgSQL function hurufbesar() line 2 at assignment

2016-11-07 11:14:14 ERROR : ERROR: function "hurufbesar" already exists with s


ame argument types
2016-11-07 11:15:53 ERROR : ERROR: function "hurufbesar" already exists with s
ame argument types
2016-11-07 11:16:00 ERROR : ERROR: column "alamat" does not exist
LINE 1: SELECT upper(new,alamat)
^
QUERY: SELECT upper(new,alamat)
CONTEXT: PL/pgSQL function hurufbesar() line 2 at assignment
2016-11-20 20:40:56 ERROR : ERROR: function update_values() does not exist
2016-11-20 20:49:56 ERROR : ERROR: syntax error at or near "int"
LINE 1: insert int tb_peminjaman values ('P002','BK003',10);
^
2016-11-20 20:50:08 ERROR : ERROR: record "new" has no field "jumlah_pinjam"
CONTEXT: SQL statement "update tb_buku set jumlah = jumlah - new.jumlah_pinjam
where kd_buku = new.kode_buku"
PL/pgSQL function update_values() line 3 at SQL statement
2016-11-20 20:50:41 ERROR : ERROR: trigger "update_values" for relation "tb_pe
minjaman" already exists
2016-11-20 20:50:49 ERROR : ERROR: record "new" has no field "kode_buku"
CONTEXT: SQL statement "update tb_buku set jumlah = jumlah - new.jum_pinjam whe
re kd_buku = new.kode_buku"
PL/pgSQL function update_values() line 3 at SQL statement
2016-11-28 11:24:08 ERROR : ERROR: relation "tb_peminjaman" does not exist
2016-11-28 11:24:37 ERROR : ERROR: relation "tb_peminjaman" does not exist
LINE 1: select * from tb_peminjaman;
^
2016-11-28 11:24:50 ERROR : ERROR: relation "tb_buku" does not exist
2016-11-28 12:24:52 ERROR : ERROR: relation "tb_pembelian" does not exist
LINE 1: select * from tb_pembelian;
^
2016-11-28 13:37:53 ERROR : ERROR: column "tb_gaji" named in key does not exis
t
LINE 1: ...ji (jabatan varchar(20) not null, gaji_pokok int, constraint...
^
2016-11-28 13:38:18 ERROR : ERROR: syntax error at or near "create"
LINE 3: create table tb_bonus (kd_ph varchar(20), jabatan varchar(20...
^
2016-11-28 13:38:35 ERROR : ERROR: column "tb_gaji" named in key does not exis
t
LINE 1: ...ji (jabatan varchar(20) not null, gaji_pokok int, constraint...
^
2016-11-28 13:40:48 ERROR : ERROR: column "tb_gaji" named in key does not exis
t
LINE 1: ...ji (jabatan varchar(20) not null, gaji_pokok int, constraint...
^
2016-11-28 13:44:30 ERROR : ERROR: syntax error at or near "reference"
LINE 5:
reference tb_bonus(kd_ph) match simple
^
2016-11-28 13:46:11 ERROR : ERROR: syntax error at or near "reference"
LINE 5:
reference tb_bonus(kd_ph) match simple
^
2016-11-28 13:46:25 ERROR : ERROR: syntax error at or near "acttion"
LINE 6:
on update no action on delete no acttion
^
2016-11-28 13:46:38 ERROR : ERROR: relation "tb_bonus" does not exist
2016-11-28 13:51:15 ERROR : ERROR: relation "tb_bonus" does not exist
2016-11-28 13:51:23 ERROR : ERROR: column "kd_ph" referenced in foreign key co
nstraint does not exist
2016-11-28 14:13:15 ERROR : ERROR: syntax error at or near "return"

LINE 8: return new;


^
2016-11-28 14:21:37 ERROR : ERROR: syntax error at or near "into"
LINE 2: insert into tb_bonus values ('B501','marketing',10000000)
^
2016-11-28 14:28:43 ERROR : ERROR: insert or update on table "tb_gaji" violate
s foreign key constraint "tb_gaji_fk"
DETAIL: Key (jabatan)=(FO) is not present in table "tb_bonus".
2016-11-28 14:32:05 ERROR : ERROR: relation "tb_gaji_fk" does not exist
LINE 1: select*from tb_gaji_fk;
^
2016-11-28 14:32:26 ERROR : ERROR: insert or update on table "tb_gaji" violate
s foreign key constraint "tb_gaji_fk"
DETAIL: Key (jabatan)=(FO) is not present in table "tb_bonus".

Potrebbero piacerti anche