Arsip: Create Database Programmatically
more 16 years ago
albie
Saya mo nanya nih, gimana cara bikin database firebird lewat program? Saya menggunakan firebird 1.5, Zeos 6.6, delphi 5. Gimana setting databasenya di ZConnection, karena kalau dikosongin kan error, padahal databasenya belum dibikin, baru akan dibikin lewat coding.
Terus gimana cara mendeteksi apakah server firebird udah running atau belum?
Thx a lot para delphier yang terhormat... :)
more 16 years ago
albie
hehe... maap maap...
soalnya project uda kelar, tinggal masalah yang satu ini.. jadi agak kusut....
thx banget ya bantuannya, aq coba liat dulu...
sekali lagi maap maap....
more 16 years ago
ardie_b
Paling gampang pake try ... exception aja
try
firebird := TFirebird.create;
finally
end;
dengan begitu pesan2 error gak muncul lagi
more 16 years ago
zieborg
pake zconnection properties,
var
props : string;
begin
.....
props := 'CreateNewDatabase=CREATE DATABASE...dst..dst...(DDL, create database command)';
ZConnection.Properties.Add(Props);
ZConnection.Connect;
end;
semoga membantu
more 16 years ago
albie
aduh makasiih banget buat @siborg ama @logic, uda kucoba, n berhasil dengan sukses hehehe... hore.... hore.... makasi makasi..... :D :D :D
more 16 years ago
albie
btw, berarti apa kita bisa execute DDL yang lain dengan cara yang sama yah? (dimasukkan ke properties ZConnection) :?:
coba dulu aahh.......
more 16 years ago
DelphiExpert
utk keperluan itu mungkin lebih tepat pake ZScript atau sejenisnya --> adakah?
more ...
- Pages:
- 1
- 2
reply |
Report Obsolete
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 3 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 4 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 11 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 11 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 11 years ago
Random Topic
- File Manager
by de27de in Hal umum tentang Pascal Indonesia more 14 years ago - Connect ke SQL Server dari Client
by unank in MsSQL more 16 years ago - Error TIdSocketHandles
by hak3nd3n in Tip n Trik Pemrograman more 15 years ago - How to make appearance smootly?
by johnizzy in Form Enhancement & Graphical Controls more 15 years ago - Input data di postgres 2
by juandon in Lain-lain more 15 years ago - Firebird wish list
by jrp in FireBird more 17 years ago - event afterprint
by yuan_carlos in Reporting more 15 years ago - Tanya cek Service
by EkoIndri in Tip n Trik Pemrograman more 17 years ago - help:merancang database inventaris yang benar
by her1z_yu2n in MySQL more 15 years ago - Tolong bantu aku buat aplikasi untuk antrian rumah sakit....
by agustinusbobby86 in Enginering more 15 years ago