﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server’da Rastgele Şifre Oluşturan Prosedür &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-serverda-rastgele-sifre-olusturan-prosedur/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Tue, 01 Feb 2022 18:17:33 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>SQL Server’da Rastgele Şifre Oluşturan Prosedür</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-rastgele-sifre-olusturan-prosedur</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Thu, 31 Oct 2019 11:57:29 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Rastgele Şifre Oluşturan Prosedür]]></category>
		<category><![CDATA[SQL Server’da Rastgele Şifre Oluşturan Prosedür]]></category>
		<category><![CDATA[sql'de Rastgele Şifre Oluşturan Prosedür]]></category>
		<guid isPermaLink="false">http://sqlserveregitimleri.com/?p=7967</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server’da rastgele şifre oluşturan prosedür hakkında bilgi vereceğim. SQL Server&#8217;da bazı durumlarda rastgele şifre oluşturmak isteyebiliriz. Aşağıdaki prosedürde basamak sayısını...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server’da rastgele şifre oluşturan prosedür hakkında bilgi vereceğim.</p>
<p>SQL Server&#8217;da bazı durumlarda rastgele şifre oluşturmak isteyebiliriz.</p>
<p>Aşağıdaki prosedürde basamak sayısını da belirleyerek şifre oluşturma işlemini gerçekleştirebilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">CREATE PROC RastgeleParolaOlustur @SifreUzunlugu INT
AS
BEGIN
    DECLARE @char CHAR = '';
    DECLARE @charI INT = 0;
    DECLARE @OlusanSayi VARCHAR(100) = '';
    WHILE @SifreUzunlugu &gt; 0
    BEGIN
        SET @charI = ROUND(RAND() * 100, 0);
        SET @char = CHAR(@charI);
        IF @charI &gt; 48
           AND @charI &lt; 122
        BEGIN
            SET @OlusanSayi += @char;
            SET @SifreUzunlugu = @SifreUzunlugu - 1;
        END;
    END;
    SELECT @OlusanSayi [Şifre];
END;

--Prosedürün kullanımı 

EXEC dbo.RastgeleParolaOlustur @SifreUzunlugu = 32; -- int</code></pre>
<p>Prosedürü oluşturup çalıştırdığınızda aşağıdaki gibi bir sonuç alacaksınız.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-7969 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2019/10/sql-serverda-rastgele-sifre-olusturan-prosedur-1.jpg" alt="SQL Server’da Rastgele Şifre Oluşturan Prosedür" width="700" height="418" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2019/10/sql-serverda-rastgele-sifre-olusturan-prosedur-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2019/10/sql-serverda-rastgele-sifre-olusturan-prosedur-1-315x188.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2019/10/sql-serverda-rastgele-sifre-olusturan-prosedur-1-502x300.jpg 502w, https://sqlserveregitimleri.com/wp-content/uploads/2019/10/sql-serverda-rastgele-sifre-olusturan-prosedur-1-226x135.jpg 226w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere 32 haneli şifre oluşturulmuş oldu. Siz rakamı kendinize göre belirleyebilirsiniz.</p>
<p>Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 530</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
