Notes
![]() ![]() Notes - notes.io |
(
@Fiyat money
)as
select * from Urunler where BirimFiyati > @Fiyat
exec UrunGetir2 20
exec UrunGetir2 90
--Output ile değer döndürme içeriden değer veriyor biz göndermiyoruz
--Create Proc SP_Ornek3
--(
-- @Id int,
-- @Adi nvarchar(max) Output,
-- @Soyadi nvarchar(max) output
--)as
--select @adi =Adi,@soyadi=soyadi from Personeller where PersonelID = @Id
declare @adi nvarchar(max),@soyadi nvarchar(max)
exec SP_Ornek3 3,@adi output,@soyadi output
select @adi,@soyadi
--Dışarıdan aldığı isim,soyisim ve şehir bilgilerini personeller tablosunda ilgili kolonlara ekleyen SP yazın.
declare @isim nvarchar(max),@soyisim nvarchar(max),@sehir nvarchar(max)
Create Proc KisiEkle
(
@Isim nvarchar(max),
@Soyisim nvarchar(max),
@Sehir nvarchar(max)
)as
insert into Personeller (Adi,Soyadi,Sehir) values (@Isim,@soyisim,@sehir)
exec KisiEkle Duygu,Durak,İstanbul
select * from Personeller
--Parametrelere varsayılan değer
Create Proc KisiEkle2
(
@Isim nvarchar(max)='Belirtilmedi',
@Soyisim nvarchar(max)='Belirtilmedi',
@Sehir nvarchar(max)='Belirtilmedi'
)as
insert into Personeller (Adi,Soyadi,Sehir) values (@Isim,@soyisim,@sehir)
exec KisiEkle2 Duyguuuuu
select * from Personeller
--SP içerisinde Nesne oluşturma
Create Proc SP_TabloOlustur3
(
@TabloAdi nvarchar(max),
@Kolon1Adi nvarchar(max),
@Kolon1Ozellikleri nvarchar(max),
@Kolon2Adi nvarchar(max),
@Kolon2Ozellikleri nvarchar(max)
)as
exec
(
'Create' + @TabloAdi +'
(
' + @Kolon1Adi + ' ' + @Kolon1Ozellikleri + ',' + @Kolon2Adi + ' ' + @Kolon2Ozellikleri + '
)
'
)
exec SP_TabloOlustur2 tabloornegi,KolonId,id,sayisal
Exec SP_TabloOlustur3 'OrnekTablo4','KolonId','int primary key identity(1,1)','Kolon2','nvarchar(max)'
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team