$1 PROCEDURE [dbo].[FastSell_v2_ResimVerileri]
@lastup_date datetime
 AS
 SELECT
	Record_uid as [guidNo],
	0 as [tempID],
	sto_create_date [create_date],
	sto_create_user [create_user],
	sto_lastup_date [lastup_date],
	sto_lastup_user [lastup_user],
	1 as [rec_no],
	Record_uid as [record_guid],
	[Data]  ,
	sto_lastup_date
 FROM mye_ImageData
 LEFT OUTER JOIN STOKLAR ON sto_Guid=Record_uid
 WHERE 
	TableID=13 AND ImageID=0 AND (sto_lastup_date >= @lastup_date) 