<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : Zeos VeriTabanı işlemler</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : Borland Delphi : Zeos VeriTabanı işlemler</description>
  <pubDate>Sat, 18 Apr 2026 21:48:11 +0000</pubDate>
  <lastBuildDate>Tue, 11 Nov 2008 16:25:43 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=1580</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>Zeos VeriTabanı işlemler : ZEOS kullanarak yap&#305;lan kullan&#305;c&#305;...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1580&amp;PID=3371#3371</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1580<br /><strong>Gönderim Zamanı:</strong> 11.Kasim.2008 Saat 16:25<br /><br /><P>ZEOS kullanarak yapılan kullanıcı tanımlama, kullanıcının hangi DB yi kullanacağını tanımlama ve SQL dosyasında hazır olan script in seçilen DB ye aktarılması.<BR></P><P><strong>procedure TForm1.Button1Click(Sender: TObject);<BR>begin<BR></strong>&nbsp; ZConnection1.Connect;</P><P>&nbsp; <strong>with</strong> ZQuery1 <strong>do</strong><BR>&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Clear;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('CREATE DATABASE bsbuzlu');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExecSQL;<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp; memo1.Lines.Add('Bağlantı Kuruldu. Veritabanı açıldı.');<BR>&nbsp; <strong>with</strong> ZQuery1 <strong>do</strong><BR>&nbsp;&nbsp;&nbsp; <strong>begin</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Clear;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('USE mysql;');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExecSQL;<BR>&nbsp;&nbsp;&nbsp; <strong>end;</strong><BR>&nbsp; <strong>with </strong>ZQuery1 <strong>do</strong><BR>&nbsp;&nbsp;&nbsp; <strong>begin</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Clear;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('INSERT INTO user (Host,User,Password)');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('VALUES (''%'',''deneme'',PASSWORD(''123''))');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExecSQL;<BR>&nbsp;&nbsp;&nbsp; <strong>end;<BR></strong>&nbsp; memo1.Lines.Add('Kullanıcı Eklendi');<BR>&nbsp; <strong>with</strong> ZQuery1 <strong>do<BR></strong>&nbsp;&nbsp;&nbsp;<strong> begin</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Clear;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('INSERT INTO db (Host,Db,User,Select_priv,Insert_priv,');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('Update_priv,Delete_priv,Create_priv,Drop_priv,Lock_tables_priv)');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('VALUES (''%'',''bsbuzlu'',''deneme'',''Y'',''Y'',''Y'',''Y'',''Y'',''Y'',''Y'')');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExecSQL;<BR>&nbsp;&nbsp;&nbsp; <strong>end;<BR></strong>&nbsp; memo1.Lines.Add('Kullanıcının veritabanı belirlendi.');<BR>&nbsp; <strong>with</strong> ZQuery1 do<BR>&nbsp;&nbsp;&nbsp; <strong>begin</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Clear;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('FLUSH PRIVILEGES');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExecSQL;<BR>&nbsp;&nbsp;&nbsp; <strong>end;<BR></strong>&nbsp; <strong>with </strong>ZQuery1 <strong>do<BR></strong>&nbsp;&nbsp;&nbsp; <strong>begin</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Clear;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL.Add('USE bsbuzlu;');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExecSQL;<BR>&nbsp;&nbsp;&nbsp; <strong>end;<BR></strong>&nbsp; ZSQLProcessor1.LoadFromFile(ExtractFilePath(Application.ExeName) + 'createClient.sql');<BR>&nbsp; ZSQLProcessor1.Execute;<BR>&nbsp; memo1.Lines.Add('Veritabanına Tablolar Eklendi.');<BR><strong>end;</P><DIV></DIV>Not : Alıntıdır <DIV></DIV>İyi Çalışmalar..</strong>]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 16:25:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1580&amp;PID=3371#3371</guid>
  </item> 
 </channel>
</rss>