Sql Server Gelişmiş Fonksiyonlar
Bu yazımızda Gelişmiş SQL Server Fonksiyonlarından biri olan IIF fonksiyonundan bahsedeceğiz.
Sql Server Gelişmiş Fonksiyonlar
Bu yazımızda Gelişmiş SQL Server Fonksiyonlarından biri olan IIF fonksiyonundan bahsedeceğiz.
IIF
Belirlediğimiz koşula göre; koşulumuz Evet ise Doğru, Hayır ise Yanlış değerini döndürmektedir.
Select IIF(1<2, '1 2 den küçüktür.', '1 2 den büyüktür.')
Output:
1 2 den küçüktür.
Bir başka örneğimiz;

메타데이터
- post_id
- c8aea33a154d
- slug
- sql-server-gelişmiş-fonksiyonlar-c8aea33a154d
- url
- https://medium.com/@ferd4ozturk/sql-server-geli%C5%9Fmi%C5%9F-fonksiyonlar-c8aea33a154d
- canonical_url
- https://medium.com/@ferd4ozturk/sql-server-geli%C5%9Fmi%C5%9F-fonksiyonlar-c8aea33a154d
- author_url
- https://medium.com/@ferd4ozturk
- status
- ok
- fetched_at
- 2026-07-26 08:49:52