Hi,
I am new SQLServer (2005 version) and have to try and convert the query below. Any pointers?
INSERT INTO tblRackList ( loc, cat, t_stamp, status )
SELECT tblRackList_Temp.loc, tblRackList_Temp.cat, tblRackList_Temp.t_stamp, IIf([tblCatNumber.status] Is Null,"N/A",[tblCatNumber.status]) AS a
FROM tblRackList_Temp LEFT JOIN tblCatNumber ON tblRackList_Temp.cat = tblCatNumber.cat
WHERE (((tblRackList_Temp.cat) Is Not Null) AND ((tblRackList_Temp.status)="PIK"));
Many thanks,
--
SM
I am new SQLServer (2005 version) and have to try and convert the query below. Any pointers?
INSERT INTO tblRackList ( loc, cat, t_stamp, status )
SELECT tblRackList_Temp.loc, tblRackList_Temp.cat, tblRackList_Temp.t_stamp, IIf([tblCatNumber.status] Is Null,"N/A",[tblCatNumber.status]) AS a
FROM tblRackList_Temp LEFT JOIN tblCatNumber ON tblRackList_Temp.cat = tblCatNumber.cat
WHERE (((tblRackList_Temp.cat) Is Not Null) AND ((tblRackList_Temp.status)="PIK"));
Many thanks,
--
SM