<?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 : Automatically Running Stored Procedures at SQL Ser</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : Microsoft SQL Server : Automatically Running Stored Procedures at SQL Ser</description>
  <pubDate>Thu, 30 Apr 2026 12:09:09 +0000</pubDate>
  <lastBuildDate>Sat, 26 Mar 2011 14:45:28 +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=2070</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>Automatically Running Stored Procedures at SQL Ser : Automatically Running Stored Procedures...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2070&amp;PID=4535#4535</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 2070<br /><strong>Gönderim Zamanı:</strong> 26.Mart.2011 Saat 14:45<br /><br />Automatically Running Stored Procedures at SQL Server Startup:<DIV>&nbsp;</DIV><DIV>SQL Server Servis'i her başladığında otomatik olarak belirli isimde geçici tablo oluşturmak istiyorsunuz. nasıl yapılabilir?</DIV><DIV>&nbsp;</DIV><DIV>1-geçici tabloları oluşturan bir procedur yapalım</DIV><DIV>2-procedure master'e tanımlanmalı<BR>3-herhangi parametrik değer almamalı<BR><BR>USE &#091;master&#093;<BR></DIV><DIV>CREATE PROCEDURE &#091;dbo&#093;.&#091;baslangic&#093;<BR>AS<BR>BEGIN<BR>&nbsp;CREATE TABLE ##tblMsg1 (<BR>&nbsp;&nbsp;rid int IDENTITY(1,1) NOT NULL,<BR>&nbsp;&nbsp;usrid int,<BR>&nbsp;&nbsp;to_usrid int,<BR>&nbsp;&nbsp;msgval varchar(100),<BR>&nbsp;&nbsp;usrVal varchar(50)<BR>&nbsp;)</DIV><DIV>&nbsp;CREATE TABLE ##tblUsr (<BR>&nbsp;&nbsp;usrid int,<BR>&nbsp;&nbsp;usrVal varchar(50)<BR>&nbsp;)<BR>END</DIV><DIV>&nbsp;</DIV><DIV><strong>--sql server her yeniden başladığında çalışacak procedure tanımlaması</strong></DIV><DIV>exec sp_procoption&nbsp; 'baslangic', 'STARTUP', 'on'</DIV><DIV><BR><strong>--iptal etmek için</strong><BR>exec sp_procoption&nbsp; 'baslangic', 'STARTUP', 'off'</DIV><DIV>&nbsp;</DIV><DIV><strong>---başlangıçta otomatik başlayan procedur leri listelemek için<BR></strong>select name from sys.objects<BR>where type = 'p' and OBJECTPROPERTY(object_id, 'ExecIsStartup') = 1 </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 26 Mar 2011 14:45:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2070&amp;PID=4535#4535</guid>
  </item> 
 </channel>
</rss>