SELECT Gledger.*,
CAST('' AS DECIMAL(5,0)) as sno ,
00000000000000.00 AS BALANCE ,
SPACE(5) AS DC ,
ISNULL(master.ma_AcName,'') as ma_AcName,
master.PK_ID
FROM Gledger LEFT JOIN master ON
Gledger.Gl_AcId = master.pk_id
WHERE gledger.Gl_AcId = <>
and Gledger.Gl_Date between '<>' and '<>'
and LEFT(Gledger.gl_voucher,2) <>
and <>
ORDER BY gledger.gl_date
this is my query please help and give me optimal solution.
Aseem BhardwajPosted Sep 30, 2016, 8:44 AM
Bikesh SrivastavaPosted Sep 30, 2016, 8:30 AM
Midhun TpPosted Sep 30, 2016, 7:13 AM
Aseem BhardwajPosted Sep 30, 2016, 7:06 AM
Pradeep ShetPosted Sep 30, 2016, 5:56 AM
Midhun TpPosted Sep 30, 2016, 5:18 AM