Skip to content

Instantly share code, notes, and snippets.

View emrahguclu's full-sized avatar

Emrah Guclu emrahguclu

View GitHub Profile
@emrahguclu
emrahguclu / searchinstoredprocedures.sql
Created August 30, 2022 11:32
Stored Procedure'ler içinde arama yapma
DECLARE @aramasozcugu nvarchar(max) = 'KPI'
SELECT
name,
create_date,
modify_date
FROM
sys.procedures
WHERE
Object_definition(object_id) LIKE CONCAT('%',@aramasozcugu,'%')
@emrahguclu
emrahguclu / logobordroplusfirmalistesi.sql
Created March 23, 2022 12:46
LOGO BORDRO PLUS FİRMA LİSTESİ
SELECT
LD.LOGICALREF as ID,
LD.FIRMNR as FIRMNR,
LF.NAME as UNVAN,
LD.SECURNR as SICILNO
FROM
L_CAPIFIRM as LF
INNER JOIN L_CAPIDIV as LD
ON LF.NR=LD.FIRMNR
ORDER BY LF.NAME
@emrahguclu
emrahguclu / logobordroplusaylikliste.sql
Created March 23, 2022 12:37
LOGO BORDRO PLUS - AYLIK LİSTE
SET DATEFORMAT dmy;
DECLARE @FIRMNR int = 1 //firma numaraları L_CAPIFIRM tablosunda mevcut
DECLARE @YIL int = 2022
DECLARE @AY int = 1
SELECT
LPER.TTFNO,
NAME,
SURNAME,