USE [DBName]
SELECT TOP 1 ID,targetLink,addPath,add_type
from dbo.advertisements
where targetDevices=@targetDevices
ORDER BY newid()
No comments:
Post a Comment