hello every one
am new in vb.net i have a experience in access query but now i want to switch on sql server 2012 and vb.net
how can i convert this access sql view to sql server query
SELECT Amountdrcr.qty, Amountdrcr.sp, IIf([sp]="sale",[qty],0) AS sqty
FROM Amountdrcr;
sp field data type is char
qty data type is int
thanks advance
abdul jabbar
jabbar366@hotmail.com