You are on page 1of 1

Export to d:\ajual.

xls of wsf select tanggal_resep,nomor_resep,nama_obat,qtyjual_obat from


tbdetiljual where tanggal_resep='03/29/2014'
EXPORT TO D:\JUAL_PLY.XLS OF WSF select
tanggal_resep,nomor_resep,nama_obat,qtyjual_obat,KODE_PELAYANAN from tbdetiljual
where tanggal_resep='04/7/2014'
EXPORT TO D:\DARI.XLS OF WSF select
tanggal_resep,nomor_resep,nama_obat,qtyjual_obat,KODE_PELAYANAN from tbdetiljual
where tanggal_resep BETWEEN '04/5/2014' AND '4/08/2014'
EXPORT TO D:\STOK332.IXF OF IXF SELECT * FROM STOKOPNAME WHERE
TGL_OPNAME='7/01/2014'
EXPORT TO D:\STOKMINUS.XLS OF WSF SELECT * FROM STOKOPNAME WHERE
TGL_OPNAME='7/01/2014' AND KQTY_OBAT<
MENIGHILANGKAN NILAI MINUS
UPDATE STOKOPNAME SET KQTY_OBAT=0 WHERE TGL_OPNAME='07/01/2014' AND
KQTY_OBAT<0
085298858988
EXPORT TO D:\TEST.XLS OF WSF select tanggal_resep,nomor_resep,jumlah_netto from
tr08042014 whEre KODE_SHIPKERJA='P'
update tbmasobat set (faktor1,faktor2,faktor3,faktor4)=(1.27,1.27,1.20,1.27) where
kode_obat='1311414241002'
EXPORT TO D:\DROP.XLS OF WSF SELECT
NOMOR_BPBA,NOMOR_DROPING,TGL_DROPING,NAMA_OBAT,QTY_MASUK,HNA_OBAT
FROM TBDETILBPB WHERE TGL_DROPING BETWEEN '05/01/2014' AND '05/05/2014'
update tbrekapbeli set nomor_gudang=5214050047 where nomor_gudang=5214050060
update tbdetilbpb set (kode_obat,qty_bpba)=('2491114241013',6) where
nomor_droping=7414050063 and kode_obat='2491114241013'
AKALI LISTING

UPDATE TBMASOBAT SET (STOCKKON_OBAT,STD_OBAT)=(1,'3') WHERE


KODE_OBAT='89
41222022004'

DELETE FROM TBREKAPBELI WHERE NOMOR_GUDANG=........


DELETE FROM TBDETILBELI WHERE NOMOR_GUDANG=........

You might also like